Install netCDF

Prerequisites

  • the installed HDF5 library. NetCDF inherits parallelisation for the HDF5 library

General structure

The netcdf package consists of a C, FORTRAN and C++ part. The FORTRAN and C++ libraries are wrappers to call the C based library.

Basic installation procedure

  • define the compiler environment
  • define compiler flags for optimisation
  • define the path to dependency libraries
  • run configure to set up the Makefile. The configure script needs several flags.
  • run make
  • run make checks
  • run make install
  • clean up.

The installation procedure is carried out within a lustre filesystem. This is mandatory for HDF5, since the file system properties are checked during configure. For netCDF it may be not necessary, but not all details of configure are known.

To be continued …