From d45d9706d282c3c480f4ca1e391abe39ac7e97d1 Mon Sep 17 00:00:00 2001 From: Malcolm Inglis Date: Oct 11 2021 18:19:53 +0000 Subject: Use HTTPS and correct links in Modules guidelines --- diff --git a/guidelines/modules/ROOT/pages/EnvironmentModules.adoc b/guidelines/modules/ROOT/pages/EnvironmentModules.adoc index 8b3d55f..b87d1bd 100644 --- a/guidelines/modules/ROOT/pages/EnvironmentModules.adoc +++ b/guidelines/modules/ROOT/pages/EnvironmentModules.adoc @@ -12,7 +12,7 @@ To see what modules are available, run `+$ module avail+`. To load a module run e.g. `+$ module load mpi/openmpi-x86_64+`. To unload a module, run e.g. `+$module unload mpi/openmpi-x86_64+`. -The upstream documentation for the module command is available http://modules.sourceforge.net/man/module1.html[here] or with `+man module+`. +The upstream documentation for the module command is available https://modules.readthedocs.io/en/stable/module.html[here] or with `+man module+`. == Creating environment modules @@ -48,7 +48,7 @@ The above commands prepends the path with the bindir of the 64-bit OpenMPI (comp It is also possible to set `+CFLAGS+` and `+LDFLAGS+` with the above manner, but in the case of MPI compilers it is not necessary since the compilers are invoked with the `+mpicc+`, `+mpicxx+`, `+mpif77+` and `+mpif90+` wrappers that already contain the necessary include and library paths. Also, in the case of development packages an override of `+CFLAGS+` and/or `+LDFLAGS+` is not sane, as it may cause trouble in building RPMs as it overrides `+%{optflags}+`. -The upstream documentation for module files is available http://modules.sourceforge.net/man/modulefile4.html[here] or with `+man modulefile+`. +The upstream documentation for module files is available https://modules.readthedocs.io/en/stable/modulefile.html[here] or with `+man modulefile+`. == Switching between module implementations