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.
Dean, > To: address@hidden > From: "Dean N. Williams" <address@hidden> > Subject: netCDF and Slackware 3.2 > Organization: LLNL > Keywords: 199706271833.MAA15707 In the above message, you wrote: > I've installed netCDF on the PC/Linux Slackware 3.2. > > There are FORTRAN problems when trying to compile netCDF. Slackware > provides g77 FORTRAN compiler. But on the cdrom (or slackware directory) > the user can cd to contrib and find f2c.tar.tgz. I installed f2c on > my system and netCDF works as intended. > > Below is my environment setup: > > setenv CPPFLAGS 'Df2cFortran -DNDEBUG' > setenv CC /usr/bin/cc > setenv CFLAGS -O > setenv FC /usr/bin/f77 > setenv FFLAGS -O > setenv CXX /usr/bin/c++ > > On the other hand g77 works as well: > > setenv CPPFLAGS 'Df2cFortran -DNDEBUG' > setenv CC /usr/bin/cc > setenv CFLAGS -O > setenv FC /usr/bin/g77 > setenv FFLAGS -O > setenv CXX /usr/bin/c++ Thanks! I'll add this to the list in the netCDF Web page for building on "other" systems. Would you please send me the standard output of the command "uname -a" so people will know exactly what system it was. -------- Steve Emmerson <http://www.unidata.ucar.edu>