Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Iprobe was actually ignored if MPI_STATUS_IGNORE was set, which is a bug.
[simgrid.git] / 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;