Status

class Status

Wrapper around MPI_Status.

Public Functions

inline Status()

Construct empty Status object.

inline int source() const

Get the source of the message.

Returns:

Source of the message (i.e. rank ID)

inline int tag() const

Get the message tag.

Returns:

Message tag

inline int error() const

Get the error code.

Returns:

Error code

template<typename T>
inline int count() const

Gets the number of “top level” elements.

Template Parameters:

T – datatype of each receive buffer element

Returns:

The number of “top level” elements