Basic HTML version of Foils prepared 10 Oct 1995

Foil 25 Interpretation of Returned Message Status

From Fox Presentation Fall 1995 CPS615 Basic Simulation Track for Computational Science -- Fall Semester 95. by Geoffrey C. Fox


1 In C status is a structure of type MPI_Status
  • status.source gives actual source process
  • status.tag gives the actual message tag
2 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
3 In C and Fortran, the number of elements (called count) in the message can be found from call to
4 MPI_GET_COUNT (IN status, IN datatype,
5 OUT count, OUT error_message)
  • where as usual in C last argument is missing as returned in function call

in Table To:


© on Tue Oct 7 1997