[ncl-install] could not build NCL

sangeeta maharjan sangeetamaharjan at gmail.com
Wed Feb 5 04:21:57 MST 2014


Hello,

I tried to build CISL NCL as per mentioned in the website but could not.
uname -a
Linux WRF 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux.
gcc version is "gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)" and I have
Centos 6.3 in my machine.

I downloaded ncl_ncarg-6.1.2.Linux_CentOS5.9_i686_nodap_gcc412.tar.gz
as it is most compatible to my machine as per the list. The location
of my NCL binaries are /usr/local/NCL. While executing the command,

 ng4ex gsun01n -clean

NCAR Graphics NCL Example <gsun01n>

This example was set up to display the output to an
X11 window.
  Copying gsun01n.ncl

Running NCL...
ncl: error while loading shared libraries: libbz2.so.1: wrong ELF
class: ELFCLASS64 ncl failed.

Also I found libbz2.so.1 in /lib64. I included this path to LD_LIBRARY
_PATH also but still the error is same as above.

Another important thing is , i couldnot locate libgfortran  in my
machine. I tried to install the "compat-libgfortran" runtime library
as  in the website but it could not happen probably due to slow
internet. Is it possible to install libgfortran using YUM command?

I would appreciate any help regarding it.
Thanks.
Sangeeta Maharjan


More information about the ncl-install mailing list