...
Excerpt | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||
OverviewSupercomputing software environments are highly domain dependent, and to prevent conflicts while balancing ease of use, the software that your research needs will likely need to be loaded into the environment as a software module.
Listing Available ModulesThe following command will list all available software modules.
To search available modules with a keyword, i.e. “rust”:
You can also see available modules from the web portal. Sol: https://links.asu.edu/sol-modules Phoenix: https://links.asu.edu/phx-modules
Loading a moduleTo use software, you must first load the module into your shell environment using the module load command.
In this example, Aspect software has been loaded and can be used as normal. Tip: you can use “ml” as a shorthand for “module load” Listing Loaded ModulesTo see a list of modules that are currently loaded use the following command.
Unloading modules by nameTo unload only a single module use the following command.
Unloading all loaded modulesTo unload all modules that are currently loaded run the following.
Module purge is useful for starting over with a clean environment, like when incorporating modules into an sbatch job script. Example
Using Modules in SBATCH Job ScriptsMany sbatch scripts will include a module load command as part of the script. Examples of this can be found here: Slurm - SBATCH Job Scripts |
...