Skip navigation links
Friday, January 4th 2013 11:25:01 PM PST
Triton uses the Environment Modules package to control users' environment settings. Below is a brief discussion of its common usage on Triton. You can learn more at the Modules home page.
The Environment Modules package provides for dynamic modification of a user's shell environment. Module commands set, change, or delete environment variables, typically in support of a particular application. They also let the user choose between different versions of the same software or different combinations of related codes.
For example, if the pgi module and mpich-mx module are loaded and the user compiles with mpif90, the generated code is compiled with the Portland Group Fortran 90 compiler and MPI libraries utilizing the Myrinet switch are linked. By unloading the mpich-mx module, loading the mpich module, and compiling with mpif90, the Portland compiler is used but linked with the gigabit ethernet libraries.
Several modules that determine the default Triton environment are loaded at login time.
Here are some common module commands and their descriptions:
Note that you must remove some modules before loading others. For example, if the pgi compiler is loaded, you must unload it before you can load intel. Also, some modules depend on others so may be loaded or unloaded as a consequence of another module command. For example, if pgi and openmpi_mx are both loaded, running the command unload pgi will automatically unload openmpi_mx. Subsequently issuing the load intel command does not automatically reload openmpi_mx.
Complete documentation is available in the module(1) and modulefile(4) manpages.
Open a Ticket with Triton Resource Support using the Support Ticket Form.
Join the Discussion Forum Sign up for our Email Discussion List.
FAQ Read the FAQ Page.
