From 953e6ee916e0ab602950e6fdb9f3d2e584e4c5a3 Mon Sep 17 00:00:00 2001 From: rfvander Date: Mon, 10 Jul 2017 10:29:31 -0700 Subject: [PATCH] Correcting comments about value of iter_init for recovered ranks. --- FENIX/Sparse/sparse.c | 3 +-- FENIX/Stencil/stencil.c | 2 +- FENIX/Synch_p2p/p2p.c | 2 +- FENIX/Transpose/transpose.c | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/FENIX/Sparse/sparse.c b/FENIX/Sparse/sparse.c index c7c92ada6..0dfd82ce6 100644 --- a/FENIX/Sparse/sparse.c +++ b/FENIX/Sparse/sparse.c @@ -127,8 +127,7 @@ int main(int argc, char **argv){ row_offset; s64Int nent; /* number of nonzero entries */ double sparsity; /* fraction of non-zeroes in matrix */ - double local_sparse_time,/* timing parameters */ - sparse_time, + double sparse_time,/* timing parameters */ avgtime; double * RESTRICT matrix; /* sparse matrix entries */ double * RESTRICT vector; /* vector multiplying the sparse matrix */ diff --git a/FENIX/Stencil/stencil.c b/FENIX/Stencil/stencil.c index cec84e423..fd896dd71 100644 --- a/FENIX/Stencil/stencil.c +++ b/FENIX/Stencil/stencil.c @@ -351,7 +351,7 @@ int main(int argc, char ** argv) { MPI_Comm_rank(MPI_COMM_WORLD, &my_ID); MPI_Comm_size(MPI_COMM_WORLD, &Num_procs); - /* if rank is recovered, set iter to a negative number, to be increased + /* if rank is recovered, set iter to a large number, to be reduced to the actual value corresponding to the current iter value among survivor ranks; handle number of Fenix_Init calls similarly */ switch (fenix_status){ diff --git a/FENIX/Synch_p2p/p2p.c b/FENIX/Synch_p2p/p2p.c index 8547fb612..23e3d1dd9 100644 --- a/FENIX/Synch_p2p/p2p.c +++ b/FENIX/Synch_p2p/p2p.c @@ -272,7 +272,7 @@ int main(int argc, char ** argv) MPI_Comm_rank(MPI_COMM_WORLD, &my_ID); MPI_Comm_size(MPI_COMM_WORLD, &Num_procs); - /* if rank is recovered, set iter to a negative number, to be increased + /* if rank is recovered, set iter to a large number, to be reduced to the actual value corresponding to the current iter value among survivor ranks; handle number of Fenix_Init calls similarly */ switch (fenix_status){ diff --git a/FENIX/Transpose/transpose.c b/FENIX/Transpose/transpose.c index 317405da7..0ce4a01c1 100644 --- a/FENIX/Transpose/transpose.c +++ b/FENIX/Transpose/transpose.c @@ -341,7 +341,7 @@ int main(int argc, char ** argv) MPI_Comm_rank(MPI_COMM_WORLD, &my_ID); MPI_Comm_size(MPI_COMM_WORLD, &Num_procs); - /* if rank is recovered, set iter to a negative number, to be increased + /* if rank is recovered, set iter to a large number, to be reduced to the actual value corresponding to the current iter value among survivor ranks; handle number of Fenix_Init calls similarly */ switch (fenix_status){