summaryrefslogtreecommitdiffstats
path: root/perform/pio_perf.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2002-04-23 16:07:50 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2002-04-23 16:07:50 (GMT)
commitf980ab403a3dc56ecff2631fb664e78dc3cd0afe (patch)
tree937f0b1ba438143dbab22f7c1f3d5b75228ff2ca /perform/pio_perf.c
parentf99a4120573eb8bcededc20a91be8fa520d4ebfa (diff)
downloadhdf5-f980ab403a3dc56ecff2631fb664e78dc3cd0afe.zip
hdf5-f980ab403a3dc56ecff2631fb664e78dc3cd0afe.tar.gz
hdf5-f980ab403a3dc56ecff2631fb664e78dc3cd0afe.tar.bz2
[svn-r5232] Purpose:
Bug fix Description: The symbol "RAW" is already defined in some ioctl.h files. Changed it to RAWIO. Platforms tested: Tflops. (I am commiting this from TFLOPS. Will check it out immediate to test on local machines.)
Diffstat (limited to 'perform/pio_perf.c')
-rw-r--r--perform/pio_perf.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/perform/pio_perf.c b/perform/pio_perf.c
index 557f9bd..622f911 100644
--- a/perform/pio_perf.c
+++ b/perform/pio_perf.c
@@ -13,7 +13,7 @@
* This is what the report should look like:
*
* nprocs = Max#Procs
- * IO Type = Raw
+ * IO Type = RAWIO
* # Files = 1, # of dsets = 1000, Elements per dset = 37000
* Write Results = x MB/s
* Read Results = x MB/s
@@ -312,7 +312,7 @@ finish:
* number by 2 and rerun the test.
*
* - The second slowest is what type of IO to perform. We have
- * three choices: RAW, MPI-IO, and PHDF5.
+ * three choices: RAWIO, MPI-IO, and PHDF5.
*
* - Then we change the size of the buffer. This information is
* inferred from the number of datasets to create and the number
@@ -381,7 +381,7 @@ run_test_loop(FILE *output, struct options *opts)
parms.num_files, parms.num_dsets, parms.num_elmts);
if (io_runs & PIO_RAW)
- run_test(output, RAW, parms);
+ run_test(output, RAWIO, parms);
if (io_runs & PIO_MPI)
run_test(output, MPIO, parms);
@@ -427,7 +427,7 @@ run_test(FILE *output, iotype iot, parameters parms)
output_report(output, "Type of IO = ");
switch (iot) {
- case RAW:
+ case RAWIO:
output_report(output, "Raw\n");
break;
case MPIO:
@@ -787,10 +787,10 @@ print_indent(register FILE *output, register int indent)
MPI_Comm_rank(pio_comm_g, &myrank);
if (myrank == 0) {
- indent *= TAB_SPACE;
+ indent *= TAB_SPACE;
- for (; indent > 0; --indent)
- fputc(' ', output);
+ for (; indent > 0; --indent)
+ fputc(' ', output);
}
}