Modules Let you Access Different Software Packages on Odyssey

 

Your software environment on Odyssey is managed using modules.
This allows us to keep different versions of software that can be used as default by users without causing conflict or confusion.

There is a web page showing the many modules currently available on Odyssey. Or you can use commands on the command line to get more detailed information.

The built-in module search commands are a little bit lacking, so we made our
own — e.g. to search for everything matlab related:

[hptc@iliadaccess03 hptc]$ /n/sw/rc/bin/modulesearch matlab     
hpc/matlab : Set up environment for matlab

hpc/matlab-R2008b : Set up environment for matlab

math/dynare-4.1.2 : Dynare-4.1.2, Dynare is a pre-processor and a collection of MATLAB...

math/matlab-R2009a : Matlab v.R2009a, MATLAB is a high-level language and interactive ...

...


You can list all available modules using the command:

[hptc@iliadaccess03 hptc]$ module avail

--- /odyssey/apps/modules-3.2.6/Modules/modulefiles -------

hpc/GAPipeline-0.3.0 hpc/java-1.6

hpc/IDL-7.0 hpc/mafft hpc/IFrIT-3.2.5

hpc/mathematica ...


You can get module specific help using:

[hptc@iliadaccess03 hptc]$ module help hpc/openmpi

--- Module Specific Help for 'hpc/openmpi' ----

openmpi module

****************************************************

This module sets up the following environment variables for openmpi:

PATH

LD_LIBRARY_PATH

MANPATH Version 3.1.6

****************************************************


You may load a module using:

[hptc@iliadaccess03 hptc]$ module load hpc/openmpi

openmpi module

****************************************************

This module sets up the following environment variables for openmpi:

PATH

LD_LIBRARY_PATH

MANPATH

Version 3.1.6

****************************************************


This sets your default MPI compiler for example:

[hptc@iliadaccess03 hptc]$ which mpicc
/usr/mpi/gcc/openmpi-1.2.5/bin/mpicc


You can list your currently loaded modules:

[hptc@iliadaccess03 hptc]$ module list
Currently Loaded Modulefiles:

1) hpc/gsl-gnu 3) hpc/gnuplot-4.2.3 5) hpc/openmpi

2) hpc/xemacs-21.4.21 4) hpc/gv


And unload a specific module:

[hptc@iliadaccess03 hptc]$ module unload hpc/gv
Unloading gv module.


If you use a particular module very frequently you can automatically load it by putting the line (for eg.):

module load hpc/openmpi


in the file .bashrc in your home directory.

Site last updated April 11, 2014