netCDF
netCDF (network Common Data Form) is an interface for array-oriented data access and a library that provides an implementation of the interface. The netCDF library also defines a machine-independent format for representing scientific data. Together, the interface, library, and format support the creation, access, and sharing of scientific data. The netCDF software was developed at the Unidata Program Center in Boulder, Colorado.
Installed on: blacklight.
netCDF usage
netCDF is installed in subdirectories bin, lib, include under /usr/local/packages/netcdf-3.6.2/[icc | gcc] (for intel or gnu versions, respectively)
To use netCDF
- Prepare a batch job to do the following:
- Set up the module command
- Load the netCDF module
module load netcdf # to use the intel compilers module load netcdf/x-gcc # to use the gnu compilers, where x is the current version
- Compile your source code
ifort source.f90 -I${INCLUDE_PATH} -L${LD_LIBRARY_PATH} \ -lnetcdf -lmpi # intel compiler
- Submit the job with the qsub command.