Skip to content

Commit

Permalink
Correcting comments about value of iter_init for recovered ranks.
Browse files Browse the repository at this point in the history
  • Loading branch information
rfvander authored and jeffhammond committed Dec 5, 2024
1 parent 71f9d7c commit 953e6ee
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions FENIX/Sparse/sparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion FENIX/Stencil/stencil.c
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down
2 changes: 1 addition & 1 deletion FENIX/Synch_p2p/p2p.c
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down
2 changes: 1 addition & 1 deletion FENIX/Transpose/transpose.c
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit 953e6ee

Please sign in to comment.