Interpretation of Returned Message Status
In C status is a structure of type MPI_Status
- status.source gives actual source process
- status.tag gives the actual message tag
In Fortran the status is an integer array and different elements give:
- in status(MPI_SOURCE) the actual source process
- in status(MPI_TAG) the actual message tag
In C and Fortran, the number of elements (called count) in the message can be found from call to
call MPI_GET_COUNT (IN status, IN datatype,
OUT count, OUT error_message)
- where as usual in C last argument is missing as returned in function call