Changes between Version 4 and Version 5 of cypress/ModuleCommand
- Timestamp:
- 01/04/17 17:30:46 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
cypress/ModuleCommand
v4 v5 81 81 82 82 83 === using $HOME/.modulerc ===83 === Using $HOME/.modulerc === 84 84 This file can be used to load or to define your own environment during each login. An example looks like this: 85 85 86 86 {{{ 87 #%Module 1.088 module load matlab/R2013a87 #%Module 88 module load intel-psxe/2016 89 89 }}} 90 90 91 A .modulerc begins with the magic cookie, '#%Module'. A version number may be placed after this string. The current version is 1.0.91 A .modulerc begins with the magic cookie, '#%Module'. 92 92 93 If you want to set .modulerc to work for both "sphynx" and "ares", it is better to set like: 93 ==== Define your own module ==== 94 Compiling software in a user directory then defining personal environment modules is useful when software one needs are not installed on Cypress, or the installed ones are not of the desired version. 94 95 95 {{{ 96 #%Module1.0 97 if { $HOSTNAME == "sphynx.ccs.tulane.edu" } { 98 module load intel/12.1 99 module load openmpi-intel-ib/1.6 100 module load matlab/R2013a 101 } 102 if { $HOSTNAME == "cypress1" } { 103 module load intel/12.0 104 module load openmpi-intel-ib/1.5 105 } 106 }}} 107 96 108 97 === Next Section === 109 98 [[cypress/using|Job Submissions]]