To start a new MPI job under the debugger's control:
If you use MPICH, enter the following command in a shell:
mpirun -dbg=idb -np number_of_processes [ other_MPICH_options ] executable_filename [ application_arguments ]
If you use Intel® MPI 3.0
mpiexec -idb -n number_of_processes [ other_Intel_MPI_options ] executable_filename [ application_arguments ]
If you use prun
idb [ idb_options ] -parallel ‘which prun` -n number_of_processes -N Number_of_nodes [ other_prun_options ] application [ application_arguments ]
When the debugger starts your parallel application, it detects and attaches to all of your application's processes. At this point, your application stops before executing any user code and the debugger displays a prompt.
You can now set any necessary breakpoints and use the continue command to continue the execution of your application.
Copyright © 1996-2010, Intel Corporation. All rights reserved.