Files
modules/doc/example/flavored-modules/modulefiles/openmpi/2.0
2019-03-16 15:31:35 +01:00

22 lines
541 B
Plaintext

#%Module
set name openmpi
set version 2.0
conflict $name
conflict intelmpi
# source common definitions
source [file dirname $ModulesCurrentModulefile]/../.common
# builds available for following compiler and mpi
set buildcompiler [availForBuildModule compiler intel/17 intel/15 gcc/4.8 gcc/8 pgi/18]
# compute installation path based on selected toolchain and flavors
set prefix [getInstallPrefix]
# set software environment
prepend-path PATH $prefix/bin
prepend-path MANPATH $prefix/share/man
prepend-path LD_LIBRARY_PATH $prefix/lib