Profile MPMD programs
The easiest way to profile MPMD programs is by using Express Launch to start your program.
To use Express Launch, prefix your normal MPMD launch line with
map
. For example, to profile an MPMD program without user
interaction you can use:
map --profile mpirun -n 1 ./main : -n 2 ./worker
For more information about Express Launch, and compatible MPI implementations, see Express Launch (MAP).