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 James, > Organization: Ocean Acoustical Services and Instrumentation Systems > Package Version: netcdf-fortran-4.2 > Operating System: CentOS > Hardware: Virtual Machine > Description of problem: > > I am trying to install a stand-alone Fortran version of netcdf (4.2). > When I run the configure script, it comes back with an error saying it > can not find netcdf.h. (That looks like a C include file.) The configure > script tells me to set the CPPFLAG. (That looks like a C++ environment). > Is it possible to just install the fortran version? No, netCDF-Fortran depends on the netCDF C library. You have to install the netCDF C library first, and then building the netCDF Fortran library is relatively easy, following these instructions: http://www.unidata.ucar.edu/netcdf/docs/netcdf-fortran-install.html --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: UFW-802554 Department: Support netCDF Priority: Normal Status: Closed