Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Iprobe was actually ignored if MPI_STATUS_IGNORE was set, which is a bug.
authordegomme <augustin.degomme@unibas.ch>
Tue, 11 Apr 2017 12:28:55 +0000 (14:28 +0200)
committerdegomme <augustin.degomme@unibas.ch>
Tue, 11 Apr 2017 12:29:29 +0000 (14:29 +0200)
src/smpi/smpi_pmpi.cpp

index c6082e4..a35f124 100644 (file)
@@ -1178,7 +1178,7 @@ int PMPI_Iprobe(int source, int tag, MPI_Comm comm, int* flag, MPI_Status* statu
   int retval = 0;
   smpi_bench_end();
 
-  if ((flag == nullptr) || (status == nullptr)) {
+  if (flag == nullptr) {
     retval = MPI_ERR_ARG;
   } else if (comm == MPI_COMM_NULL) {
     retval = MPI_ERR_COMM;