diff options
Diffstat (limited to 'testpar/t_file.c')
-rw-r--r-- | testpar/t_file.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/testpar/t_file.c b/testpar/t_file.c index 668ae60..e34a068 100644 --- a/testpar/t_file.c +++ b/testpar/t_file.c @@ -52,12 +52,8 @@ test_split_comm_access(char *filename) MPI_Comm_rank(comm,&sub_mpi_rank); /* setup file access template */ - acc_tpl = H5Pcreate (H5P_FILE_ACCESS); + acc_tpl = create_faccess_plist(comm, info, facc_type); VRFY((acc_tpl >= 0), ""); - - /* set Parallel access with communicator */ - ret = H5Pset_fapl_mpio(acc_tpl, comm, info); - VRFY((ret >= 0), ""); /* create the file collectively */ fid=H5Fcreate(filename,H5F_ACC_TRUNC,H5P_DEFAULT,acc_tpl); @@ -74,7 +70,7 @@ test_split_comm_access(char *filename) /* detele the test file */ if (sub_mpi_rank == 0){ mrc = MPI_File_delete(filename, info); - VRFY((mrc==MPI_SUCCESS), ""); + /*VRFY((mrc==MPI_SUCCESS), ""); */ } } mrc = MPI_Barrier(MPI_COMM_WORLD); |