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.
Mike,
Yes, sorry, your attachments only showed the output from make all and make
check.
Does your Fortran program have the statement
include 'netcdf.inc'
in each program unit that calls a netCDF function?
Does the argument "-I/usr/local/include" appear on the gfortran invocation
before the name of the f90 source file?
If the answer to both of those is yes, than I can't explain why you are getting
Error: can't open included file '/usr/local/include/netcdf.inc'
from the gfortran compiler. Maybe you have a bad gfortran installation?
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: AJQ-779035
Department: Support netCDF
Priority: Normal
Status: Closed