Skip to content
Snippets Groups Projects
Commit 93cdc32a authored by Martin Schroschk's avatar Martin Schroschk
Browse files

Linting

parent 7b03362c
No related branches found
No related tags found
2 merge requests!938Automated merge from preview to main,!936Update to Five-Cluster-Operation
...@@ -148,9 +148,9 @@ There is a front end for the module command, which helps you to type less. It is ...@@ -148,9 +148,9 @@ There is a front end for the module command, which helps you to type less. It is
## Module Environments ## Module Environments
On ZIH systems, there exist different **module environments**, each containing a set of software modules. On ZIH systems, there exist different **module environments**, each containing a set of software
They are activated via the meta module `modenv` which has different versions, one of which is loaded modules. They are activated via the meta module `modenv` which has different versions, one of which
by default. You can switch between them by simply loading the desired modenv-version, e.g. is loaded by default. You can switch between them by simply loading the desired modenv-version, e.g.
```console ```console
marie@compute$ module load modenv/ml marie@compute$ module load modenv/ml
...@@ -183,8 +183,8 @@ Thus the 'machine code' of other modenvs breaks). ...@@ -183,8 +183,8 @@ Thus the 'machine code' of other modenvs breaks).
### Searching for Software ### Searching for Software
The command `module spider <modname>` allows searching for a specific software across all modenv The command `module spider <modname>` allows searching for a specific software across all modenv
environments. It will also display information on how to load a particular module when giving a precise environments. It will also display information on how to load a particular module when giving a
module (with version) as the parameter. precise module (with version) as the parameter.
??? example "Spider command" ??? example "Spider command"
...@@ -259,18 +259,16 @@ In some cases a desired software is available as an extension of a module. ...@@ -259,18 +259,16 @@ In some cases a desired software is available as an extension of a module.
## Toolchains ## Toolchains
A program or library may break in various ways A program or library may break in various ways (e.g. not starting, crashing or producing wrong
(e.g. not starting, crashing or producing wrong results) results) when it is used with a software of a different version than it expects. So each module
when it is used with a software of a different version than it expects. specifies the exact other modules it depends on. They get loaded automatically when the dependent
So each module specifies the exact other modules it depends on. module is loaded.
They get loaded automatically when the dependent module is loaded.
Loading a single module is easy as there can't be any conflicts between dependencies. Loading a single module is easy as there can't be any conflicts between dependencies. However when
However when loading multiple modules they can require different versions of the same software. loading multiple modules they can require different versions of the same software. This conflict is
This conflict is currently handled in that loading the same software with a different version currently handled in that loading the same software with a different version automatically unloads
automatically unloads the earlier loaded module. the earlier loaded module. As the dependents of that module are **not** automatically unloaded this
As the dependents of that module are **not** automatically unloaded this means they now have a means they now have a wrong dependency (version) which can be a problem (see above).
wrong dependency (version) which can be a problem (see above).
To avoid this there are (versioned) toolchains and for each toolchain there is (usually) at most To avoid this there are (versioned) toolchains and for each toolchain there is (usually) at most
one version of each software. one version of each software.
...@@ -309,12 +307,12 @@ As you can see `GCC` and `intel-compilers` are on the same level, as are `gompi` ...@@ -309,12 +307,12 @@ As you can see `GCC` and `intel-compilers` are on the same level, as are `gompi`
although they are one level higher than the former. although they are one level higher than the former.
You can load and use modules from a lower toolchain with modules from You can load and use modules from a lower toolchain with modules from
one of its parent toolchains. one of its parent toolchains.
For example `Python/3.6.6-foss-2019a` can be used with `Boost/1.70.0-gompi-2019a`. For example `Python/3.6.6-foss-2019a` can be used with `Boost/1.70.0-gompi-2019a`.
But you cannot combine toolchains or toolchain versions. But you cannot combine toolchains or toolchain versions.
So `QuantumESPRESSO/6.5-intel-2019a` and `OpenFOAM/8-foss-2020a` So `QuantumESPRESSO/6.5-intel-2019a` and `OpenFOAM/8-foss-2020a`
are both incompatible with `Python/3.6.6-foss-2019a`. are both incompatible with `Python/3.6.6-foss-2019a`.
However `LLVM/7.0.1-GCCcore-8.2.0` can be used with either However `LLVM/7.0.1-GCCcore-8.2.0` can be used with either
`QuantumESPRESSO/6.5-intel-2019a` or `Python/3.6.6-foss-2019a` `QuantumESPRESSO/6.5-intel-2019a` or `Python/3.6.6-foss-2019a`
because `GCCcore-8.2.0` is a sub-toolchain of `intel-2019a` and `foss-2019a`. because `GCCcore-8.2.0` is a sub-toolchain of `intel-2019a` and `foss-2019a`.
......
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