<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Please see:<div><br></div><div><a href="http://www.ncl.ucar.edu/Support/install_archives/2009/0177.html">http://www.ncl.ucar.edu/Support/install_archives/2009/0177.html</a></div><div><br></div><div>--Mary</div><div><br><div><div>On Mar 20, 2010, at 10:10 PM, brick wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div><div>Hi</div><div>I use icc and ifort to compile ncl. The system is CentOS.</div><div>There is an error when make ncl:</div> <div>icc -ansi -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/local/include -O2 &nbsp; &nbsp; -o ncl Ncl.o io.o NclHLUObj.o scanner.o parser.o MathFuncs.o NclTypedouble.o NclTypefloat.o<span style="white-space: pre; ">                        </span>NclTypeint.o NclTypelogical.o&nbsp;<span style="white-space: pre; ">                        </span>NclTypelong.o NclTypeobj.o<span style="white-space: pre; ">                        </span>NclTypeshort.o NclTypestring.o&nbsp;<span style="white-space: pre; ">                        </span>NclTypebyte.o NclTypechar.o TypeSupport.o&nbsp;<span style="white-space: pre; ">                        </span>NclMultiDValData.o AddFileFormats.o AttSupport.o DataSupport.o<span style="white-space: pre; ">                        </span>FileSupport.o Formats.o GetGrids.o&nbsp;<span style="white-space: pre; ">                        </span>InitData.o Memory.o NclAtt.o NclCCM.o&nbsp;<span style="white-space: pre; ">                        </span>NclCoordVar.o NclData.o NclFile.o NclFileVar.o&nbsp;<span style="white-space: pre; ">                        </span>NclGRIB.o NclHDF.o NclMultiDValnclfileData.o&nbsp;<span style="white-space: pre; ">                        </span>NclNetCdf.o NclOneDValCoordData.o NclType.o&nbsp;<span style="white-space: pre; ">                        </span>NclTypelist.o NclVar.o VarSupport.o&nbsp;<span style="white-space: pre; ">                        </span>ctoiee.o date.o qu2reg3.o rowina3.o scm0.o ncepcode.o &nbsp;NclGRIB2.o &nbsp;AddBuiltIns.o AddHLUObjs.o<span style="white-space: pre; ">                        </span>AddIntrinsics.o Execute.o&nbsp;<span style="white-space: pre; ">                        </span>Machine.o OpsFuncs.o Printtoken.o SrcTree.o&nbsp;<span style="white-space: pre; ">                        </span>Symbol.o Translate.o &nbsp;<span style="white-space: pre; ">                        </span>NclHLUVar.o HLUSupport.o<span style="white-space: pre; ">                        </span>NclMultiDValHLUObjData.o&nbsp;<span style="white-space: pre; ">                        </span>BuiltInSupport.o BuiltInFuncs.o<span style="white-space: pre; ">                        </span>userAddProto.o userAddFuncs.o&nbsp;<span style="white-space: pre; ">                        </span>HLUFunctions.o yywrap.o craybin.o&nbsp;<span style="white-space: pre; ">                        </span>complete.o editline.o sysunix.o ListSupport.o&nbsp;<span style="white-space: pre; ">                        </span>NclList.o NclMultiDVallistData.o fortranio.o &nbsp;-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/mnt/home/xqiu/Program/IntelCompiled/Ncl_ncarg-5.1.1/lib -L/usr/lib -L/usr/lib/X11 -L/mnt/home/xqiu/Program/IntelCompiled/lib -L/opt/intel/Compiler/11.1/064/lib/ia32 -lnetcdf -lhdf5_hl -lhdf5 -lsz &nbsp;-lmfhdf -ldf -ljpeg -lz -lsz &nbsp; &nbsp;-lgrib2c -ljasper -lpng -lz -lpng -lz &nbsp;-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 -lifcore -lm &nbsp;-ldl &nbsp;</div> <div>/mnt/home/xqiu/Program/IntelCompiled/lib/libjasper.a(jas_stream.o): In function `jas_stream_tmpfile':</div><div>jas_stream.c:(.text+0x528): warning: the use of `tmpnam' is dangerous, better use `mkstemp'</div> <div>../../.././ni/src/lib/nfpfort/libnfpfort.a(writematrix.o): In function `writematrixi_':</div><div>writematrix.f:(.text+0x45b): undefined reference to `flush_'</div><div>../../.././ni/src/lib/nfpfort/libnfpfort.a(writematrix.o): In function `writematrixf_':</div> <div>writematrix.f:(.text+0xcbb): undefined reference to `flush_'</div><div>../../.././ni/src/lib/nfpfort/libnfpfort.a(writematrix.o): In function `writematrixd_':</div><div>writematrix.f:(.text+0x151b): undefined reference to `flush_'</div> <div>../../.././ni/src/lib/nfpfort/libnfpfort.a(writematrix.o): In function `writematrixb_':</div><div>writematrix.f:(.text+0x1d52): undefined reference to `flush_'</div><div>../../.././ni/src/lib/nfpfort/libnfpfort.a(writematrix.o): In function `writematrixs_':</div> <div>writematrix.f:(.text+0x2597): undefined reference to `flush_'</div><div>make[3]: *** [ncl] Error 1</div><div>make[3]: Leaving directory `/mnt/home/xqiu/Program/IntelCompiled/Temp/ncl_ncarg-5.1.1/ni/src/ncl'</div> <div><br></div>There is a subroutine named "flush" in&nbsp;writematrix.f. I read the README file.</div><div>But it only provides method for xlf. How about icc ?</div><div>Thanks.</div><div><br></div><div>brick</div></span><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">ncl-install mailing list</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">List instructions, subscriber options, unsubscribe:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a></div> </blockquote></div><br></div></body></html>