Skip to content

Commit 7224b18

Browse files
committed
remove romio_no_indep_rw when testing NetCDF4
1 parent 8d06222 commit 7224b18

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/testcases/tst_free_comm.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ tst_fmt(char *fname, int cmode)
4040

4141
/* create MPI I/O hints */
4242
MPI_Info_create(&info);
43-
MPI_Info_set(info, "romio_no_indep_rw", "true");
43+
44+
if (! (cmode & NC_NETCDF4))
45+
/* this hint may cause H5Fflush() to hang */
46+
MPI_Info_set(info, "romio_no_indep_rw", "true");
4447

4548
/* create a file */
4649
cmode |= NC_CLOBBER;

0 commit comments

Comments
 (0)