summaryrefslogtreecommitdiffstats
path: root/testpar/t_file.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-04-01 23:00:13 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-04-01 23:00:13 (GMT)
commit3756af13c77b27656f1213870f9ecc146bd85e61 (patch)
tree08cf444ef931732535787267796fcb10410138d8 /testpar/t_file.c
parentfbbd2b9cd26f7c291d1707e2b960b13fc7ca02d1 (diff)
downloadhdf5-3756af13c77b27656f1213870f9ecc146bd85e61.zip
hdf5-3756af13c77b27656f1213870f9ecc146bd85e61.tar.gz
hdf5-3756af13c77b27656f1213870f9ecc146bd85e61.tar.bz2
[svn-r8294] Purpose:
feature Description: Change testphdf5 to use the common test program syntax. Needed to change the protocols of all test programs to fit the requirement of the common test syntax. Platforms tested: "h5committested". Also tested in sol with PP mode.
Diffstat (limited to 'testpar/t_file.c')
-rw-r--r--testpar/t_file.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/testpar/t_file.c b/testpar/t_file.c
index 59ca232..c83a1af 100644
--- a/testpar/t_file.c
+++ b/testpar/t_file.c
@@ -32,7 +32,7 @@
* sooner or later due to barrier mixed up.
*/
void
-test_split_comm_access(char *filename)
+test_split_comm_access(void)
{
int mpi_size, mpi_rank;
MPI_Comm comm;
@@ -43,7 +43,9 @@ test_split_comm_access(char *filename)
hid_t acc_tpl; /* File access properties */
hbool_t use_gpfs = FALSE; /* Use GPFS hints */
herr_t ret; /* generic return value */
+ char *filename;
+ filename = (char *) GetTestParameters();
if (VERBOSE_MED)
printf("Split Communicator access test on file %s\n",
filename);