diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-19 16:06:55 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-19 16:06:55 (GMT) |
commit | ea052ffd55cabca3ef756a7f44e7f3f2fa32b679 (patch) | |
tree | b7c28b9fa9d1552d5a0bcfbaba686d925d5470a5 /testpar/t_mpi.c | |
parent | 29a0f3e3586080a69f0048bf79dec5e9749fcb5d (diff) | |
download | hdf5-ea052ffd55cabca3ef756a7f44e7f3f2fa32b679.zip hdf5-ea052ffd55cabca3ef756a7f44e7f3f2fa32b679.tar.gz hdf5-ea052ffd55cabca3ef756a7f44e7f3f2fa32b679.tar.bz2 |
[svn-r5674] Purpose:
Code cleanup
Description:
Removed more compiler warnings, etc.
Platforms tested:
Linux 2.2.x (eirene) w/parallel
Diffstat (limited to 'testpar/t_mpi.c')
-rw-r--r-- | testpar/t_mpi.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/testpar/t_mpi.c b/testpar/t_mpi.c index 8f6b55a..3a28146 100644 --- a/testpar/t_mpi.c +++ b/testpar/t_mpi.c @@ -26,7 +26,6 @@ hid_t fapl; /* file access property list */ /* protocols */ static void test_mpio_overlap_writes(char *filename); static void test_mpio_gb_file(char *filename); -static void test_mpio_gb_file(char *filename); static int parse_options(int argc, char **argv); static void usage(void); @@ -282,13 +281,13 @@ test_mpio_gb_file(char *filename) for (i=ntimes-2; i <= ntimes; i++){ mpi_off = (i*mpi_size + mpi_rank)*(MPI_Offset)MB; if (verbose) - printf("proc %d: write to mpi_off=%016llx, %lld\n", + HDfprintf(stdout,"proc %d: write to mpi_off=%016llx, %lld\n", mpi_rank, mpi_off, mpi_off); /* set data to some trivial pattern for easy verification */ for (j=0; j<MB; j++) *(buf+j) = i*mpi_size + mpi_rank; if (verbose) - printf("proc %d: writing %d bytes at offset %lld\n", + HDfprintf(stdout,"proc %d: writing %d bytes at offset %lld\n", mpi_rank, MB, mpi_off); mrc = MPI_File_write_at(fh, mpi_off, buf, MB, MPI_BYTE, &mpi_stat); INFO((mrc==MPI_SUCCESS), "GB size file write"); @@ -321,7 +320,7 @@ test_mpio_gb_file(char *filename) for (i=ntimes-2; i <= ntimes; i++){ mpi_off = (i*mpi_size + (mpi_size - mpi_rank - 1))*(MPI_Offset)MB; if (verbose) - printf("proc %d: read from mpi_off=%016llx, %lld\n", + HDfprintf(stdout,"proc %d: read from mpi_off=%016llx, %lld\n", mpi_rank, mpi_off, mpi_off); mrc = MPI_File_read_at(fh, mpi_off, buf, MB, MPI_BYTE, &mpi_stat); INFO((mrc==MPI_SUCCESS), "GB size file read"); |