Intel® MPI Library Developer Guide for Windows* OS

ID 768730
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Using -gtool for Debugging

The -gtool runtime option can help you with debugging, when attaching to several processes at once. Instead of attaching to each process individually, you can specify all the processes in a single command line. For example:

> mpiexec -n 16 -gtool "gdb:3,5,7-9=attach" myprog.exe

The command line above attaches the GNU* Debugger (GDB*) to processes 3, 5, 7, 8 and 9.

See Also

Intel® MPI Library Developer Reference, topic gtool Options.