[ncl-install] NCL installation errors using Intel compilers

Sooyoul Kim sooyoul.kim at sse.tottori-u.ac.jp
Tue Jun 7 07:09:42 MDT 2011


Dear all

I am a beginner in NCL as well as Linux systems.
The issue is the installation of NCL ver 6.0.0 using Intel compilers version
12.0.2 in CentOS5-64bit.
I builded NCL with JPEG-6c, zlib-1.2.5, Netcdf-4.1.2 without netcdf-4 and
OPeNDAP, and HDF-4.2.5.
My problems are that ncarg was installed but ncl was not installed.

I slightly made a modification on the file of NclDataDefs.h with 'typedef
int compound' to 'typedef int compound_ncl'.
Then I rebuilded NCL and I got errors as follows:

=================
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
ld: warning: libimf.so, needed by
/usr/local/netcdf-4.1.2/intel/lib/libnetcdf.so, not found (try using -rpath
or -rpath-link)
=================

Could you tell me how I solve it?

This is my configuration file.


/*
 *  Description: This file contains all the directives needed to
 *               tell ymake how to build NCARG/NCL on a 64-bit Linux
 *               system using the INTEL compilers.
 *
 *               Copy this file to the LINUX file in this directory
 *               before you start the NCL/NCARG build.
 */
#define HdfDefines  -DLINUX64
#define StdDefines  -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped
#define ByteSwapped
#define Cstatic
#define Cdynamic
#define CppCommand '/usr/bin/cpp -traditional'
#define CCompiler   icc
#define FCompiler   ifort
#define CtoFLibraries
-L/opt/intel/composerxe-2011.2.137/compiler/lib/intel64 -lm -lifcore -ldl
#define CcOptions    -ansi
#define COptimizeFlag    -O3
#define FOptimizeFlag    -O3
#define XToolLibrary    -lXt -lSM -lICE
#define BuildShared    NO
#define XLibrary -lXpm -lX11 -lXext

#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

#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

FC = $(F77)

/*************** Redefine Macros from Rules
********************************/

/*
 * Macro:   MakeDir
 *
 * Description: This rule creates a directory - if a parent dir doesn't
exist
 *      it attempts to create it.
 */
#ifndef MakeDir
#define MakeDir(dir)    @if (test ! -d dir); then ($(MKDIRHIER) dir); fi
#endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20110607/642a0a9a/attachment.html 


More information about the ncl-install mailing list