Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MPI_Address didn't return MPI_SUCCESS on success
[simgrid.git] / src / smpi / smpi_pmpi.c
index 16fccc0..d730222 100644 (file)
@@ -125,6 +125,7 @@ int PMPI_Address(void *location, MPI_Aint * address)
     retval = MPI_ERR_ARG;
   } else {
     *address = (MPI_Aint) location;
     retval = MPI_ERR_ARG;
   } else {
     *address = (MPI_Aint) location;
+    retval = MPI_SUCCESS;
   }
   smpi_bench_begin();
   return retval;
   }
   smpi_bench_begin();
   return retval;