Skip to main content
Have a request for an upcoming news/science story? Submit a Request

NetCDF and Related Module Changes

  • Announcements

With the migration of the Halstead, Snyder, and Rice clusters to CentOS7, the configuration of the NetCDF related modules has changed. You no longer need to load a module for CDO, NCO, or Ncview when loading netcdf/4.3.2 or netcdf/4.5.0.

You will need to recompile any applications you maintain which use NetCDF or a related package when moving to CentOS7. You should plan to rebuild all applications you maintain once your system is migrated to CentOS7.

Please note the following NetCDF changes for CentOS7:

  • NetCDF 4.3.2 and 4.5.0 are installed. Versions 3.6.3 and 4.1.1 are no longer supported.
  • The default version is now NetCDF 4.5.0. This version corrects a known issue with 4.3.2.
  • All installations have version 4 features enabled. The netcdf4/ module files are the same as the netcdf/ module files.
  • The 4.3.2 and 4.5.0 installations were built using HDF5 1.8.16 for each compiler suite available under CentOS7.
  • CDO, NCO, and Ncview are embedded in the 4.3.2 and 4.5.0 installations.
  • HDF4 is embedded as part of enabling HDF4 support in the NetCDF installations.

The NetCDF module files set a number of environment variables related to the packages used for the deployment such as $NETCDF_HOME and $HDF5_HOME. You can examine the NetCDF module file(s) by loading the module for your compiler suite and then using:

module show netcdf

We realize these changes may be an inconvenience to some, but are necessary to better support NetCDF going forward in CentOS7. If you see a problem migrating to NetCDF 4.5.0, please contact us at rcac-help@purdue.edu.

Originally posted: