Command-line arguments for mpirun
![](/sites/default/files/docs/mpich/userguide/previous.jpg)
![](/sites/default/files/docs/mpich/userguide/up.jpg)
![](/sites/default/files/docs/mpich/userguide/next.jpg)
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 programstarts 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).
![](/sites/default/files/docs/mpich/userguide/previous.jpg)
![](/sites/default/files/docs/mpich/userguide/up.jpg)
![](/sites/default/files/docs/mpich/userguide/next.jpg)
Up: Debugging MPI programs Next: MPI arguments for the application program Previous: Error handlers