netCDF is a set of software libraries and self-describing, machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data.
netCDF is available via the module system on Tetralith and Sigma. For more information about available versions, please see the Tetralith and Sigma Software list.
If all you want to do is run the netCDF utilities:
nc-config
nccopy
ncdump
ncgen
ncgen3
ncxx4-config
nc-config
Simply directly load the utils module:
module load netCDF-HDF5-utils/4.9.2-1.12.2-hpc1-intel-2023a-eb
If you are compiling programs that require netcdf or hdf5 libraries, first load an appropriate toolchain (e.g. buildenv-intel/2023a-eb), and then load the corresponding netCDF-HDF5 module (e.g. netCDF-HDF5/4.9.2-1.12.2-hpc1)
module load buildenv-intel/2023a-eb
module load netCDF-HDF5/4.9.2-1.12.2-hpc1-intel-2023a-eb
Loading the netCDF-HDF5 module sets an environment variable ${NETCDF_DIR}. ${NETCDF_DIR} points to the base folder containing the netcdf installation. Sub-folders from ${NETCDF_DIR}:
bin
include
lib
share
You can build applications against the netCDF libraries using the include files in ${NETCDF_DIR}/include and pre-built libraries in ${NETCDF_DIR}/lib. e.g.
icc -I $NETCDF_DIR/include -L $NETCDF_DIR/lib -lnetcdf -lnetcdff
User Area
Guides, documentation and FAQ.
Applying for projects and login accounts.