Modules
=======

The Scientific Computing team provides a number of programs using Modules. The
Modules configuration files and the corresponding software are stored on AFS.

To use Modules it is necessary to create a symlink::

    ln -snf /afs/psi.ch/sys/psi.x86_64.slp6/ /opt/psi

where ``x86_64.slp6`` describes the architecture and OS of the system the
modules should be used on. It is the output of ``fs sysname``. Every session
needs to ``source /opt/psi/config/profile.bash`` as well.

The available modules can be listed by running::

    module avail

Note that the modules are hierarchical, i.e. only the modules that can actually
be loaded are listed. Some modules require that other modules are loaded first,
e.g. a certain version of gcc, and are listed only after that has been done.

Modules are loaded by running::

    module load gcc/4.7.3

