title | TOCTitle | ms:assetid | ms:mtpsurl | ms:contentKeyID | ms.date | mtps_version | f1_keywords | dev_langs | api_location | api_name | api_type | product | topic_type | product_family_name | ROBOTS | description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MPI_Test function |
MPI_Test function |
a0f641d4-3764-43fe-969e-354a8857e5b5 |
59361014 |
03/28/2018 |
v=VS.85 |
|
|
|
|
|
|
|
VS |
INDEX,FOLLOW |
Learn about the MPI_Test function on Microsoft's official site. Understand its syntax, parameters, return values, and how it operates in Fortran. |
Tests an outstanding operation for completion.
int MPIAPI MPI_Test(
_Inout_ MPI_Request *request,
_Out_ int *flag,
_Out_ MPI_Status *status
);
-
request [in, out]
A pointer to the MPI_Request handle of an outstanding operation. -
flag [out]
On return, contains a pointer to an integer that indicates whether the request is completed. A non-zero value indicates that the request is complete. -
status [out]
On return, contains a pointer to an MPI_Status object that describes the specified operation if it is complete.
Returns MPI_SUCCESS on success. Otherwise, the return value is an error code.
In Fortran, the return value is stored in the IERROR parameter.
MPI_WAIT(REQUEST, FLAG, STATUS, IERROR)
LOGICAL FLAG
INTEGER REQUEST, STATUS(MPI_STATUS_SIZE), IERROR
This function is a local operation. Successful completion does not depend on any operations at other processes.
If the operation that is associated with this request was a persistent communication operation, the persistent request is marked as inactive. Other operations are deallocated, and the request handle is set to MPI_REQUEST_NULL.
If the request parameter points to a value of MPI_REQUEST_NULL or to an inactive persistent request, then the function returns with the flag parameter set to a non-zero value and with the status parameter empty.
Product |
HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package or HPC Pack 2008 Client Utilities |
Header |
Mpi.h; Mpif.h |
Library |
Msmpi.lib |
DLL |
Msmpi.dll |