Debian Codegraph @

doc/example/flavored-modules/modulefiles/gromacs/5

raw
1 #%Module
2 set name gromacs
3 set version 5
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 standard plumed]
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 # builds available for following mpi and get selecled one
17 set buildmpi [availForBuildModule mpi openmpi/2.0 intelmpi/17]
18
19 # compute installation path based on selected toolchain and flavors
20 set prefix [getInstallPrefix]
21
22
23 # set software environment
24 append-path PATH $prefix/bin
25 append-path LD_LIBRARY_PATH $prefix/lib64
26 append-path MANPATH $prefix/share/man
27