[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #IIK-866384]: netCDF and netCDF C: "--prefix=<dir>"



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


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.