User Tools

Site Tools


support:hpc:software:netcdf

Network Common Data Form

Network Common Data Form also known as NetCDF is available. This is an I/O library which stores and retrieves data in self-describing, machine-independent datasets. The latest version 4.0 and 3.6.3 are both available.

To load version 3.6.3 run:

$ module load io/netcdf-3.6.3

To load version 4.0 run:

$ module load io/netcdf-4.0

Build Notes

We used the following process to build and install netCDF. The process was the same for both version 4.0 and version 3.6.3 (just make the changes to the directories and files).

$ wget ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-3.6.3.tar.gz
$ tar zxf netcdf-3.6.3.tar.gz
$ cd netcdf-3.6.3
$ export CC=pathcc
$ export CFLAGS='-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -g '
$ export CPPFLAGS=-Df2cFortran
$ export CXX=pathCC
$ export FC=pathf90
$ export FFLAGS='-O2 -g '
$ export CXXFLAGS='-O2 -g '
$ ./configure --prefix=/share/apps/netcdf-3.6.3
$ make
$ make check
$ sudo make install
support/hpc/software/netcdf.txt · Last modified: 2008/11/10 16:12 by sbeards