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/configure.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ Each system is a key/value pair, with the key being the name of the system and t
103
103
The valid attributes of a system are the following:
104
104
105
105
* ``descr``: A detailed description of the system (default is the system name).
106
-
* ``hostnames``: This is a list of hostname patterns that will be used by ReFrame when it tries to `auto-detect <#system-auto-detection>`__ the current system (default ``[]``).
106
+
* ``hostnames``: This is a list of hostname patterns according to 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 `auto-detect <#system-auto-detection>`__ the current system (default ``[]``).
107
107
* ``modules_system``: *[new in 2.8]* The modules system that should be used for loading environment modules on this system (default :class:`None`).
108
108
Three types of modules systems are currently supported:
109
109
@@ -382,7 +382,7 @@ System Auto-Detection
382
382
When ReFrame is launched, it tries to detect the current system and select the correct site configuration entry. The auto-detection process is as follows:
383
383
384
384
ReFrame first tries to obtain the hostname from ``/etc/xthostname``, which provides the unqualified *machine name* in Cray systems.
385
-
If this cannot be found the hostname will be obtained from the standard ``hostname`` command.
385
+
If this cannot be found the hostname will be obtained from the standard ``hostname`` command.
386
386
Having retrieved the hostname, ReFrame goes through all the systems in its configuration and tries to match the hostname against any of the patterns in the ``hostnames`` attribute of `system configuration <#system-configuration>`__.
387
387
The detection process stops at the first match found, and the system it belongs to is considered as the current system.
388
388
If the system cannot be auto-detected, ReFrame will issue a warning and fall back to a generic system configuration, which is equivalent to the following:
0 commit comments