File: parallel-debug.rst

package info (click to toggle)
openmpi 5.0.8-4
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 201,684 kB
  • sloc: ansic: 613,078; makefile: 42,353; sh: 11,194; javascript: 9,244; f90: 7,052; java: 6,404; perl: 5,179; python: 1,859; lex: 740; fortran: 61; cpp: 20; tcl: 12
file content (41 lines) | stat: -rw-r--r-- 1,534 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Using Parallel Debuggers to Debug Open MPI Applications
=======================================================

Debugging with TotalView
~~~~~~~~~~~~~~~~~~~~~~~~

Debugging MPI applications has changed with different releases of
TotalView and Open MPI; it is best to consult TotalView's
documentation for how you should debug Open MPI applications with
TotalView.

Starting with Open MPI v5.0.0, debugging with Totalview requires the
use of the MPIR shim module to attach to MPI processes.  See the
:ref:`using MPIR-based tools with Open MPI section
<using-mpir-based-tools-label>` for instructions on building and
installing the MPIR shim module.

Once TotalView is attached to Open MPI processes, it can also view
Open MPI's message queues (for some transports), which can aid in
debugging.

.. note:: The integration of Open MPI message queue support is
   problematic with 64-bit versions of TotalView prior to v8.3:

   * The message queues view will be truncated.
   * Both the communicators and requests lists will be incomplete.
   * Both the communicators and requests lists may be filled with wrong
     values (such as an ``MPI_Send`` to the destination
     ``MPI_ANY_SOURCE``).

   There are two workarounds:

   * Use a 32-bit version of TotalView
   * Upgrade to TotalView v8.3 or later

Debugging with DDT
~~~~~~~~~~~~~~~~~~

Debugging MPI application with DDT has changed with different releases
of DDT and Open MPI; it is best to consult DDT's documentation for how
you should debug Open MPI applications with DDT.