| 1 |
help( |
| 2 |
[[ |
| 3 |
This module loads the Intel compiler suite. |
| 4 |
]]) |
| 5 |
|
| 6 |
family("compilers") |
| 7 |
|
| 8 |
-- Intel paths |
| 9 |
whatis("(Website________) http://software.intel.com/en-us/intel-compilers") |
| 10 |
local version = "14.0.0" |
| 11 |
local base = "/software6/compilers/intel/composer_xe_2013_sp1" |
| 12 |
|
| 13 |
setenv("CC", pathJoin(base, "bin/icc")) |
| 14 |
setenv("CXX", pathJoin(base, "bin/icpc")) |
| 15 |
setenv("LD", pathJoin(base, "bin/xild")) |
| 16 |
setenv("AR", pathJoin(base, "bin/xiar")) |
| 17 |
setenv("F77", pathJoin(base, "bin/ifort")) |
| 18 |
setenv("FC", pathJoin(base, "bin/ifort")) |
| 19 |
|
| 20 |
-- Licence on bishop |
| 21 |
setenv("INTEL_LICENSE_FILE", "[email protected]") |
| 22 |
|
| 23 |
prepend_path("PATH", pathJoin(base, "bin")) |
| 24 |
prepend_path("MANPATH", pathJoin(base, "man/en_US")) |
| 25 |
prepend_path("LIBRARY_PATH", pathJoin(base, "lib/intel64")) |
| 26 |
prepend_path("LD_LIBRARY_PATH", pathJoin(base, "lib/intel64")) |
| 27 |
|
| 28 |
-- module path |
| 29 |
local mroot = os.getenv("MODULEPATH_ROOT") |
| 30 |
local mdir = pathJoin(mroot,"Compilers","intel14.0") |
| 31 |
prepend_path("MODULEPATH", mdir) |