diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2000-01-26 04:33:38 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2000-01-26 04:33:38 (GMT) |
commit | f490968edc999e8d18fa7174336942b9f010fd05 (patch) | |
tree | f474503ffac97a9c935f700cc89fd40548263aed /testpar/t_mpi.c | |
parent | f938b6efe369bf9d52ca3a51c5cd1bdb9a2a500b (diff) | |
download | hdf5-f490968edc999e8d18fa7174336942b9f010fd05.zip hdf5-f490968edc999e8d18fa7174336942b9f010fd05.tar.gz hdf5-f490968edc999e8d18fa7174336942b9f010fd05.tar.bz2 |
[svn-r1947] Changed the test files prefix to use the h5_fixname() in test/libh5test.a.
Makefile.in:
Added test/ as one of the -I directories to search for header files.
Needed because <h5test.h> is used.
t_file.c t_mpi.c testphdf5.c testphdf5.h:
Added FILENAME to meet the assumption in h5test.h. (May use
CLEANUP in the future.) Moved the prefix setting to the
h5_fixname().
Diffstat (limited to 'testpar/t_mpi.c')
-rw-r--r-- | testpar/t_mpi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testpar/t_mpi.c b/testpar/t_mpi.c index dbcfada..85c7c9e 100644 --- a/testpar/t_mpi.c +++ b/testpar/t_mpi.c @@ -17,7 +17,7 @@ #define MPIO_TEST_WRITE_SIZE 1024*1024 /* 1 MB */ void -test_mpio_overlap_writes(char *filename[]) +test_mpio_overlap_writes(char *filename) { int mpi_size, mpi_rank; MPI_Comm comm; @@ -38,7 +38,7 @@ test_mpio_overlap_writes(char *filename[]) if (verbose) printf("MPIO independent overlapping writes test on file %s\n", - filename[0]); + filename); /* set up MPI parameters */ MPI_Comm_size(MPI_COMM_WORLD,&mpi_size); @@ -59,7 +59,7 @@ test_mpio_overlap_writes(char *filename[]) if (color==0){ /* First n-1 processes (color==0) open a file and write it */ - mrc = MPI_File_open(comm, filename[0], MPI_MODE_CREATE|MPI_MODE_RDWR, + mrc = MPI_File_open(comm, filename, MPI_MODE_CREATE|MPI_MODE_RDWR, info, &fh); VRFY((mrc==MPI_SUCCESS), ""); @@ -104,7 +104,7 @@ test_mpio_overlap_writes(char *filename[]) mrc = MPI_Barrier(MPI_COMM_WORLD); VRFY((mrc==MPI_SUCCESS), "Sync after writes"); - mrc = MPI_File_open(comm, filename[0], MPI_MODE_RDONLY, + mrc = MPI_File_open(comm, filename, MPI_MODE_RDONLY, info, &fh); VRFY((mrc==MPI_SUCCESS), ""); |