This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Roger, >Date: Thu, 4 Sep 2003 17:58:49 +0800 (HKT) >From: "HIU FUNG ROGER Kwok" <address@hidden> >Organization: UCAR/Unidata >To: <address@hidden> >Subject: [Fwd: Current attachments] The above message contained the following: > Please ignore the last attachments sent to you. I am sorry to give you > the wrong ones. The right ones are attached, and consist of three files: > > AtoH - the items to diagnose netcdf installation problem; > > Makefile - the make file for the model I mentioned in last mail; > > make.log - the logbook of Makefile's execution. Here is the successful test of the Fortran-90 interface of the netCDF package: /math/import/application/pgi/4.0/linux86/bin/pgf90 -o nf_test -O -w \ test_get.o test_put.o nf_error.o nf_test.o test_read.o test_write.o \ util.o fortlib.o ../libsrc/libnetcdf.a -lm ./nf_test -c ./nf_test *** Testing nf_strerror ... *** Testing nf_open ... *** Testing nf_close ... Here is the failed attempt to build a program that used the Fortran-90 interface of the netCDF package: /math/import/application/pgi/4.0/linux86/bin/pgf90 -o mcip.exe \ -O2 -tp p7 -pc 32 -Mvect=prefetch -Mnoframe -Mfree -byteswapio \ mcip.o alloc_met.o alloc_ctm.o alloc_x.o bcldprc_ak.o bilin2d.o \ bilin3d.o close_files.o comheader.o collapx.o crs2dot.o cvmgp.o \ cvmgz.o dealloc_met.o dealloc_x.o dealloc_ctm.o dynflds.o \ getgist.o getluse.o getmet.o getpblht.o getsdt.o getversion.o \ graceful_stop.o gridout.o init_met.o init_x.o julian.o layht.o \ locate.o lutrans1.o lutrans2.o lutrans3.o lutrans4.o lutrans5.o \ lutrans6.o m3dry.o mdate2hdate.o met3dsup.o metcro.o metdot.o \ metgrid2ctm.o metvars2ctm.o null_x.o pblpkg.o pblpwr.o pblsup.o \ radmdry.o ratint.o rdmm5.o rdmm5v2.o rdmm5v3.o readnml.o refstate.o \ resistcalc.o setgriddefs.o setupmm5.o setupv2.o setupv3.o \ sfcflux.o sfclayer.o slflux.o solar.o statflds.o transm.o \ vertarys.o verthyd.o vertnhy.o vstamp.o wrgdesc.o const_mod.o \ const_mete_mod.o const_pbl_mod.o coord_mod.o date_pack_mod.o \ date_time_mod.o parms3_mod.o fdesc3_mod.o file_mod.o iodecl3_mod.o \ lradmdat_mod.o groutcom_mod.o mcipparm_mod.o mcoutcom_mod.o \ mdoutcom_mod.o metinfo_mod.o metvars_mod.o vgrd_mod.o xvars_mod.o \ -L/math/staff/ma/maroger/cmaq/lib/ioapi_22/Linux2_x86pg -lioapi \ -L/math/staff/ma/maroger/cmaq/lib/netCDF/Linux -lnetcdf /math/staff/ma/maroger/cmaq/lib/ioapi_22/Linux2_x86pg/libioapi.a(init3.o): In function `init3_': init3.o(.text+0x538): undefined reference to `nf_inq_libvers__' /math/staff/ma/maroger/cmaq/lib/ioapi_22/Linux2_x86pg/libioapi.a(opnfil3.o): In function `opnfil3_': opnfil3.o(.text+0x127): undefined reference to `nf_open__' ... I want to verify the contents of your installed, netCDF library. Please send me the output of the following command: nm -g /math/staff/ma/maroger/cmaq/lib/netCDF/Linux/libnetcdf.a Regards, Steve Emmerson