Commit 232e49b5 authored by root's avatar root
Browse files

hdf5 new version

parent e12daccf
#%Module######################################################################
#
# hdf 5 1.10.6 parallel version modulefile 20200224
#
proc ModulesHelp { } {
puts stderr "This modulefile defines the library paths and"
puts stderr "include paths needed to use hdf5 1.10.6 (parallel)"
puts stderr "The program hdf5 https://support.hdfgroup.org/HDF5/"
puts stderr "is added to PATH."
}
set rel [uname release]
global prodlist
set prodlist {openmpi-4.0.1}
set is_module_rm [module-info mode remove]
catch {set modulehomes $env(MODULEPATH)}
if { [ module-info mode load ] } {
foreach prod $prodlist {
foreach mfilehome [ split $modulehomes :] {
if { [file exists $mfilehome/$prod] } {
module load $prod
}
}
}
}
if { [ module-info mode remove ] } {
foreach prod $prodlist {
foreach mfilehome [ split $modulehomes :] {
if { [file exists $mfilehome/$prod] } {
module unload $prod
}
}
}
}
set HDF_LEVEL 5
set HDF_SUBLEVEL 1.10.6
set HDF_CURPATH /share/apps/lib/hdf$HDF_LEVEL/$HDF_SUBLEVEL/
prepend-path PATH $HDF_CURPATH/bin
prepend-path LD_LIBRARY_PATH $HDF_CURPATH/lib
prepend-path MAN_PATH $HDF_CURPATH/share/
append-path PE_PRODUCT_LIST HDF$HDF_LEVEL.$HDF_SUBLEVEL-parallel
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment