| 1 |
#%Module |
| 2 |
set name openmpi |
| 3 |
set version 2.0 |
| 4 |
|
| 5 |
conflict $name |
| 6 |
conflict intelmpi |
| 7 |
|
| 8 |
# source common definitions |
| 9 |
source [file dirname $ModulesCurrentModulefile]/../.common |
| 10 |
|
| 11 |
# builds available for following compiler and mpi |
| 12 |
set buildcompiler [availForBuildModule compiler intel/17 intel/15 gcc/4.8 gcc/8 pgi/18] |
| 13 |
|
| 14 |
# compute installation path based on selected toolchain and flavors |
| 15 |
set prefix [getInstallPrefix] |
| 16 |
|
| 17 |
|
| 18 |
# set software environment |
| 19 |
prepend-path PATH $prefix/bin |
| 20 |
prepend-path MANPATH $prefix/share/man |
| 21 |
prepend-path LD_LIBRARY_PATH $prefix/lib |