Debugging MPI
-q option prints message queue contents
$ legion_mpi_debug /mpi/programs/mpi_app
Process 0: Broadcasting message dest 2 comm 8101e60
Process 1: in MPI_Recv source 0 tag 0 comm 8101e60
Process 2: in MPI_Recv source 1 tag 0 comm 8101e60
Process 3: in MPI_Recv source 2 tag 0 comm 8101e60