[ncl-install] NCL 5.1.0 install problems on x86_64 cluster
Mary Haley
haley at ucar.edu
Wed Jun 3 09:52:28 MDT 2009
Hi Mark,
I believe what's happening is that your "icc" compiler needs help
finding some of the fortran libraries.
On our system, "flush_" is in "libifport.a", so you can
try adding "-lifport" to the compile line.
To do this, edit the $NCARG/config/LINUX file, and add "-lifport" to
the end of your "CtoFLibraries" line.
Then, to test quickly, type:
cd $NCARG/ni/src/ncl
make me
make all install
and see if "ncl" builds successfully.
If this is successful, then you can finish your whole build with:
cd $NCARG
make all install >&! some_file &
where "some_file" is whatever output file you want.
--Mary
On Wed, 3 Jun 2009, Mark Van Moer wrote:
> Hi, I'm attempting to build NCL 5.1.0 on an Intel x86_64 cluster using Intel compilers.
>
> Everything is getting built except ncl and MakeNcl. The ncl build gives:
>
> icc -ansi -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -o ncl Ncl.o io.o NclHLUObj.o scanner.o parser.o MathFuncs.o NclTypedouble.o NclTypefloat.o NclTypeint.o NclTypelogical.o NclTypelong.o NclTypeobj.o NclTypeshort.o NclTypestring.o NclTypebyte.o NclTypechar.o TypeSupport.o NclMultiDValData.o AddFileFormats.o AttSupport.o DataSupport.o FileSupport.o Formats.o GetGrids.o InitData.o Memory.o NclAtt.o NclCCM.o NclCoordVar.o NclData.o NclFile.o NclFileVar.o NclGRIB.o NclHDF.o NclMultiDValnclfileData.o NclNetCdf.o NclOneDValCoordData.o NclType.o NclTypelist.o NclVar.o VarSupport.o ctoiee.o date.o qu2reg3.o rowina3.o scm0.o ncepcode.o AddBuiltIns.o AddHLUObjs.o AddIntrinsics.o Execute.o Machine.o OpsFuncs.o Printtoken.o SrcTree.o Symbol.o Translate.o NclHLUVar.o HLUSupport.o NclMultiDValHLUObjData.o BuiltInSupport.o BuiltInFuncs.o userAddProto.o userAddFuncs.o HLUFunctions.o yywrap.o craybin.o complete.o editline.o sysunix.o ListSupport.o NclList.o NclMultiDVallistData.o fort
ra
> nio.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/usr/apps/vis/ncl/ncl_ncarg-5.1.0/lib -L/usr/local/X11R6/lib64 -L/usr/apps/vis/netcdf/netcdf-4.0/lib -L/usr/apps/hdf/hdf4/v424-noncdf/lib -L/usr/apps/hdf/szip/lib -L/usr/apps/hdf/hdf5/v182/lib -lnetcdf -lhdf5_hl -lhdf5 -lsz -lmfhdf -ldf -ljpeg -lz -lsz -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 -lm -lifcore -lm -ldl
>
> ../../.././ni/src/lib/nfpfort/libnfpfort.a(writematrix.o)(.text+0x4d1): In function `writematrixs_':
> : undefined reference to `flush_'
> ../../.././ni/src/lib/nfpfort/libnfpfort.a(writematrix.o)(.text+0xdd5): In function `writematrixb_':
> : undefined reference to `flush_'
> ../../.././ni/src/lib/nfpfort/libnfpfort.a(writematrix.o)(.text+0x16e5): In function `writematrixd_':
> : undefined reference to `flush_'
> ../../.././ni/src/lib/nfpfort/libnfpfort.a(writematrix.o)(.text+0x2009): In function `writematrixf_':
> : undefined reference to `flush_'
> ../../.././ni/src/lib/nfpfort/libnfpfort.a(writematrix.o)(.text+0x292d): In function `writematrixi_':
> : undefined reference to `flush_'
> make[4]: *** [ncl] Error 1
> make[4]: Leaving directory `/usr/apps/vis/ncl/ncl_ncarg-5.1.0/ni/src/ncl'
>
> Has anyone run into this before? Am I missing a link to a library?
> Thanks for any help,
> Mark
>
> --
> Mark Van Moer
> Visualization Programmer
> Advanced Applications Support
> NCSA, University of Illinois
> mvanmoer at ncsa.illinois.edu
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
More information about the ncl-install
mailing list