Debian Codegraph @

doc/example/flavored-modules/modulefiles/hdf5/1.10

raw
1 #%Module
2 set name hdf5
3 set version 1.10
4
5 conflict $name
6
7 # source common definitions
8 source [file dirname $ModulesCurrentModulefile]/../.common
9
10 # available software-specific flavors
11 set flavorlist [availForFlavorModule serial parallel]
12
13 # builds available for following compiler and get selected one
14 set buildcompiler [availForBuildModule compiler intel/17 intel/15 gcc/4.8 gcc/8 pgi/18]
15
16
17 if {[isFlavorEnabled parallel]} {
18 # builds available for following mpi and get selecled one
19 set buildmpi [availForBuildModule mpi openmpi/2.0 intelmpi/17]
20 }
21
22 # compute installation path based on selected toolchain and flavors
23 set prefix [getInstallPrefix]
24
25
26 # set software environment
27 prepend-path PATH $prefix/bin
28 prepend-path LD_LIBRARY_PATH $prefix/lib