Skip to content

Commit eafcae7

Browse files
authored
Merge pull request #11615 from qkoziol/v5.0.x
Bring FAQ retirement changes over
2 parents d05c583 + 0f6f306 commit eafcae7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2732
-3157
lines changed

docs/Makefile.am

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ RST_SOURCE_FILES = \
4444
$(srcdir)/tuning-apps/*.rst \
4545
$(srcdir)/tuning-apps/*/*.rst \
4646
$(srcdir)/app-debug/*.rst \
47-
$(srcdir)/faq/*.rst \
4847
$(srcdir)/developers/*.rst \
4948
$(srcdir)/license/*.rst \
5049
$(srcdir)/news/*.rst \

docs/app-debug/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ that can aid debugging.
2323
debug-tools
2424
debug-options
2525
serial-debug
26+
parallel-debug
2627
lost-output
2728
memchecker
2829
valgrind

docs/app-debug/mpir-tools.rst

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _using-mpir-based-tools-label:
2+
13
Using MPIR-based tools with Open MPI
24
====================================
35

@@ -11,27 +13,29 @@ This specification has been replaced by the PMIx tools API that is part of the
1113
`OpenPMIx project <https://openpmix.github.io/>`_.
1214

1315
Debuggers and tools which use the legacy MPIR specification can
14-
continue functioning correctly with the *MPIR shim module* described
15-
in this section.
16+
continue functioning correctly with the `MPIR shim module
17+
<https://github.com/hpc/mpir-to-pmix-guide>`_ described in this
18+
section.
1619

1720
Obtaining Application Process Mapping Information
1821
-------------------------------------------------
1922

20-
The *MPIR shim module* is a stand-alone module which can be used by
21-
debuggers and tools that still utilize the legacy MPIR interface to
22-
attach to parallel MPI applications. The debugger or tool launches
23-
the shim module as an intermediate process between it and the
24-
application's :ref:`mpirun(1) <man1-mpirun>` command.
23+
The `MPIR shim module <https://github.com/hpc/mpir-to-pmix-guide>`_ is
24+
a stand-alone module which can be used by debuggers and tools that
25+
still utilize the legacy MPIR interface to attach to parallel MPI
26+
applications. The debugger or tool launches the shim module as an
27+
intermediate process between it and the application's :ref:`mpirun(1)
28+
<man1-mpirun>` command.
2529

2630
The MPIR shim module implements the ``MPIR_Breakpoint`` function, as a
2731
hook where debuggers and tools can set a breakpoint to read the MPIR
2832
processing mapping when it is available.
2933

3034
Instructions for use of the shim module are available at
31-
`<https://github.com/hpc/mpir-to-pmix-guide/blob/master/README.md>`_.
35+
https://github.com/hpc/mpir-to-pmix-guide/blob/master/README.md.
3236

33-
You may need to build this module before you can use it. The source code for this
34-
module can be downloaded from
37+
You may need to build this shim module before you can use it. The
38+
source code for this module can be downloaded from
3539
`MPIR to PMIx Shim repository <https://github.com/hpc/mpir-to-pmix-guide>`_.
3640

3741
Once you have the MPIR shim module built and installed, follow the

docs/app-debug/parallel-debug.rst

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
Using Parallel Debuggers to Debug Open MPI Applications
2+
=======================================================
3+
4+
Debugging with TotalView
5+
~~~~~~~~~~~~~~~~~~~~~~~~
6+
7+
Debugging MPI applications has changed with different releases of
8+
TotalView and Open MPI; it is best to consult TotalView's
9+
documentation for how you should debug Open MPI applications with
10+
TotalView.
11+
12+
Starting with Open MPI v5.0.0, debugging with Totalview requires the
13+
use of the MPIR shim module to attach to MPI processes. See the
14+
:ref:`using MPIR-based tools with Open MPI section
15+
<using-mpir-based-tools-label>` for instructions on building and
16+
installing the MPIR shim module.
17+
18+
Once TotalView is attached to Open MPI processes, it can also view
19+
Open MPI's message queues (for some transports), which can aid in
20+
debugging.
21+
22+
.. note:: The integration of Open MPI message queue support is
23+
problematic with 64-bit versions of TotalView prior to v8.3:
24+
25+
* The message queues view will be truncated.
26+
* Both the communicators and requests lists will be incomplete.
27+
* Both the communicators and requests lists may be filled with wrong
28+
values (such as an ``MPI_Send`` to the destination
29+
``MPI_ANY_SOURCE``).
30+
31+
There are two workarounds:
32+
33+
* Use a 32-bit version of TotalView
34+
* Upgrade to TotalView v8.3 or later
35+
36+
Debugging with DDT
37+
~~~~~~~~~~~~~~~~~~
38+
39+
Debugging MPI application with DDT has changed with different releases
40+
of DDT and Open MPI; it is best to consult DDT's documentation for how
41+
you should debug Open MPI applications with DDT.

docs/building-apps/index.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,13 @@ Open MPI "wrapper" compilers.
1313
removed-mpi-constructs
1414
deprecation-warnings
1515
building-static-apps
16+
17+
.. warning:: Open MPI does not attempt to interoperate with other MPI
18+
implementations, nor executables that were compiled for
19+
them. MPI applications need to be compiled and linked
20+
with Open MPI in order to run under Open MPI.
21+
22+
See the :doc:`section on Open MPI's version numbering
23+
scheme </version-numbering>` for information about binary
24+
compatibility between different versions of Open MPI for
25+
applications compiled with another version.

docs/faq/building-open-mpi.rst

Lines changed: 0 additions & 162 deletions
This file was deleted.

0 commit comments

Comments
 (0)