Skip to content

Commit 76b13f9

Browse files
authored
Merge pull request #12365 from lahwaacz/fix-docs
Fix documentation of the mca_base_component_show_load_errors MCA variable
2 parents cb00772 + fc1c7ab commit 76b13f9

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

docs/installing-open-mpi/configure-cli-options/installation.rst

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -289,15 +289,13 @@ be used with ``configure``:
289289
you do not have support for Libfabric and will
290290
automatically skip the ``ofi`` CM component.
291291

292-
* ``--disable-show-load-errors-by-default``:
292+
* ``--with-show-load-errors=VALUE``:
293293
Set the default value of the ``mca_base_component_show_load_errors``
294-
MCA variable: the ``--enable`` form of this option sets the MCA
295-
variable to true, the ``--disable`` form sets the MCA variable to
296-
false. The MCA ``mca_base_component_show_load_errors`` variable can
297-
still be overridden at run time via the usual MCA-variable-setting
294+
MCA variable. The MCA ``mca_base_component_show_load_errors`` variable
295+
can still be overridden at run time via the usual MCA-variable-setting
298296
mechanisms; this configure option simply sets the default value.
299297

300-
The ``--disable`` form of this option is intended for Open MPI
298+
The ``no``/``none`` value of this option is intended for Open MPI
301299
packagers who tend to enable support for many different types of
302300
networks and systems in their packages. For example, consider a
303301
packager who includes support for both the FOO and BAR networks in
@@ -309,14 +307,19 @@ be used with ``configure``:
309307
the FOO components failing to load because ``libFOO.so`` is not
310308
available on their systems.
311309

312-
Conversely, system administrators tend to build an Open MPI that is
310+
Conversely, the ``yes``/``all`` value of this option is intended for
311+
system administrators who tend to build an Open MPI that is
313312
targeted at their specific environment, and contains few (if any)
314313
components that are not needed. In such cases, they might want
315314
their users to be warned that the FOO network components failed to
316315
load (e.g., if ``libFOO.so`` was mistakenly unavailable), because Open
317316
MPI may otherwise silently failover to a slower network path for MPI
318317
traffic.
319318

319+
.. note:: See the section on :ref:`common MCA parameters
320+
<label-mca-common-parameters>` for details related to the
321+
``mca_base_component_show_load_errors`` MCA variable.
322+
320323
* ``--with-platform=FILE``:
321324
Load configure options for the build from ``FILE``. Options on the
322325
command line that are not in ``FILE`` are also used. Options on the

docs/mca.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,8 @@ clearly contradict each other.
521521

522522
/////////////////////////////////////////////////////////////////////////
523523

524+
.. _label-mca-common-parameters:
525+
524526
Common MCA parameters
525527
---------------------
526528

@@ -593,7 +595,7 @@ presented here so that they can easily be found via internet searches:
593595
.. important:: You can only use the "include" *or* the "exclude"
594596
parameter |mdash| they are mutually exclusive from each
595597
other.
596-
* ``opal_mca_base_component_show_load_errors``: By default, Open MPI
598+
* ``mca_base_component_show_load_errors``: By default, Open MPI
597599
emits a warning message if it fails to open a DSO component at run
598600
time. This typically happens when a shared library that the DSO
599601
requires is not available.

0 commit comments

Comments
 (0)