Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MPI_Address didn't return MPI_SUCCESS on success
authorAugustin Degomme <degomme@idpann.imag.fr>
Tue, 25 Sep 2012 12:56:36 +0000 (14:56 +0200)
committerAugustin Degomme <degomme@idpann.imag.fr>
Wed, 26 Sep 2012 12:55:26 +0000 (14:55 +0200)
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;