Skip to content

Commit bf3fb1a

Browse files
author
Vasileios Karakasis
committed
Update documentation
1 parent ac95754 commit bf3fb1a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/configure.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ Each system is associated with a set of properties, which in this case are the f
7676
This should be an alphanumeric string (dashes ``-`` are allowed) and it will be used to refer to this system in other contexts.
7777
* ``descr``: A detailed description of the system.
7878
* ``hostnames``: This is a list of hostname patterns following the `Python Regular Expression Syntax <https://docs.python.org/3/library/re.html#regular-expression-syntax>`__, which will be used by ReFrame when it tries to automatically select a configuration entry for the current system.
79-
* ``modules_system``: In our example, this is only defined for Piz Daint and refers to the environment modules system that should be used for loading environment modules on this system.
80-
In this case, the classic Tcl implementation of the `environment modules <https://sourceforge.net/projects/modules/files/Modules/modules-3.2.10/>`__.
81-
For a complete list of the supported modules systems, see `here <config_reference.html#.systems[].modules_system>`__.
79+
* ``modules_system``: This refers to the modules management backend which should be used for loading environment modules on this system.
80+
Multiple backends are supported, as well as the special ``nomod`` backend which implements the different modules system operations as no-ops.
81+
For the complete list of the supported modules systems, see `here <config_reference.html#.systems[].modules_system>`__.
8282
* ``partitions``: The list of partitions that are defined for this system.
8383
Each partition is defined as a separate object.
8484
We devote the rest of this section in system partitions, since they are an essential part of ReFrame's configuration.

docs/tutorial_advanced.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ You can then use those resources transparently from within your test.
499499
To achieve this in our case, we first need to define a ``memory`` resource in the configuration:
500500

501501
.. literalinclude:: ../tutorials/config/settings.py
502-
:lines: 31-52,59-75
502+
:lines: 31-52,63-79
503503
:emphasize-lines: 17-22,32-38
504504

505505
Notice that we do not define the resource for all the partitions, but only for those that it makes sense.

docs/tutorial_basics.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,8 @@ Notice, how you can define the actual commands for invoking the C, C++ and Fortr
336336
As soon as a programming environment defines the different compilers, ReFrame will automatically pick the right compiler based on the source file extension.
337337
In addition to C, C++ and Fortran programs, ReFrame will recognize the ``.cu`` extension as well and will try to invoke the ``nvcc`` compiler for CUDA programs.
338338

339-
Finally, the new system that we defined may be identified by the hostname ``tresa`` (see the :js:attr:`hostnames` configuration parameter).
340-
This will help ReFrame to automatically pick the right configuration when running on it.
339+
Finally, the new system that we defined may be identified by the hostname ``tresa`` (see the :js:attr:`hostnames` configuration parameter) and it will not use any environment modules system (see the :js:attr:`modules_system` configuration parameter).
340+
The :js:attr:`hostnames` attribute will help ReFrame to automatically pick the right configuration when running on it.
341341
Notice, how the ``generic`` system matches any hostname, so that it acts as a fallback system.
342342

343343
.. note::

0 commit comments

Comments
 (0)