Modules¶
Introduction¶
In Linux machines the access to our softwares is done through loading modules Module is a system which allows to create and use configurations for softwares. The software had to be installed, because the module only job is to modify the environment so that the software can work. This system allow the existence of multiversions of a software without conflict issues.
Command | Description |
---|---|
module help |
List all the module commands available. |
module help <module> |
Shows a help section for certain modules. |
module avail |
List all modules available. |
module load <mod1> [mod2...] |
Load the specified modules. |
module unload <module> |
unload the specified module. |
module list |
List all loaded modules. |
Examples¶
To show all available modules:
module avail
To show all the available versions of a module like "julia" for example:
module avail julia
julia/1.7.2 julia/1.8.5(default)
To load the default version of julia : julia/1.8.5:
module load julia
To show all modules loaded in your session:
module list
Currently Loaded Modulefiles:
1) null 2) julia/1.8.5(default)
To unload a module from your session:
module unload julia
To load a specific version of the module other than the default, for example the version 1.7.2 of "julia",
module load julia/1.7.2