<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Dear all<br><br>I am a beginner in NCL as well as Linux systems.<br>The issue is the installation of NCL ver 6.0.0 using Intel compilers version 12.0.2 in CentOS5-64bit.<br>
I builded NCL with JPEG-6c, zlib-1.2.5, Netcdf-4.1.2 without netcdf-4 and OPeNDAP, and HDF-4.2.5.<br>My problems are that ncarg was installed but ncl was not installed.<br><br>I slightly made a modification on the file of NclDataDefs.h with 'typedef int compound' to 'typedef int compound_ncl'. <br>
Then I rebuilded NCL and I got errors as follows:<br><br>=================<br>fortranio.o -L../../.././ni/src/lib/nfp -lnfp -L../../.././ni/src/lib/nfpfort -lnfpfort -L../../.././ni/src/lib/hlu -lhlu -L../../.././ncarg2d/src/libncarg -lncarg -L../../.././ncarg2d/src/libncarg_gks -lncarg_gks -L../../.././common/src/libncarg_c -lncarg_c -L../../.././ngmath/src/lib -lngmath -L/home/kim/src/ncl_ncarg-6.0.0/intel/lib -L/usr/lib64 -L/usr/local/zlib-1.2.5/lib -L/opt/intel/composerxe-2011.2.137/bin/sourcechecker/lib/intel64/pinruntime/glibc -L/usr/local/netcdf-4.1.2/intel/lib -L/usr/local/hdf-4.2.5/intel/lib -lnetcdf -lpng -lz -L../../.././external/sphere3.1_dp -lsphere3.1_dp -L../../.././external/fftpack5_dp -lfftpack5_dp -L../../.././external/lapack -llapack_ncl -L../../.././external/blas -lblas_ncl -lXpm -lX11 -lXext -L/opt/intel/composerxe-2011.2.137/compiler/lib/intel64 -lm -lifcore -ldl -lm -ldl <br>
ld: warning: libimf.so, needed by /usr/local/netcdf-4.1.2/intel/lib/libnetcdf.so, not found (try using -rpath or -rpath-link)<br>=================<br><br>Could you tell me how I solve it?<br><br>This is my configuration file.<br>
<br><br>/*<br> * Description: This file contains all the directives needed to<br> * tell ymake how to build NCARG/NCL on a 64-bit Linux<br> * system using the INTEL compilers.<br> * <br> * Copy this file to the LINUX file in this directory<br>
* before you start the NCL/NCARG build.<br> */<br>#define HdfDefines -DLINUX64<br>#define StdDefines -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped<br>#define ByteSwapped<br>#define Cstatic<br>#define Cdynamic<br>
#define CppCommand '/usr/bin/cpp -traditional'<br>#define CCompiler icc<br>#define FCompiler ifort<br>#define CtoFLibraries -L/opt/intel/composerxe-2011.2.137/compiler/lib/intel64 -lm -lifcore -ldl <br>#define CcOptions -ansi<br>
#define COptimizeFlag -O3<br>#define FOptimizeFlag -O3<br>#define XToolLibrary -lXt -lSM -lICE<br>#define BuildShared NO<br>#define XLibrary -lXpm -lX11 -lXext<br><br>#define ArchRecLibSearch -L/usr/lib64 -L/usr/local/zlib-1.2.5/lib -L/usr/local/netcdf-4.1.2/intel/lib -L/usr/local/hdf-4.2.5/intel/lib<br>
<br>#define ArchRecIncSearch -I/usr/X11R6/include -I/usr/local/zlib-1.2.5/include -I/usr/local/netcdf-4.1.2/intel/include -I/usr/local/hdf-4.2.5/intel/include<br><br>FC = $(F77)<br><br>/*************** Redefine Macros from Rules ********************************/<br>
<br>/*<br> * Macro: MakeDir<br> *<br> * Description: This rule creates a directory - if a parent dir doesn't exist<br> * it attempts to create it.<br> */<br>#ifndef MakeDir<br>#define MakeDir(dir) @if (test ! -d dir); then ($(MKDIRHIER) dir); fi<br>
#endif</span>