Background

Many computer cluster environments organize modules using the program module.

A module is a software component or part of a program that contains one or more routines. One or more independently developed modules make up a program. An enterprise-level software application may contain several different modules, and each module serves unique and separate business operations.

Modules make a programmer's job easy by allowing the programmer to focus on only one area of the functionality of the software application. Modules are typically incorporated into the program (software) through interfaces.

Examples

See available modules

module avail

Load a module

module load [name1] [name2] ... [nameN]

List loaded modules

module list

Remove all modules (unload)

module purge

Example of the default Mafft module in the URC

##################################################################### 
## 
## mafft/7.273woe
## by Jon Halter
## 
proc ModulesHelp { } { 
puts stderr "\\tmafft/7.273woe - Multiple alignment program for amino acid or nucleotide sequences (7.273 without-extensions)\\n" 
} 
module-whatis "MAFFT is a Multiple alignment program for amino acid or nucleotide sequences. It offers a range of multiple alignment methods, L-INS-i (accurate; for alignment of <∼200 sequences), FFT-NS-2 (fast; for alignment of <∼30,000 sequences), etc."
conflict mafft
setenv MAFFT_HOME /apps/pkg/mafft/7.273woe
setenv MAFFT_DIR $env(MAFFT_HOME)/bin
setenv MAFFT_BINARIES $env(MAFFT_HOME)/libexec/mafft
prepend-path MANPATH $env(MAFFT_HOME)/share/man
prepend-path PATH $env(MAFFT_DIR)