Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "[SMPI] Fix wrong return value in MPI_Testany."
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Wed, 15 Jun 2016 08:26:44 +0000 (10:26 +0200)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Wed, 15 Jun 2016 08:26:44 +0000 (10:26 +0200)
commitcff96d166c09ca86f6ed3563bb47fbdeddfbc80a
tree81ca1c146fa931525550225960e6ff616dd0c6dc
parent78c46677679a2dea291a739acdf387472c39e06d
Revert "[SMPI] Fix wrong return value in MPI_Testany."

This reverts commit efcf0fb465cf0465c462fc28a830ccd4d6b6b13c.

The reason I reverted again is that the standard does actually state

"The array may contain null or inactive handles. If the array contains
no active handles then the call returns immediately with flag = true,
index = MPI_UNDEFINED , and an empty status."

This is a corner case and was correctly handled here.
src/smpi/smpi_base.cpp