Modules
Eddie makes use of the GNU Modules package to allow for the easy configuration of a user environment. This is especially useful for software such as MPI where the configuration may be quite complex.
To see what modules are available us the following command
$ module available ------------------------/usr/local/Cluster-Config/modulefiles ---------------------------- 3.1.6 hpl/1.0a mpich/ge/gcc/64/1.2.7 acml/gcc/64/2.7.0 infinipath/core/gcc/2.1 mpich/ge/gcc/64/1.2.7p1 cluster-tools/2.0.5 infinipath/core/intel/2.1 mpich/ge/intel/64/1.2.7 ddt/32/1.10 infinipath/ofed/2.1 mpich/ge/intel/64/1.2.7p1 ddt/64/1.10 infinipath/ofed-legacy/1.0 mpich2/gcc/64/1.0.5/smpd default-ethernet installer-tools/2.0.3 mpich2/intel/64/1.0.5/smpd dot intel/cc/9.1.046 netperf/2.4.2 fftw/gcc/64/3.1.2 intel/cce/9.1.046 null fftw/intel/64/3.1.2 intel/fc/9.1.041 openmpi/gcc/64/1.1 fftw2/gcc/64/double/2.1.5 intel/fce/9.1.041 openmpi/gcc/64/1.2.2 fftw2/gcc/64/float/2.1.5 intel/idb/9.1.046 openmpi/intel/64/1.1 fftw2/intel/64/double/2.1.5 intel/idbe/9.1.046 openmpi/intel/64/1.2.2 fftw2/intel/64/float/2.1.5 lam/gcc/64/7.1.2 opt/32/1.2 gotoblas/core/64/1.09 lam/gcc/64/7.1.3 opt/64/1.2 gotoblas/opteron/32/1.09 lam/intel/64/7.1.2 sge/6.0u8 gotoblas/opteron/64/1.09 lam/intel/64/7.1.3 use.own gotoblas/prescott/32/1.09 module-cvs version gotoblas/prescott/64/1.09 module-info gpfs modules
To load a module (say the Intel Fortran Compiler)
$ module load intel/fc/9.1.041
And to see what modules you have available
$ module list Currently Loaded Modulefiles: 1) sge/6.0u8 2) intel/fc/9.1.041
To remove a loaded module (say the previous fortran module)
module remove intel/fc/9.1.041
There are some subtleties to how module deals with less than complete commands. For example, the following two commands are entirely equivalent
$ module available $ module avail
But if one issues the following command
module load intel
Then listing the modules shows
module list Currently Loaded Modulefiles: 1) sge/6.0u8 2) intel/idbe/9.1.046
So we see that the last matching module in the list is chosen.