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.
Stephen, >Date: Wed, 26 Nov 2003 17:44:32 -0800 >From: Stephen Leroy <address@hidden> >Organization: NASA/JPL >To: Steve Emmerson <address@hidden> >Subject: Re: 20031117: Problem with Absoft8.0 on Mac OS The above message contained the following: > OK. I'm still having problems, and I think it has something to do with those > leading underscores on the fortran routines....<br> ... Your "make.log" file shows the following error: Making `test' in directory /Users/ssl/Packages/netcdf-3.5.0/src/fortran + /Applications/Absoft/bin/f90 -c -YEXT_SFX=_ -YCFRL=1 ftest.F ar cru ../libsrc/libnetcdf.a fort-attio.o fort-control.o fort-dim.o fort-genatt.o fort-geninq.o fort-genvar.o fort-lib.o fort-misc.o fort-v2compat.o fort-vario.o fort-var1io.o fort-varaio.o fort-varmio.o fort-varsio.o ranlib ../libsrc/libnetcdf.a /Applications/Absoft/bin/f90 -o ftest -YEXT_SFX=_ -YCFRL=1 ftest.o ../libsrc/libnetcdf.a ld: Undefined symbols: _NCACPY_ _NCADEL_ ... I would like to know the form of the Fortran-callable symbols in the netCDF library. Would you please send me the output from a command like the following: nm -g libnetcdf.a | grep -i ncacpy The "-g" option means "global symbols" and the "-i" option means "ignore case". I would also like to know the effects of the cfortran.h file. Would you please do the following: 1. Go into the "fortran/" subdirectory; 2. Execute the command "make fort-v2compat.i"; 3. Send me the output of a command like the following: grep -i ncacpy fort-v2compat.i The "-i" option means "ignore case". > Thanks for your help. <br> > <br> > Stephen<br> Regards, Steve Emmerson