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.
> I'm trying to install the Fortran 90 libraries for NetCDF and have > followed the basic procedure described at the following Web site: > > http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-fortran-install.html > > Everything seems to check, but I do not see that f-90 was installed. Did you run "make install" for the Fortran library? Did it install a libnetcdff.a and other associated library files for shared libraries (assuming you didn't use "--disable-shared" when configuring). These should have been installed in the library directory named in the --prefix= option, or in /usr/local/lib as the default, if you didn't provide --prefix. > Here's the result from ./nc-config --all: Was nf-config installed in the bin subdirectory of the installation point named in the --prefix option to configure? When you run nc-config, you'll have to have that bin directory in your path, because nc-config looks for and uses nf-config to provide information about the Fortran installation. --Russ > This netCDF 4.2.1 has been built with the following features: > > --cc -> gcc > --cflags -> -I/home/ed/local/include -I/home/ed/local/include > --libs -> -L/home/ed/local/lib -lnetcdf > > --has-c++ -> no > --cxx -> > --has-c++4 -> no > --cxx4 -> > > --fc -> > --fflags -> > --flibs -> > --has-f90 -> no > > --has-dap -> no > --has-nc2 -> yes > --has-nc4 -> yes > --has-hdf5 -> yes > --has-hdf4 -> no > --has-pnetcdf-> no > --has-szlib -> > > --prefix -> /home/ed/local > --includedir-> /home/ed/local/include > --version -> netCDF 4.2.1 > > Can you help? > > Thanks, > > John Yearsley > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: CBA-908124 Department: Support netCDF Priority: Normal Status: Closed