| 1 |
#%Module |
| 2 |
# Using flavours strategy |
| 3 |
# |
| 4 |
# Expects the following Tcl variables to have been previously set: |
| 5 |
# version: version of gnu compiler collection |
| 6 |
# |
| 7 |
# |
| 8 |
# This is really a placeholder modulefile, does not define anything |
| 9 |
# though we must initial flavours and do a cleanup to properly |
| 10 |
# support switching of modules depending on this module |
| 11 |
|
| 12 |
# Initialise "flavours" |
| 13 |
package require flavours |
| 14 |
flavours init |
| 15 |
|
| 16 |
proc ModulesHelp { } { |
| 17 |
puts stderr " |
| 18 |
This is a dummy modulefile to indicate that you wish to use the |
| 19 |
Intel MPI libraries that shipped with the Intel compiler suite |
| 20 |
you are using. |
| 21 |
|
| 22 |
" |
| 23 |
} |
| 24 |
|
| 25 |
module-whatis "Use intelmpi with intel compiler" |
| 26 |
|
| 27 |
#Even in production, this modulefile would not do anything |
| 28 |
conflict intelmpi |
| 29 |
prereq intel |
| 30 |
|
| 31 |
# Reload any modules with this as a prerequisite |
| 32 |
flavours cleanup |