User Tools

Site Tools


linux:environment_modules

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:environment_modules [2023/01/25 13:42] – [Loading and unloading a module] jansenlinux:environment_modules [2023/01/25 13:54] (current) – [Loading and unloading a module] jansen
Line 10: Line 10:
 Usually there is a default module for a specific package, marked with ''(D)'' in the list of available modules. Typing just ''module load GCC'' will load the GCC module marked as default. Usually there is a default module for a specific package, marked with ''(D)'' in the list of available modules. Typing just ''module load GCC'' will load the GCC module marked as default.
 Version numbers and toolchains (everything after the / in the module name) can usually be abbreviated, eg ''module load GCC/11'' would work as well. Version numbers and toolchains (everything after the / in the module name) can usually be abbreviated, eg ''module load GCC/11'' would work as well.
 +
 +To unload a module, use ''module unload''. There is also a ''module switch'' command to swith between two modules that provide the same basic functionality, but in most cases, loading one version of something (eg ''GCC'') will unload all earlier loaded versions, so an explicit switch command is not necessary any more.
  
 Command ''ml'' is a useful frontend to the most used module commands (see ''ml --help'' for details; also see ''module --help'' for details about module commands and options). Command ''ml'' is a useful frontend to the most used module commands (see ''ml --help'' for details; also see ''module --help'' for details about module commands and options).
Line 26: Line 28:
 ===== See also: ===== ===== See also: =====
   * [[Compilers]]   * [[Compilers]]
-  * [[Sfinx modules]] +  * [[Sfinx modules]]: some special cases (for astronomical software) 
-  * [[EasyBuild environment]]+  * [[:EasyBuild environment]]: building your own modules
linux/environment_modules.1674654171.txt.gz · Last modified: by jansen