Skip to content

Commit

Permalink
Merge branch 'sw-as-a-user-add-disclaimer' into 'main'
Browse files Browse the repository at this point in the history
SW as a user add Conda warning-disclaimer

See merge request documentation/public!886
  • Loading branch information
Dan Johan Jonsson committed Mar 13, 2024
2 parents 00cc17e + 3c431b5 commit 7c7ef5c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
14 changes: 9 additions & 5 deletions software/modulescheme.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,13 @@ avail` search.

## How to load a module

In order to make, for instance, the NetCDF library available issue the command:
In order to make, for instance, the NetCDF library available, get the full list of available netCDF modules first by typing:

module load netCDF/4.4.1.1-intel-2018a-HDF5-1.8.19
module avail netCDF

Pick up one from the list (for example netCDF/4.9.2-gompi-2023a) and then issue the command:

module load netCDF/4.9.2-gompi-2023a

Note that we currently do **not have** default modules on NRIS machines, so you need to write full module name when loading!

Expand All @@ -76,13 +80,13 @@ option instead.

## How to switch to a different version of a module

Switching to another version is similar to loading a specific version. As an example, if you want to switch from the current loaded netCDF to an older one; netCDF/4.4.0-intel-2016a:
Switching to another version is similar to loading a specific version. As an example, if you want to switch from the current loaded netCDF to an older one; netCDF/4.9.0-gompi-2022b:

module switch netCDF/4.4.1.1-intel-2018a-HDF5-1.8.19 netCDF/4.4.0-intel-2016a
module switch netCDF/4.9.2-gompi-2023a netCDF/4.9.0-gompi-2022b

This, more compact syntax will fortunately also work:

module switch netCDF netCDF/4.4.0-intel-2016a
module switch netCDF netCDF/4.9.0-gompi-2022b

```{note}
We are using self-contained modules in NRIS, meaning that a given module
Expand Down
5 changes: 5 additions & 0 deletions software/userinstallsw.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ package managers.
userinstallsw/perl.md
userinstallsw/ORCA.md
userinstallsw/mathematica.md
../code_development/guides/containers.md

```{warning}
Please note that a very limited best-effort support can be provided for Conda installations.
```

Note that the software install team **never** do installations in
``$HOME`` for users, and preferably not in ``/cluster/projects``.

0 comments on commit 7c7ef5c

Please sign in to comment.