Difference between revisions of "NetCDF"

From HPC users
Jump to navigationJump to search
Line 3: Line 3:
  module avail netcdf
  module avail netcdf


Within the modules the interfaces, header files and libraries for Fortran, C and C++ are available. The libraries compiled with NetCDF 4 and HDF5 support, but without parallel support.
Within the modules the interfaces, header files and libraries for Fortran, C and C++ are available. The libraries compiled with NetCDF 4 and HDF5 support, but without parallel support.  


The ''intel'' and ''gcc'' versions are compiled with the Intel or the GNU compilers. This distiction is needed for Fortran because the ''.mod'' files are incompatible between ''gfortran' and ''ifort''.
The ''intel'' and ''gcc'' versions are compiled with the Intel or the GNU compilers. This distiction is needed for Fortran because the ''.mod'' files are incompatible between ''gfortran' and ''ifort''.
== Compilation and Linking ==
When loading the module for convinience the environment variables '''NETCDF_DIR''', '''NETCDF_INCDIR''' and '''NETCDF_LIBDIR''' are set to the main, include and library directory of NetCDF.

Revision as of 17:12, 6 February 2015

The NetCDF package is a software and library to write machine independently large data sets. Different versions compiled with different compilers are available. A list is given by typing

module avail netcdf

Within the modules the interfaces, header files and libraries for Fortran, C and C++ are available. The libraries compiled with NetCDF 4 and HDF5 support, but without parallel support.

The intel and gcc versions are compiled with the Intel or the GNU compilers. This distiction is needed for Fortran because the .mod files are incompatible between gfortran' and ifort.

Compilation and Linking

When loading the module for convinience the environment variables NETCDF_DIR, NETCDF_INCDIR and NETCDF_LIBDIR are set to the main, include and library directory of NetCDF.