The netcdf package consists of a C, FORTRAN and C++ part. The FORTRAN and C++ libraries are wrappers to call the C based library.
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 ...