Skip to content

Commit

Permalink
Finalize new docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarak committed Apr 12, 2024
1 parent f11ed0e commit db9a8f0
Show file tree
Hide file tree
Showing 33 changed files with 27 additions and 1,951 deletions.
22 changes: 19 additions & 3 deletions docs/config_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Configuration Reference
***********************

ReFrame's behavior can be configured through its configuration file (see :doc:`configure`), environment variables and command-line options.
ReFrame's behavior can be configured through its configuration file, environment variables and command-line options.
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.
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.

Expand Down Expand Up @@ -572,7 +572,24 @@ System Partition Configuration
:default: ``{}``

Processor information for this partition stored in a `processor info object <#processor-info>`__.
If not set, ReFrame will try to auto-detect this information (see :ref:`proc-autodetection` for more information).
If not set, ReFrame will try to determine this information as follows:

#. If the processor configuration metadata file in ``~/.reframe/topology/{system}-{part}/processor.json`` exists, the topology information is loaded from there.
These files are generated automatically by ReFrame from previous runs.

#. If the corresponding metadata files are not found, the processor information will be auto-detected.
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.
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.
In that case, the steps to auto-detect the remote processor information are the following:

a. ReFrame creates a fresh clone of itself in a temporary directory created under ``.`` by default.
This temporary directory prefix can be changed by setting the :envvar:`RFM_REMOTE_WORKDIR` environment variable.
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``.
The :option:`--detect-host-topology` option causes ReFrame to detect the topology of the current host,
which in this case would be the remote compute nodes.

In case of errors during auto-detection, ReFrame will simply issue a warning and continue.


.. versionadded:: 3.5.0

Expand Down Expand Up @@ -1653,7 +1670,6 @@ General Configuration

Try to auto-detect processor information of remote partitions as well.
This may slow down the initialization of the framework, since it involves submitting auto-detection jobs to the remote partitions.
For more information on how ReFrame auto-detects processor information, you may refer to :ref:`proc-autodetection`.

.. versionadded:: 3.7.0

Expand Down
515 changes: 0 additions & 515 deletions docs/configure.rst

This file was deleted.

3 changes: 1 addition & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ Webinars and Tutorials
:caption: Table of Contents

started
whats_new_40
tutorial
howto
configure
topics
manuals
whats_new_40
hpctestlib
146 changes: 0 additions & 146 deletions docs/listings/alltests_daint.txt

This file was deleted.

23 changes: 0 additions & 23 deletions docs/listings/hello1.txt

This file was deleted.

46 changes: 0 additions & 46 deletions docs/listings/hello2.txt

This file was deleted.

100 changes: 0 additions & 100 deletions docs/listings/hello2_list_verbose.txt

This file was deleted.

0 comments on commit db9a8f0

Please sign in to comment.