[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2a2-29-g3feca48
Service Account
noreply at mpich.org
Wed Dec 3 13:44:50 CST 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 3feca48f0a8d869e0dbe5d8155ce534c58a9a655 (commit)
from 8bdfaf741104f88c27b8a845d4ca325ad5005122 (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/3feca48f0a8d869e0dbe5d8155ce534c58a9a655
commit 3feca48f0a8d869e0dbe5d8155ce534c58a9a655
Author: Ken Raffenetti <raffenet at mcs.anl.gov>
Date: Wed Nov 26 14:55:55 2014 -0600
fixups for revoke_shrink test
Add the MPICH copyright header and remove C99 variable declaration
in for loop.
Signed-off-by: Wesley Bland <wbland at anl.gov>
diff --git a/test/mpi/ft/revoke_shrink.c b/test/mpi/ft/revoke_shrink.c
index cba2e05..2e30213 100644
--- a/test/mpi/ft/revoke_shrink.c
+++ b/test/mpi/ft/revoke_shrink.c
@@ -1,3 +1,10 @@
+/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
+/*
+ *
+ * (C) 2014 by Argonne National Laboratory.
+ * See COPYRIGHT in top-level directory.
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
@@ -19,7 +26,7 @@ void error_handler(MPI_Comm *communicator, int *error_code, ...) {
}
int main(int argc, char *argv[]) {
- int rank, size;
+ int rank, size, i;
int sum = 0, val = 1;
int errs = 0;
MPI_Errhandler errhandler;
@@ -38,7 +45,7 @@ int main(int argc, char *argv[]) {
MPI_Comm_create_errhandler(&error_handler, &errhandler);
MPI_Comm_set_errhandler(comm_all, errhandler);
- for (int i = 0; i < 10; ++i) {
+ for (i = 0; i < 10; ++i) {
MPI_Comm_size(comm_all, &size);
sum = 0;
if (i == 5 && rank == 1) {
-----------------------------------------------------------------------
Summary of changes:
test/mpi/ft/revoke_shrink.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list