|
2 | 2 | Configuration Reference |
3 | 3 | *********************** |
4 | 4 |
|
5 | | -ReFrame's behavior can be configured through its configuration file (see :doc:`configure`), environment variables and command-line options. |
| 5 | +ReFrame's behavior can be configured through its configuration file, 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. |
7 | 7 | This section provides a complete reference guide of the configuration options of ReFrame that can be set in its configuration file or specified using environment variables. |
8 | 8 |
|
@@ -577,7 +577,24 @@ System Partition Configuration |
577 | 577 | :default: ``{}`` |
578 | 578 |
|
579 | 579 | Processor information for this partition stored in a `processor info object <#processor-info>`__. |
580 | | - If not set, ReFrame will try to auto-detect this information (see :ref:`proc-autodetection` for more information). |
| 580 | + If not set, ReFrame will try to determine this information as follows: |
| 581 | + |
| 582 | + #. If the processor configuration metadata file in ``~/.reframe/topology/{system}-{part}/processor.json`` exists, the topology information is loaded from there. |
| 583 | + These files are generated automatically by ReFrame from previous runs. |
| 584 | + |
| 585 | + #. If the corresponding metadata files are not found, the processor information will be auto-detected. |
| 586 | + If the system partition is local (i.e., ``local`` scheduler + ``local`` launcher), the processor information is auto-detected unconditionally and stored in the corresponding metadata file for this partition. |
| 587 | + If the partition is remote, ReFrame will not try to auto-detect it unless the :envvar:`RFM_REMOTE_DETECT` or the :attr:`general.remote_detect` configuration option is set. |
| 588 | + In that case, the steps to auto-detect the remote processor information are the following: |
| 589 | + |
| 590 | + a. ReFrame creates a fresh clone of itself in a temporary directory created under ``.`` by default. |
| 591 | + This temporary directory prefix can be changed by setting the :envvar:`RFM_REMOTE_WORKDIR` environment variable. |
| 592 | + b. ReFrame changes to that directory and launches a job that will first bootstrap the fresh clone and then run that clone with ``{launcher} ./bin/reframe --detect-host-topology=topo.json``. |
| 593 | + The :option:`--detect-host-topology` option causes ReFrame to detect the topology of the current host, |
| 594 | + which in this case would be one of the remote compute nodes. |
| 595 | + |
| 596 | + In case of errors during auto-detection, ReFrame will simply issue a warning and continue. |
| 597 | + |
581 | 598 |
|
582 | 599 | .. versionadded:: 3.5.0 |
583 | 600 |
|
@@ -1670,7 +1687,6 @@ General Configuration |
1670 | 1687 |
|
1671 | 1688 | Try to auto-detect processor information of remote partitions as well. |
1672 | 1689 | This may slow down the initialization of the framework, since it involves submitting auto-detection jobs to the remote partitions. |
1673 | | - For more information on how ReFrame auto-detects processor information, you may refer to :ref:`proc-autodetection`. |
1674 | 1690 |
|
1675 | 1691 | .. versionadded:: 3.7.0 |
1676 | 1692 |
|
|
0 commit comments