From fba78db1c05ae9372ac410e7a6e54d999cde67f6 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Fri, 24 Jun 2016 15:45:26 +0200 Subject: [PATCH] test/h5u_read.c: - h5u_test_read3(): bugfix --- test/h5u_read.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/h5u_read.c b/test/h5u_read.c index d9179a2..505ab02 100644 --- a/test/h5u_read.c +++ b/test/h5u_read.c @@ -477,13 +477,14 @@ void h5u_test_read3(void) h5_file_t file1; h5_int64_t status; - + MPI_Comm comm = MPI_COMM_WORLD; + TEST("Opening file once, read-only, MPI-POSIX VFD"); h5_prop_t props = H5CreateFileProp (); status = H5SetPropFileMPIOPosix (props, &comm); RETURN(status, H5_SUCCESS, "H5SetPropFileMPIOPosix"); - file1 = H5OpenFile(FILENAME, H5_O_RDONLY, prop); + file1 = H5OpenFile(FILENAME, H5_O_RDONLY, props); status = H5CheckFile(file1); RETURN(status, H5_SUCCESS, "H5CheckFile");