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.
Hi Cathy, When you tried using -I/usr/local/include on the gfortran invocation, did you make sure it appeared before file.nonetopen.f on the command? The order of the options and file names is important to gfortran. If so, have you run "make check" in the nf_test subdirectory of the netCDF source tree when it was built? There are test programs there that use both forms of Fortran include statement, so looking at how they are compiled when you run "make clean check" may reveal the problem. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: BXU-183002 Department: Support netCDF Priority: Normal Status: Closed