Update Pmodules

2024-05-02 12:55:14 +02:00
parent a13949f597
commit 44f64052ad

@ -14,7 +14,7 @@ Merlin Pmodules documentation: https://lsm-hpce.gitpages.psi.ch/merlin6/using-mo
module load <package>/<version> # to load specific software package with a specific version
module search <string> # to search for a specific software package and its dependencies.
module list # to list which software is loaded in your environment
module purge # unload all loaded packages and cleanup the environment
module purge # unload all loaded packages and clean up the environment
```
### module use/unuse
@ -28,8 +28,6 @@ Merlin Pmodules documentation: https://lsm-hpce.gitpages.psi.ch/merlin6/using-mo
When followed by a parameter, `use`/`unuse` invokes/uninvokes a PModule **Software Group** or **Release Stage**.
```bash
module use EM # Invokes the 'EM' software group
module unuse EM # Uninvokes the 'EM' software group
module use unstable # Invokes the 'unstable' Release stable
module unuse unstable # Uninvokes the 'unstable' Release stable
```
@ -42,12 +40,10 @@ Merlin Pmodules documentation: https://lsm-hpce.gitpages.psi.ch/merlin6/using-mo
### module search
This is used to **search** for **software packages**. By default, if no **Release Stage** or **Software Group** is specified
in the options of the `module search` command, it will search from the already invoked *Software Groups* and *Release Stages*.
Direct package dependencies will be also showed.
This is used to **search** for **software packages**. By default, if no **Release Stage** or **Software Group** is specified in the options of the `module search` command, it will search from the already invoked *Software Groups* and *Release Stages*. Direct package dependencies will be also showed.
```bash
(base) [caubet_m@merlin-l-001 caubet_m]$ module search openmpi/4.0.5_slurm
$ module search openmpi/4.0.5_slurm
Module Release Group Requires
---------------------------------------------------------------------------
@ -56,15 +52,14 @@ Merlin Pmodules documentation: https://lsm-hpce.gitpages.psi.ch/merlin6/using-mo
openmpi/4.0.5_slurm stable Compiler gcc/9.3.0
openmpi/4.0.5_slurm stable Compiler intel/20.4
(base) [caubet_m@merlin-l-001 caubet_m]$ module load intel/20.4 openmpi/4.0.5_slurm
$ module load intel/20.4 openmpi/4.0.5_slurm
```
Please run `module search --help` for further search options.
### module load/unload
This loads/unloads specific software packages. Packages might have direct dependencies that need to be loaded first. Other dependencies
will be automatically loaded.
This loads/unloads specific software packages. Packages might have direct dependencies that need to be loaded first. Most of the dependencies will be automatically loaded.
In the example below, the ``openmpi/4.0.5_slurm`` package will be loaded, however ``gcc/9.3.0`` must be loaded as well as this is a strict dependency. Direct dependencies must be loaded in advance. Users can load multiple packages one by one or at once. This can be useful for instance when loading a package with direct dependencies.
@ -84,3 +79,6 @@ Merlin Pmodules documentation: https://lsm-hpce.gitpages.psi.ch/merlin6/using-mo
```bash
module purge
```
#### module list
This command lists all your currently loaded modules.