Hi, > I have been attempting to install netcdf for use in both atmospheric and > land surface modeling. The version of netcdf I am attempting to install is > 4.2. I am using gcc and g95 for the c and FORTRAN compilers. I am able to > configure and make, make check, and make install successfully. > > Perhaps that is not the best word to use, lets say they run without error. > Once installation is complete, I have noticed that the install did not > generate the netcdf.mod file. From reading online, I have determined this > is a file generated with F90 APIs?? I have poured over the configure help > and there isn't a reference to options that would invoke F90 APIs. I have > messed around with setting environment variables and all sorts of flags, > but I haven't stumbled upon either the right combination of or found the > correct flag/setting to force the install to create netcdf.mod. I suspect that you have installed the C libraries using the netcdf-4.2 distribution, but you haven't installed the Fortran libraries from the separate netcdf-fortran-4.2 distribution. Beginning with version 4.2, the APIs for C, Fortran, and C++ are separate distributions: http://www.unidata.ucar.edu/netcdf/release-notes-fortran-4.2.html http://www.unidata.ucar.edu/blogs/news/entry/netcdf_4_2_release Here are instructions for building and installing the Fortran release, after the C library has been installed: 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: XUG-723381 Department: Support netCDF Priority: Normal Status: Closed
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.