#%Module1.0#####################################################################

proc ModulesHelp { } {

puts stderr " "
puts stderr "This module loads the netcdf-cxx library built with the intel compiler"
puts stderr "toolchain and the openmpi5 MPI stack."
puts stderr "\nVersion 4.3.1\n"

}
module-whatis "Name: netcdf-cxx built with intel compiler and openmpi5 MPI"
module-whatis "Version: 4.3.1"
module-whatis "Category: runtime library"
module-whatis "Description: C++ Libraries for the Unidata network Common Data Form"
module-whatis "https://www.unidata.ucar.edu/software/netcdf/"

set     version             4.3.1

depends-on netcdf

prepend-path    PATH                /opt/ohpc/pub/libs/intel/openmpi5/netcdf-cxx/4.3.1/bin
prepend-path    INCLUDE             /opt/ohpc/pub/libs/intel/openmpi5/netcdf-cxx/4.3.1/include
prepend-path    LD_LIBRARY_PATH     /opt/ohpc/pub/libs/intel/openmpi5/netcdf-cxx/4.3.1/lib
prepend-path    PKG_CONFIG_PATH     /opt/ohpc/pub/libs/intel/openmpi5/netcdf-cxx/4.3.1/lib/pkgconfig

setenv          NETCDF_CXX_DIR        /opt/ohpc/pub/libs/intel/openmpi5/netcdf-cxx/4.3.1
setenv          NETCDF_CXX_LIB        /opt/ohpc/pub/libs/intel/openmpi5/netcdf-cxx/4.3.1/lib
setenv          NETCDF_CXX_INC        /opt/ohpc/pub/libs/intel/openmpi5/netcdf-cxx/4.3.1/include
