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.
To build netCDF 3.6.0 with the intel fortran compiler, you need to set three environment variables before running the configure script. To get back to a clean state, go to the netCDF directory and do: make distclean Now set the environment vars and run the configure script again. How to do this depends on which shell you are using (type echo $SHELL to see). Using the bourne shell (sh), I set them like this: sh-3.00$ export CPPFLAGS=-DpgiFortran sh-3.00$ export FC=ifort sh-3.00$ export FFLAGS="-g -O2 -mp -recursive" Then rerun configure and make test. Let me know if this works. Thanks, Ed -- Ed Hartnett -- address@hidden