From f847e9358df45182b079f7ffd2d05dbfa271b8ed Mon Sep 17 00:00:00 2001 From: caubet_m Date: Thu, 20 Jun 2019 11:21:14 +0200 Subject: [PATCH] Using PModules --- pages/merlin6/merlin6-slurm/using-modules.md | 34 +++++++++++++++----- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/pages/merlin6/merlin6-slurm/using-modules.md b/pages/merlin6/merlin6-slurm/using-modules.md index 260eeaf..00377a5 100644 --- a/pages/merlin6/merlin6-slurm/using-modules.md +++ b/pages/merlin6/merlin6-slurm/using-modules.md @@ -19,18 +19,36 @@ If you miss any package/versions or a software with a specific missing feature, ### Basic commands: +Basic generic commands would be: + ```bash -module avail # to see the list of available software packages provided via pmodules -module load / # to load specific software package with a specific version -module search # to search for a specific software package and its dependencies. -module load / ... / # load the specific version of hdf5, compiled with specific version of gcc and openmpi -module use unstable # to get access to a set of packages not fully tested by the community -module list # to list which software is loaded in your environment +module avail # to see the list of available software packages provided via pmodules +module use unstable # to get access to a set of packages not fully tested by the community +module load / # to load specific software package with a specific version +module search # 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 ``` +Also, you can load multiple packages at once. This can be useful for instance when loading a package with its dependencies: + +```bash +# Single line +module load gcc/8.3.0 openmpi/3.1.3 + +# Multiple line +module load gcc/8.3.0 +module load openmpi/3.1.3 +``` + +In the example above, we load ``openmpi/3.1.3`` but we also specify ``gcc/8.3.0`` which is a strict dependency. The dependency must be +loaded in advance. + +--- + ## When to request for new PModules packages -#### Missing software +### Missing software If you don't find a specific software and you know from other people interesing on it, it can be installed in PModules. Please contact us and we will try to help with that. Deploying new software in PModules may take few days. @@ -38,7 +56,7 @@ and we will try to help with that. Deploying new software in PModules may take f Usually installation of new software are possible as long as few users will use it. If you are insterested in to maintain this software, please let us know. -#### Missing version +### Missing version If the existing PModules versions for a specific package do not fit to your needs, is possible to ask for a new version.