[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2-471-g8de843d
Service Account
noreply at mpich.org
Wed Oct 5 10:40:43 CDT 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".
The branch, master has been updated
via 8de843d4587ec9a8da1be4a6320f4a66d0f25b91 (commit)
from 887e0d30f8fe8e939a509aceed02324fef7eca38 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/8de843d4587ec9a8da1be4a6320f4a66d0f25b91
commit 8de843d4587ec9a8da1be4a6320f4a66d0f25b91
Author: Jeff Hammond <jeff.science at gmail.com>
Date: Wed Oct 5 05:39:55 2016 -0700
test/mpi: Use correct type for MPI_Datatype
Reported-by: Chris Ward <TJCW at uk.ibm.com>
Signed-off-by: Ken Raffenetti <raffenet at mcs.anl.gov>
diff --git a/test/mpi/coll/nonblocking.c b/test/mpi/coll/nonblocking.c
index 057480b..9d8dffb 100644
--- a/test/mpi/coll/nonblocking.c
+++ b/test/mpi/coll/nonblocking.c
@@ -34,7 +34,7 @@ int main(int argc, char **argv)
int *rcounts = NULL;
int *sdispls = NULL;
int *rdispls = NULL;
- int *types = NULL;
+ MPI_Datatype *types = NULL;
MPI_Comm comm;
MPI_Request req;
@@ -62,7 +62,7 @@ int main(int argc, char **argv)
my_assert(sdispls);
rdispls = malloc(size * sizeof(int));
my_assert(rdispls);
- types = malloc(size * sizeof(int));
+ types = malloc(size * sizeof(MPI_Datatype));
my_assert(types);
for (i = 0; i < size; ++i) {
diff --git a/test/mpi/errors/coll/noalias2.c b/test/mpi/errors/coll/noalias2.c
index 5b99ce6..b66e516 100644
--- a/test/mpi/errors/coll/noalias2.c
+++ b/test/mpi/errors/coll/noalias2.c
@@ -35,7 +35,7 @@ int main(int argc, char **argv)
int *rcounts = NULL;
int *sdispls = NULL;
int *rdispls = NULL;
- int *types = NULL;
+ MPI_Datatype *types = NULL;
MPI_Comm comm;
/* intentionally not using MTest_Init/MTest_Finalize in order to make it
@@ -64,7 +64,7 @@ int main(int argc, char **argv)
my_assert(sdispls);
rdispls = malloc(size * sizeof(int));
my_assert(rdispls);
- types = malloc(size * sizeof(int));
+ types = malloc(size * sizeof(MPI_Datatype));
my_assert(types);
for (i = 0; i < size; ++i) {
diff --git a/test/mpi/errors/coll/noalias3.c b/test/mpi/errors/coll/noalias3.c
index 6b8cf69..c95da3a 100644
--- a/test/mpi/errors/coll/noalias3.c
+++ b/test/mpi/errors/coll/noalias3.c
@@ -35,7 +35,7 @@ int main(int argc, char **argv)
int *rcounts = NULL;
int *sdispls = NULL;
int *rdispls = NULL;
- int *types = NULL;
+ MPI_Datatype *types = NULL;
MPI_Comm comm;
MPI_Request req;
@@ -65,7 +65,7 @@ int main(int argc, char **argv)
my_assert(sdispls);
rdispls = malloc(size * sizeof(int));
my_assert(rdispls);
- types = malloc(size * sizeof(int));
+ types = malloc(size * sizeof(MPI_Datatype));
my_assert(types);
for (i = 0; i < size; ++i) {
-----------------------------------------------------------------------
Summary of changes:
test/mpi/coll/nonblocking.c | 4 ++--
test/mpi/errors/coll/noalias2.c | 4 ++--
test/mpi/errors/coll/noalias3.c | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list