MPUTIL_MYRANK

Provide the rank of the process

Notes

This returns the rank in MPI_COMM_WORLD of the calling process in the parallel case. In the non-parallel case, the result is always 0.