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
Each system is associated with a set of properties, which in this case are the following:
74
74
75
75
* ``name``: The name of the system.
76
76
This should be an alphanumeric string (dashes ``-`` are allowed) and it will be used to refer to this system in other contexts.
77
77
* ``descr``: A detailed description of the system.
78
78
* ``hostnames``: This is a list of hostname patterns following 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 automatically select a configuration entry for the current system.
79
-
* ``modules_system``: In our example, this is only defined for Piz Daint and refers to the environment modules system that should be used for loading environment modules on this system.
80
-
In this case, the classic Tcl implementation of the `environment modules <https://sourceforge.net/projects/modules/files/Modules/modules-3.2.10/>`__.
81
-
For a complete list of the supported modules systems, see `here <config_reference.html#.systems[].modules_system>`__.
79
+
* ``modules_system``: This refers to the modules management backend which should be used for loading environment modules on this system.
80
+
Multiple backends are supported, as well as the special ``nomod`` backend which implements the different modules system operations as no-ops.
81
+
For the complete list of the supported modules systems, see `here <config_reference.html#.systems[].modules_system>`__.
82
82
* ``partitions``: The list of partitions that are defined for this system.
83
83
Each partition is defined as a separate object.
84
84
We devote the rest of this section in system partitions, since they are an essential part of ReFrame's configuration.
@@ -90,7 +90,7 @@ The ``login`` partition refers to the login nodes of the system, whereas the ``g
90
90
Let's pick the ``gpu`` partition and look into it in more detail:
For each partition, users can define a list of container platforms supported using the :js:attr:`container_platforms` `configuration parameter <config_reference.html#.systems[].partitions[].container_platforms>`__.
Here we define a system named ``catalina`` that has one partition named ``default``.
332
332
This partition makes no use of any `workload manager <config_reference.html#.systems[].partitions[].scheduler>`__, but instead launches any jobs locally as OS processes.
@@ -336,8 +336,8 @@ Notice, how you can define the actual commands for invoking the C, C++ and Fortr
336
336
As soon as a programming environment defines the different compilers, ReFrame will automatically pick the right compiler based on the source file extension.
337
337
In addition to C, C++ and Fortran programs, ReFrame will recognize the ``.cu`` extension as well and will try to invoke the ``nvcc`` compiler for CUDA programs.
338
338
339
-
Finally, the new system that we defined may be identified by the hostname ``tresa`` (see the :js:attr:`hostnames` configuration parameter).
340
-
This will help ReFrame to automatically pick the right configuration when running on it.
339
+
Finally, the new system that we defined may be identified by the hostname ``tresa`` (see the :js:attr:`hostnames` configuration parameter) and it will not use any environment modules system (see the :js:attr:`modules_system` configuration parameter).
340
+
The :js:attr:`hostnames` attribute will help ReFrame to automatically pick the right configuration when running on it.
341
341
Notice, how the ``generic`` system matches any hostname, so that it acts as a fallback system.
0 commit comments