Skip to content
Snippets Groups Projects
Commit 10ba8ad9 authored by Lukáš Krupčík's avatar Lukáš Krupčík
Browse files

opraveno

parent a7b5d028
No related branches found
No related tags found
No related merge requests found
# Lmod Environment # Lmod Environment
Lmod as a modules tool, a modern alternative to the oudated & no longer actively maintained Tcl-based environment modules tool. Lmod is a modules tool, a modern alternative to the oudated & no longer actively maintained Tcl-based environment modules tool.
Detailed documentation on Lmod is available at [here](http://lmod.readthedocs.io). Detailed documentation on Lmod is available at [here](http://lmod.readthedocs.io).
## Benefits ## Benefits
- significantly more responsive module commands, in particular module avail (ml av) * significantly more responsive module commands, in particular module avail (ml av)
- easier to use interface * easier to use interface
- module files can be written in either Tcl or Lua syntax (and both types of modules can be mixed together) * module files can be written in either Tcl or Lua syntax (and both types of modules can be mixed together)
## Introduction ## Introduction
...@@ -39,7 +39,7 @@ Currently Loaded Modules: ...@@ -39,7 +39,7 @@ Currently Loaded Modules:
``` ```
!!! tip !!! tip
for more details on sticky modules, see the section on [ml purge](#resetting-by-unloading-all-modules-ml-purge-module-purge) for more details on sticky modules, see the section on [ml purge](#resetting-by-unloading-all-modules-ml-purge-module-purge)
## Searching for available modules: ml av (module avail) and ml spider ## Searching for available modules: ml av (module avail) and ml spider
...@@ -59,11 +59,11 @@ $ ml av ...@@ -59,11 +59,11 @@ $ ml av
In the current module naming scheme, each module name consists of two parts: In the current module naming scheme, each module name consists of two parts:
- the part before the first /, corresponding to the software name; and * the part before the first /, corresponding to the software name; and
- the remainder, corresponding to the software version, the compiler toolchain that was used to install the software, and a possible version suffix * the remainder, corresponding to the software version, the compiler toolchain that was used to install the software, and a possible version suffix
!!! tip !!! tip
The (D) indicates that this particular version of the module is the default, but we strongly recommend to not rely on this as the default can change at any point. Usuall, the default will point to the latest version available. The (D) indicates that this particular version of the module is the default, but we strongly recommend to not rely on this as the default can change at any point. Usuall, the default will point to the latest version available.
## Searching for modules: ml spider ## Searching for modules: ml spider
...@@ -235,7 +235,7 @@ For example, once you have loaded one or more modules that were installed with t ...@@ -235,7 +235,7 @@ For example, once you have loaded one or more modules that were installed with t
In addition, only **one single version** of each software package can be loaded at a particular time. For example, once you have the Python/3.5.2-intel-2017.00 module loaded, you can not load a different version of Python in the same session/job script; neither directly, nor indirectly as a dependency of another module you want to load. In addition, only **one single version** of each software package can be loaded at a particular time. For example, once you have the Python/3.5.2-intel-2017.00 module loaded, you can not load a different version of Python in the same session/job script; neither directly, nor indirectly as a dependency of another module you want to load.
Unloading modules: ml -<modname(s)> (module unload <modname(s)>) Unloading modules: ml modname(s) (module unload modname(s))
To revert the changes to the environment that were made by a particular module, you can use module unload or ml -<modname>. To revert the changes to the environment that were made by a particular module, you can use module unload or ml -<modname>.
For example: For example:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment