[Parvis-users] ParNCL build problems

Aditya Support adityasupport at tropmet.res.in
Tue Nov 25 06:43:07 CST 2014


Hi Jayesh,

Yes i am having permission to execute, you can check the below command examples:
--------------------------------------------------------------------------------------------------------------------
iitmlogin3:/gpfs3/gpfs7/home/ibm/AMIT/PARNCL/PARNCL1/PARNCL/bin $ ls -l parncl
-rwxr-xr-x 1 ibm lsfadmin 71304088 Nov 24 16:10 parncl
iitmlogin3:/gpfs3/gpfs7/home/ibm/AMIT/PARNCL/PARNCL1/PARNCL/bin $ ./parncl
-bash: ./parncl: cannot execute binary file
iitmlogin3:/gpfs3/gpfs7/home/ibm/AMIT/PARNCL/PARNCL1/PARNCL/bin $ id
uid=502(ibm) gid=501(lsfadmin) groups=501(lsfadmin)
iitmlogin3:/gpfs3/gpfs7/home/ibm/AMIT/PARNCL/PARNCL1/PARNCL/bin $
--------------------------------------------------------------------------------------------------------------------

Regards,
Amit

----- Original Message -----
From: "Jayesh Krishna" <jayesh at mcs.anl.gov>
To: "Aditya Support" <adityasupport at tropmet.res.in>
Cc: parvis-users at lists.mcs.anl.gov
Sent: Tuesday, November 25, 2014 6:10:08 PM
Subject: RE: ParNCL build problems

Hi,
 Do you have permissions to execute the binary file? Are you cross compiling your code?
 I would recommend that you contact your system administrator to solve this issue. Please let us know the results.

Regards,
Jayesh 
________________________________________
From: Aditya Support [adityasupport at tropmet.res.in]
Sent: Monday, November 24, 2014 11:04 PM
To: Krishna, Jayesh
Subject: Re: ParNCL build problems

Hi Jayesh,

Thanks for the reply!!!
Please find the below directory listing of /gpfs3/gpfs7/home/ibm/AMIT/PARNCL/PARNCL1/PARNCL/bin. Yes you are correct, parncl binary is created under bin directory. However, while executing the binary I am getting below error:

-----------------------------------------------------------------------------------------------------------------------------------------------------------------
iitmlogin3:/gpfs3/gpfs7/home/ibm/AMIT/PARNCL/PARNCL1/PARNCL/bin $ ls
cgm2ncgm        findg    MakeNcl   ncargfile     ncarvversion    ng4ex   pre2ncgm       ras2ccir601  rasview            wrapit77
ConvertMapData  fontc    med       ncargpath     ncgm2cgm        nhlcc   pre2ncgm.prog  rascat       scrip_check_input  WriteLineFile
ctlib           gcaps    ncargcc   ncargrun      ncgmstat        nhlf77  psblack        rasgetpal    tdpackdemo         WriteNameFile
ctrans          graphc   ncargex   ncargversion  ncl_convert2nc  nhlf90  psplit         rasls        tgks0a             WritePlotcharData
ezmapdemo       ictrans  ncargf77  ncargworld    ncl_filedump    nnalg   pswhite        rassplit     tlocal
fcaps           idt      ncargf90  ncarlogo2ps   ncl_grib2nc     parncl  pwritxnt       rasstat      WRAPIT
iitmlogin3:/gpfs3/gpfs7/home/ibm/AMIT/PARNCL/PARNCL1/PARNCL/bin $ ./parncl
-bash: ./parncl: cannot execute binary file
iitmlogin3:/gpfs3/gpfs7/home/ibm/AMIT/PARNCL/PARNCL1/PARNCL/bin $
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
iitmlogin3:/gpfs3/home/iitmuser1/Bipin/ParNCL/parncl-1-0-0/example $ mpirun -np 2 parncl plot_vort.ncl
/gpfs3/gpfs7/home/ibm/AMIT/PARNCL/PARNCL1/PARNCL/bin/parncl: /gpfs3/gpfs7/home/ibm/AMIT/PARNCL/PARNCL1/PARNCL/bin/parncl: cannot execute binary file
/gpfs3/gpfs7/home/ibm/AMIT/PARNCL/PARNCL1/PARNCL/bin/parncl: /gpfs3/gpfs7/home/ibm/AMIT/PARNCL/PARNCL1/PARNCL/bin/parncl: cannot execute binary file
iitmlogin3:/gpfs3/home/iitmuser1/Bipin/ParNCL/parncl-1-0-0/example $
-----------------------------------------------------------------------------------------------------------------------------------------------------------------

Regards,
Amit

----- Original Message -----
From: "Jayesh Krishna" <jayesh at mcs.anl.gov>
To: "Aditya Support" <adityasupport at tropmet.res.in>
Sent: Monday, November 24, 2014 8:58:36 PM
Subject: RE: ParNCL build problems

Hi,
 From the log it looks like the parncl executable is built and installed correctly in /gpfs3/gpfs7/home/ibm/AMIT/PARNCL/PARNCL1/PARNCL/bin . Can you send us the directory listing of the above directory (ls /gpfs3/gpfs7/home/ibm/AMIT/PARNCL/PARNCL1/PARNCL/bin)?
 Please note that installing ParNCL does not add the bin directory to your PATH (You will need to set your path correctly to use parncl - "export PATH=/gpfs3/gpfs7/home/ibm/AMIT/PARNCL/PARNCL1/PARNCL/bin:$PATH")

Regards,
Jayesh
________________________________________
From: Aditya Support [adityasupport at tropmet.res.in]
Sent: Monday, November 24, 2014 5:06 AM
To: Krishna, Jayesh
Subject: ParNCL build problems

Hi Jayesh,

I am building ParNCL on my RHEL 6.4 box. I referred below to build it from scratch:

Link --> http://trac.mcs.anl.gov/projects/parvis/wiki/BuildingParNCL

I am able to build all dependencies, but still not able to build 'parncl' binary. Please help me to correct this error and also find the attached logs.

Regards,
Amit


More information about the Parvis-users mailing list