Skip to content

Commit 57fc1db

Browse files
author
Vasileios Karakasis
authored
Merge pull request #1692 from vkarak/doc/expand-tutorials
[doc] Expand and enhance the tutorials
2 parents f52a0ab + cbae649 commit 57fc1db

File tree

30 files changed

+1904
-665
lines changed

30 files changed

+1904
-665
lines changed

docs/_static/img/deps-complex.svg

Lines changed: 3 additions & 0 deletions
Loading

docs/configure.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Each system is a different object inside the ``systems`` section.
6868
In our example we define three systems, a Mac laptop, Piz Daint and a generic fallback system:
6969

7070
.. literalinclude:: ../tutorials/config/settings.py
71-
:lines: 11-77
71+
:lines: 11-89
7272

7373
Each system is associated with a set of properties, which in this case are the following:
7474

@@ -89,7 +89,7 @@ The ``login`` partition refers to the login nodes of the system, whereas the ``g
8989
Let's pick the ``gpu`` partition and look into it in more detail:
9090

9191
.. literalinclude:: ../tutorials/config/settings.py
92-
:lines: 38-52
92+
:lines: 38-58
9393

9494
The basic properties of a partition are the following:
9595

@@ -111,6 +111,8 @@ The basic properties of a partition are the following:
111111
For a complete list of the supported container platforms, see `here <config_reference.html#.systems[].partitions[].container_platforms[].type>`__.
112112
* ``max_jobs``: The maximum number of concurrent regression tests that may be active (i.e., not completed) on this partition.
113113
This option is relevant only when ReFrame executes with the `asynchronous execution policy <pipeline.html#execution-policies>`__.
114+
* ``resources``: This is a set of optional additional scheduler resources that the tests can access transparently.
115+
For more information, please have a look `here <config_reference.html#custom-job-scheduler-resources>`__.
114116

115117

116118
--------------------------
@@ -129,7 +131,7 @@ In our example, we define environments for all the basic compilers as well as a
129131
In certain contexts, it is useful to see a ReFrame environment as a wrapper of a programming toolchain (MPI + compiler combination):
130132

131133
.. literalinclude:: ../tutorials/config/settings.py
132-
:lines: 78-129
134+
:lines: 90-148
133135

134136
Each environment is associated with a name.
135137
This name will be used to reference this environment in different contexts, as for example in the ``environs`` property of the system partitions.
@@ -151,7 +153,7 @@ Additionally, it allows for logging performance data from performance tests into
151153
Let's see how logging is defined in our example configuration, which also represents a typical one for logging:
152154

153155
.. literalinclude:: ../tutorials/config/settings.py
154-
:lines: 130-165
156+
:lines: 149-184
155157

156158
Logging is configured under the ``logging`` section of the configuration, which is a list of logger objects.
157159
Unless you want to configure logging differently for different systems, a single logger object is enough.

docs/manpage.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ It does so by leveraging the selected system's environment modules system.
419419
.. option:: --module-path=PATH
420420

421421
Manipulate the ``MODULEPATH`` environment variable before acting on any tests.
422-
If ``PATH`` starts with the `-` character, it will be removed from the ``MODULEPATH``, whereas if it starts with the `+` character, it will be added to it.
422+
If ``PATH`` starts with the ``-`` character, it will be removed from the ``MODULEPATH``, whereas if it starts with the ``+`` character, it will be added to it.
423423
In all other cases, ``PATH`` will completely override MODULEPATH.
424424
This option may be specified multiple times, in which case all the paths specified will be added or removed in order.
425425

0 commit comments

Comments
 (0)