Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/configure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Each system is a different object inside the ``systems`` section.
In our example we define three systems, a Mac laptop, Piz Daint and a generic fallback system:

.. literalinclude:: ../tutorials/config/settings.py
:lines: 11-90
:lines: 11-94

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

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

.. literalinclude:: ../tutorials/config/settings.py
:lines: 39-59
:lines: 39-63

The basic properties of a partition are the following:

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

.. literalinclude:: ../tutorials/config/settings.py
:lines: 91-149
:lines: 95-153

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

.. literalinclude:: ../tutorials/config/settings.py
:lines: 150-185
:lines: 154-189

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