diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2001-05-13 12:24:44 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2001-05-13 12:24:44 (GMT) |
commit | 83f26c15a2e73c5bc0c1c50e482d106b132c5394 (patch) | |
tree | da6970fc2183aa1cfd4c02c957ebfb4c4d05d716 | |
parent | b9bcf81f6b5cdc558b8b69826f7978ac8432e555 (diff) | |
download | hdf5-83f26c15a2e73c5bc0c1c50e482d106b132c5394.zip hdf5-83f26c15a2e73c5bc0c1c50e482d106b132c5394.tar.gz hdf5-83f26c15a2e73c5bc0c1c50e482d106b132c5394.tar.bz2 |
[svn-r3929] Purpose:
Cleanup old unused code. Edited couple comments.
Platforms tested:
modi4,pp
-rw-r--r-- | testpar/mpi-perf.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/testpar/mpi-perf.c b/testpar/mpi-perf.c index 3d40eb8..7b8cf4c 100644 --- a/testpar/mpi-perf.c +++ b/testpar/mpi-perf.c @@ -140,16 +140,14 @@ int main(int argc, char **argv) goto die_jar_jar_die; } - /* now repeat the seek and write operations the number of times + /* now repeat the write operations the number of times * specified on the command line */ for (j=0; j < opt_iter; j++) { - /* seek to an appropriate position depending on the iteration and - * rank of the current process */ + /* calculate the appropriate position depending on the iteration + * and rank of the current process */ seek_position = (j*iter_jump)+(mynod*opt_block); -/* MPI_File_seek(fh, seek_position, MPI_SEEK_SET);*/ - if (opt_correct) /* fill in buffer for iteration */ { for (i=mynod+j, check=buf; i<opt_block; i++,check++) *check=(char)i; } @@ -194,10 +192,9 @@ int main(int argc, char **argv) /* we are going to repeat the read operation the number of iterations * specified */ for (j=0; j < opt_iter; j++) { - /* seek to the appropriate spot give the current iteration and + /* calculate the appropriate spot give the current iteration and * rank within the MPI processes */ seek_position = (j*iter_jump)+(mynod*opt_block); -/* MPI_File_seek(fh, seek_position, MPI_SEEK_SET);*/ /* discover the start time */ MPI_Barrier(MPI_COMM_WORLD); |