We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e5dbcf8 + 554a397 commit 77d7617Copy full SHA for 77d7617
ompi/mpi/c/startall.c
@@ -59,7 +59,7 @@ int MPI_Startall(int count, MPI_Request requests[])
59
if ( MPI_PARAM_CHECK ) {
60
int rc = MPI_SUCCESS;
61
OMPI_ERR_INIT_FINALIZE(FUNC_NAME);
62
- if (NULL == requests) {
+ if ((NULL == requests) && (0 != count)) {
63
rc = MPI_ERR_REQUEST;
64
} else if (count < 0) {
65
rc = MPI_ERR_ARG;
0 commit comments