Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

User guide: http://www.unidata.ucar.edu/software/netcdf/docs/ http://confluence.rcs.griffith.edu.au:8080/download/attachments/26380275/netcdf.pdf
Installation Guide: http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/ http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Building-on-Unix.html#Building-on-Unix

 

Usage

No Format
module load NetCDF/4.4.1.1-gnu

 

Installation

 

netcdf 4.4.1.1

No Format
module purge
module load library/szip/2.1.1
module load library/zlib/1.2.5
module load library/hdf5/1.8.18-parallel
#module load library/hdf5/1.8.18
#module load library/hdf5/1.8.16-intel
module load gcc/4.9.3

./configure --prefix=/sw/NetCDF/4.4.1.1/4.4.1.1-gnu --enable-netcdf-4 --enable-shared 2>&1 |tee configure_netcdf-gnu.txt
make 2>&1 |tee make_netcdf-gnu.txt
make check 2>&1 |tee make_check_netcdf-gnu.txt
make install 2>&1 |tee make_install_netcdf-gnu.txt

 

netCDF - Version 4.2.1.1

No Format
module purge
module load library/zlib/1.2.5
module load gsl/gsl-1.15
module load library/hdf5/1.8.7
module load ics/2013

export LDFLAGS="-L/sw/library/zlib/1.2.5/lib -L/sw/library/hdf5/1.8.7/lib"
export CPPFLAGS="-Dpgifortran -I/sw/library/zlib/1.2.5/include -I/sw/library/hdf5/1.8.7/include"

./configure --prefix=/sw/NetCDF/4.2.1.1/ 2>&1 |tee configure_netcdf-gnu.txt
Check config.log
make 2>&1 |tee make_netcdf-gnu.txt
make check 2>&1 |tee make_check_netcdf-gnu.txt
make install 2>&1 |tee make_install_netcdf-gnu.txt

netcdf gnu version

Usage:

No Format
 module display NetCDF/4.1.3-gnu 

...

No Format
module purge
module load library/zlib/1.2.5
module load gsl/gsl-1.15
module load library/hdf5/1.8.7

export LDFLAGS="-L/sw/library/zlib/1.2.5/lib -L/sw/library/hdf5/1.8.7/lib"
export CPPFLAGS="-I/sw/library/zlib/1.2.5/include -I/sw/library/hdf5/1.8.7/include"

./configure --prefix=/sw/NetCDF/4.1.3-gnu/ 2>&1 |tee configure_netcdf-gnu.txt
Check config.log
make 2>&1 |tee make_netcdf-gnu.txt
make check 2>&1 |tee make_check_netcdf-gnu.txt
make install 2>&1 |tee make_install_netcdf-gnu.txt

netcdf compiled using intel compilers

prequisites : zlib and HDF5

...