From 223b1f968a5fc12d2e56a7fa2ca126deca5d025d Mon Sep 17 00:00:00 2001 From: Ward Fisher Date: Mon, 18 Sep 2017 15:08:49 -0600 Subject: [PATCH] Updated tst_small --- nc_test/tst_small.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nc_test/tst_small.c b/nc_test/tst_small.c index ae04ae648..114218f44 100644 --- a/nc_test/tst_small.c +++ b/nc_test/tst_small.c @@ -54,8 +54,11 @@ static int file_create(const char *filename, int cmode, int *ncid) #ifdef USE_PNETCDF if (default_format == NC_FORMAT_CLASSIC || - default_format == NC_FORMAT_64BIT_OFFSET || - || default_format == NC_FORMAT_64BIT_DATA) + default_format == NC_FORMAT_64BIT_OFFSET +#ifdef USE_CDF5 + || default_format == NC_FORMAT_64BIT_DATA +#endif + ) err = nc_create_par(filename, cmode|NC_PNETCDF, MPI_COMM_WORLD, MPI_INFO_NULL, ncid); else #endif