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 Max, > I need to install both netCDF and netCDF C: if I configure > both with the same "--prefix=<dir>" (install both in the > same directory), should that be ok? You can install any of the various netCDF language-specific libraries in the same directory. There used to be a combined software package named "netCDF", with netCDF-C, netCDF-Fortran, and netCDF-C++ libraries all combined, but they have been split into separate software distributions since June 2011. The netCDF-Fortran, netcdf4-python, and netCDF-C++ libraries all depend on first installing the netCDF-C library. Java netCDF is independent of netCDF-C unless you want to write netCDF-4 files, in which case it is also dependent on netCDF-C. Follow these instructions for netCDF-C: http://www.unidata.ucar.edu/netcdf/docs/getting_and_building_netcdf.html and then these instructions for netCDF-Fortran: http://www.unidata.ucar.edu/netcdf/docs/building_netcdf_fortran.html There is also a highly experimental way to have netCDF-Fortran built automatically after netCDF-C. If you want to try that, follow the instructions in the netCDF-4.3.3-rc3 release notes: http://www.unidata.ucar.edu/netcdf/docs/RELEASE_NOTES.html --Russ > Best regards, > > Max > --- > Max R. Dechantsreiter > President > Performance Jones L.L.C. > http://www.linkedin.com/in/benchmarking Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: IIK-866384 Department: Support netCDF Priority: Normal Status: Closed