Home | Trees | Indices | Help |
|
---|
|
MPI Request
There is no constructor for MPI Request objects. They are returned by nonblocking send and receives, and are used to query the status of the message.
Instance Methods | |||
|
|||
|
Method Details |
Test if communications have completed. If the operation was a nonblocking send, it returns 0 if the operation has not completed, and 1 if it has. If the operation was a nonblocking receive, 0 is returned if the operation was not completed, and a tuple containing four elements if it was completed. The four elements are: the array containing the data, the source process rank (an integer), the message tag (an integer), and the number of elements that were received (an integer). Once a test has been successful (i.e. the operation has completed), it is no longer possible to call wait() or test() on the MPI Request object. |
Wait till the communication has completed. If the operation was a nonblocking send, there is no return value. If the operation was a nonblocking receive, the return value is a tuple containing four elements: the array containing the data, the source process rank (an integer), the message tag (an integer), and the number of elements that were received (an integer). |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Dec 4 08:05:45 2008 | http://epydoc.sourceforge.net |