From c8e5e8321e0243e7cf5df305b3e84e1ddb64353c Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis Date: Thu, 3 Jun 2021 22:15:55 +0200 Subject: [PATCH] Fix code listings in configuration docs --- docs/configure.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/configure.rst b/docs/configure.rst index c304bbee97..1e58fbad12 100644 --- a/docs/configure.rst +++ b/docs/configure.rst @@ -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: @@ -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: @@ -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. @@ -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.