Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] MPI_Testsome with incount=0, NULL array_of_indices and array_of_statuses causes MPI_ERR_ARG
From: Jeffrey Squyres (jsquyres_at_[hidden])
Date: 2012-03-13 13:25:04

On Mar 9, 2012, at 5:17 PM, Jeremiah Willcock wrote:

> On Open MPI 1.5.1, when I call MPI_Testsome with incount=0 and the two output arrays NULL, I get an argument error (MPI_ERR_ARG). Is this the intended behavior? If incount=0, no requests can complete, so the output arrays can never be written to. I do not see anything in the MPI 2.2 standard that says either way whether this is allowed.

I have no strong opinions here, so I coded up a patch to just return MPI_SUCCESS in this scenario (attached).

If no one objects, we can probably get this in 1.6.

Jeff Squyres
For corporate legal information go to: