Pittsburgh Supercomputing Center 

Advancing the state-of-the-art in high-performance computing,
communications and data analytics.

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

  1. Prepare a batch job to do the following:
    1. Set up the module command
    2. 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
    3. Compile your source code
      ifort source.f90 -I${INCLUDE_PATH}  -L${LD_LIBRARY_PATH} \ 
         -lnetcdf -lmpi         # intel compiler
  2. Submit the job with the qsub command.

Stay Connected

Stay Connected with PSC!

facebook 32 twitter 32 google-Plus-icon