File: 1.10

package info (click to toggle)
modules 4.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 19,932 kB
  • sloc: exp: 35,889; ansic: 10,653; sh: 3,920; makefile: 1,316; tcl: 612; csh: 178; python: 169; perl: 118; ruby: 44
file content (28 lines) | stat: -rw-r--r-- 755 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#%Module
set name hdf5
set version 1.10

conflict $name

# source common definitions
source [file dirname $ModulesCurrentModulefile]/../.common

# available software-specific flavors
set flavorlist [availForFlavorModule serial parallel]

# builds available for following compiler and get selected one
set buildcompiler [availForBuildModule compiler intel/17 intel/15 gcc/4.8 gcc/8 pgi/18]


if {[isFlavorEnabled parallel]} {
    # builds available for following mpi and get selecled one
    set buildmpi [availForBuildModule mpi openmpi/2.0 intelmpi/17]
}

# compute installation path based on selected toolchain and flavors
set prefix [getInstallPrefix]


# set software environment
prepend-path PATH $prefix/bin
prepend-path LD_LIBRARY_PATH $prefix/lib