Command-line arguments for mpirun


Up: Debugging MPI programs Next: MPI arguments for the application program Previous: Error handlers

mpirun provides some help in starting programs with a debugger.

mpirun -dbx -np 2 program 
starts program on two machines, with the local one running under the dbx debugger. The option -gdb selects the gdb debugger instead. The option -xxgdb allows you to use the xxgdb (X Window GUI interface to gdb).



Up: Debugging MPI programs Next: MPI arguments for the application program Previous: Error handlers