- 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.
- 4.1.3 (default) and 3.6.3
- NetCDF homepage
- Here are examples of how one can link code with built with GNU compilers against the appropriate netCDF library:
$ module load gcc netcdf/gcc
$ gcc example.c -I$NETCDF_DIR/include -L$NETCDF_DIR/lib -lnetcdf
$ gfortran example.f90 -I$NETCDF_DIR/include -L$NETCDF_DIR/lib -lnetcdf -lnetcdff
- See also