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.
Unidata Support <address@hidden> writes: > ------- Forwarded Message > > > The following switches work for to build netCDF 3.6+ on x86 with the g95 > fortran compiler: > > export CC='gcc' > export CXX='g++' > export CPPFLAGS='-DNDEBUG -DpgiFortran' > export CFLAGS='-O -g' > export FC='g95' > export F90='g95' > export FFLAGS='-O -g -fno-second-underscore' > export F90FLAGS='-O -g -fno-second-underscore' > > while the following switches work for me on x86_64: > > export CC='gcc' > export CXX='g++' > export CPPFLAGS='-DNDEBUG -DpgiFortran' > export CFLAGS='-O -fPIC -m64' > export FC='g95' > export F90='g95' > export FFLAGS='-O -g -fno-second-underscore' > export F90FLAGS='-O -g -fno-second-underscore' > > I hope you will add these notes to future versions of the INSTALL > documentation to promote use of the g95 compiler. > > Thanks, > Charlie > -- > Charlie Zender, address@hidden, (949) 824-2987, Department of Earth > System Science, University of California, Irvine CA 92697-3100 > > -- > NOTE: All email exchanges with Unidata User Support are recorded in the > Unidata inquiry tracking system and then made publicly available > through the web. If you do not want to have your interactions made > available in this way, you must let us know in each email you send to us. > > ------- End of Forwarded Message > > Thanks Charlie, I've put those on our web page, and I'll try to bring the netCDF configure script up to speed with them before our next release. Thanks, Ed -- Ed Hartnett -- address@hidden