[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1.2-137-g9837750
Service Account
noreply at mpich.org
Tue Sep 2 10:22:50 CDT 2014
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 9837750d2c15fb63f936631921b026c1c4c0af94 (commit)
from 81bd43e1f18da6031891ad87d9fdec075d3e657c (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/9837750d2c15fb63f936631921b026c1c4c0af94
commit 9837750d2c15fb63f936631921b026c1c4c0af94
Author: Rob Latham <robl at mcs.anl.gov>
Date: Thu Aug 28 14:10:37 2014 -0500
clean up printf formatting warnings
Signed-off-by: Ken Raffenetti <raffenet at mcs.anl.gov>
diff --git a/test/mpi/datatype/longdouble.c b/test/mpi/datatype/longdouble.c
index f7fc3f4..4ebc551 100644
--- a/test/mpi/datatype/longdouble.c
+++ b/test/mpi/datatype/longdouble.c
@@ -35,7 +35,7 @@ int main(int argc, char *argv[])
if (MPI_LONG_DOUBLE != MPI_DATATYPE_NULL) {
MPI_Type_size(MPI_LONG_DOUBLE, &type_size);
if (type_size != sizeof(long double)) {
- printf("type_size != sizeof(long double) : (%zd != %zd)\n",
+ printf("type_size != sizeof(long double) : (%d != %zd)\n",
type_size, sizeof(long double));
++errs;
}
@@ -45,7 +45,7 @@ int main(int argc, char *argv[])
if (MPI_C_LONG_DOUBLE_COMPLEX != MPI_DATATYPE_NULL) {
MPI_Type_size(MPI_C_LONG_DOUBLE_COMPLEX, &type_size);
if (type_size != sizeof(long double _Complex)) {
- printf("type_size != sizeof(long double _Complex) : (%zd != %zd)\n",
+ printf("type_size != sizeof(long double _Complex) : (%d != %zd)\n",
type_size, sizeof(long double _Complex));
++errs;
}
diff --git a/test/mpi/pt2pt/big_count_status.c b/test/mpi/pt2pt/big_count_status.c
index 104a695..54410ed 100644
--- a/test/mpi/pt2pt/big_count_status.c
+++ b/test/mpi/pt2pt/big_count_status.c
@@ -23,7 +23,8 @@ int test_count(MPI_Count count)
MPI_Get_elements_x(&stat, MPI_BYTE, &bcount2);
MPI_Test_cancelled(&stat, &cancelled2);
if (bcount != bcount2) {
- fprintf(stderr, "Count Error: expected %lx, got %lx\n", bcount, bcount2);
+ fprintf(stderr, "Count Error: expected %llx, got %llx\n",
+ (long long int)bcount, (long long int)bcount2);
nerrs++;
}
if (cancelled != cancelled2) {
diff --git a/test/mpi/rma/win_shared_zerobyte.c b/test/mpi/rma/win_shared_zerobyte.c
index 2b9eac1..d128641 100644
--- a/test/mpi/rma/win_shared_zerobyte.c
+++ b/test/mpi/rma/win_shared_zerobyte.c
@@ -54,7 +54,7 @@ int main(int argc, char **argv)
MPI_Win_shared_query(shm_win, MPI_PROC_NULL, &size, &disp_unit, &abs_base);
if (verbose)
- printf("%d -- allocate shared: my_base = %p, absolute base\n", shm_rank, my_base, abs_base);
+ printf("%d -- allocate shared: my_base = %p, absolute base = %p\n", shm_rank, my_base, abs_base);
for (i = 0; i < shm_nproc; i++) {
MPI_Win_shared_query(shm_win, i, &size, &disp_unit, &bases[i]);
-----------------------------------------------------------------------
Summary of changes:
test/mpi/datatype/longdouble.c | 4 ++--
test/mpi/pt2pt/big_count_status.c | 3 ++-
test/mpi/rma/win_shared_zerobyte.c | 2 +-
3 files changed, 5 insertions(+), 4 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list