NetCDF installations at NSC


Directory list:

VersionDescription
4.2 NetCDF version 4.2

Level of support

Tier 2 NSC has only limited experience with this software, but we will try to help as much as possible. We have ran some tests, for example, if the program comes with a test suite, but they may be far from exhaustive. We will try to install and test new versions, as soon as we can.

Please see the page describing our software support categories for more information.
You can also contact support@nsc.liu.se for further information.

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.

How to run

Load the NetCDF module corresponding to the version you want to use, e.g

module load netcdf/4.2-i1214-hdf5-1.8.9

This will add the NetCDF binaries to your search path:

nc-config
nccopy
ncdump
ncgen
ncgen3
ncxx4-config
nc-config

The environment variable $NETCDF_DIR is also set. $NETCDF_DIR points to the base folder containing the netcdf installation (/software/apps/netcdf/VERSION/SUBVERSION/). 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