You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/config_reference.rst
+17-21Lines changed: 17 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
=======================
1
+
***********************
2
2
Configuration Reference
3
-
=======================
3
+
***********************
4
4
5
5
ReFrame's behavior can be configured through its configuration file (see :doc:`configure`), environment variables and command-line options.
6
6
An option can be specified via multiple paths (e.g., a configuration file parameter and an environment variable), in which case command-line options precede environment variables, which in turn precede configuration file options.
@@ -22,7 +22,7 @@ For example, the ``logging.handlers_perflog..filelog..name`` syntax designates t
22
22
23
23
24
24
Top-level Configuration
25
-
-----------------------
25
+
=======================
26
26
27
27
The top-level configuration object is essentially the full configuration of ReFrame.
28
28
It consists of the following properties, which we also call conventionally *configuration sections*:
@@ -69,7 +69,7 @@ It consists of the following properties, which we also call conventionally *conf
69
69
70
70
71
71
System Configuration
72
-
--------------------
72
+
====================
73
73
74
74
.. currentmodule:: config
75
75
@@ -213,9 +213,8 @@ System Configuration
213
213
This option is broken in 4.0.
214
214
215
215
216
-
------------------------------
217
216
System Partition Configuration
218
-
------------------------------
217
+
==============================
219
218
220
219
.. py:attribute:: systems.partitions.name
221
220
@@ -420,6 +419,10 @@ System Partition Configuration
420
419
421
420
A list of job scheduler options that will be passed to the generated job script for gaining access to that logical partition.
422
421
422
+
.. note::
423
+
For the ``pbs`` and ``torque`` backends, options accepted in the :attr:`~config.systems.partitions.access` and :attr:`~config.systems.partitions.resources` parameters may either refer to actual ``qsub`` options or may just be resources specifications to be passed to the ``-l`` option.
424
+
The backend assumes a ``qsub`` option, if the options passed in these attributes start with a ``-``.
425
+
423
426
424
427
.. py:attribute:: systems.partitions.environs
425
428
@@ -690,12 +693,12 @@ ReFrame allows you to define custom scheduler resources for each partition that
690
693
}
691
694
692
695
.. note::
693
-
For the ``pbs`` and ``torque`` backends, options accepted in the :attr:`~config.systems.partitions.access` and :attr:`~config.systems.partitions.resources` attributes may either refer to actual ``qsub`` options or may be just resources specifications to be passed to the ``-l`` option.
696
+
For the ``pbs`` and ``torque`` backends, options accepted in the :attr:`~config.systems.partitions.access` and :attr:`~config.systems.partitions.resources` parameters may either refer to actual ``qsub`` options or may just be resources specifications to be passed to the ``-l`` option.
694
697
The backend assumes a ``qsub`` option, if the options passed in these attributes start with a ``-``.
695
698
696
699
697
700
Environment Configuration
698
-
-------------------------
701
+
=========================
699
702
700
703
Environments defined in this section will be used for running regression tests.
701
704
They are associated with `system partitions <#system-partition-configuration>`__.
@@ -859,7 +862,7 @@ They are associated with `system partitions <#system-partition-configuration>`__
859
862
.. _logging-config-reference:
860
863
861
864
Logging Configuration
862
-
---------------------
865
+
=====================
863
866
864
867
Logging in ReFrame is handled by logger objects which further delegate message to *logging handlers* which are eventually responsible for emitting or sending the log records to their destinations.
865
868
You may define different logger objects per system but *not* per partition.
@@ -924,7 +927,6 @@ You may define different logger objects per system but *not* per partition.
924
927
925
928
926
929
927
-
---------------------------------
928
930
Common logging handler properties
929
931
---------------------------------
930
932
@@ -1089,7 +1091,6 @@ All logging handlers share the following set of common attributes:
1089
1091
In addition to the format directives supported by the standard library's `time.strftime() <https://docs.python.org/3.8/library/time.html#time.strftime>`__ function, ReFrame allows you to use the ``%:z`` directive -- a GNU ``date`` extension -- that will print the time zone difference in a RFC3339 compliant way, i.e., ``+/-HH:MM`` instead of ``+/-HHMM``.
1090
1092
1091
1093
1092
-
------------------------
1093
1094
The ``file`` log handler
1094
1095
------------------------
1095
1096
@@ -1134,7 +1135,6 @@ The additional properties for the ``file`` handler are the following:
1134
1135
1135
1136
.. _filelog-handler:
1136
1137
1137
-
---------------------------
1138
1138
The ``filelog`` log handler
1139
1139
---------------------------
1140
1140
@@ -1187,7 +1187,6 @@ The additional properties for the ``filelog`` handler are the following:
1187
1187
Examples of changes in the logged information are when the log record format changes or a new performance metric is added, deleted or has its name changed.
1188
1188
This behavior guarantees that each log file is consistent and it will not break existing parsers.
1189
1189
1190
-
---------------------------
1191
1190
The ``graylog`` log handler
1192
1191
---------------------------
1193
1192
@@ -1235,7 +1234,6 @@ Although the :attr:`~config.logging.handlers.format` attribute is defined for th
1235
1234
This handler transmits the whole log record, meaning that all the information will be available and indexable at the remote end.
1236
1235
1237
1236
1238
-
--------------------------
1239
1237
The ``stream`` log handler
1240
1238
--------------------------
1241
1239
@@ -1257,7 +1255,6 @@ The additional properties for the ``stream`` handler are the following:
1257
1255
- ``stderr``: the standard error.
1258
1256
1259
1257
1260
-
--------------------------
1261
1258
The ``syslog`` log handler
1262
1259
--------------------------
1263
1260
@@ -1300,7 +1297,6 @@ The additional properties for the ``syslog`` handler are the following:
1300
1297
This can either be of the form ``<host>:<port>`` or simply a path that refers to a Unix domain socket.
1301
1298
1302
1299
1303
-
----------------------------
1304
1300
The ``httpjson`` log handler
1305
1301
----------------------------
1306
1302
@@ -1399,7 +1395,7 @@ This handler transmits the whole log record, meaning that all the information wi
1399
1395
.. _exec-mode-config:
1400
1396
1401
1397
Execution Mode Configuration
1402
-
----------------------------
1398
+
============================
1403
1399
1404
1400
ReFrame allows you to define groups of command line options that are collectively called *execution modes*.
1405
1401
An execution mode can then be selected from the command line with the :option:`--mode` option.
@@ -1432,7 +1428,7 @@ The options of an execution mode will be passed to ReFrame as if they were speci
1432
1428
1433
1429
1434
1430
General Configuration
1435
-
---------------------
1431
+
=====================
1436
1432
1437
1433
.. py:attribute:: general.check_search_path
1438
1434
@@ -1730,7 +1726,7 @@ General Configuration
1730
1726
1731
1727
1732
1728
Module Objects
1733
-
--------------
1729
+
==============
1734
1730
1735
1731
.. versionadded:: 3.3
1736
1732
@@ -1780,7 +1776,7 @@ It can either be a simple string or a JSON object with the following attributes:
1780
1776
1781
1777
1782
1778
Processor Info
1783
-
--------------
1779
+
==============
1784
1780
1785
1781
.. versionadded:: 3.5.0
1786
1782
@@ -1878,7 +1874,7 @@ A *processor info object* in ReFrame's configuration is used to hold information
0 commit comments