summaryrefslogtreecommitdiffstats
path: root/src/H5S.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5S.c')
-rw-r--r--src/H5S.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/H5S.c b/src/H5S.c
index 3ce8937..67cf469 100644
--- a/src/H5S.c
+++ b/src/H5S.c
@@ -40,7 +40,7 @@ static size_t H5S_nconv_g = 0; /*entries used*/
#ifdef H5_HAVE_PARALLEL
/* Global var whose value comes from environment variable */
-hbool_t H5_mpi_opt_types_g = TRUE;
+hbool_t H5_mpi_opt_types_g = FALSE;
#endif
/* Declare a free list to manage the H5S_simple_t struct */
@@ -92,9 +92,16 @@ H5S_init_interface(void)
{
/* Allow MPI buf-and-file-type optimizations? */
const char *s = HDgetenv ("HDF5_MPI_OPT_TYPES");
+#ifdef H5FDmpio_DEBUG
+ hbool_t oldtmp = H5_mpi_opt_types_g ;
+#endif
if (s && HDisdigit(*s)) {
H5_mpi_opt_types_g = (int)HDstrtol (s, NULL, 0);
}
+#ifdef H5FDmpio_DEBUG
+ fprintf(stdout, "H5_mpi_opt_types_g was %ld became %ld\n",
+ oldtmp, H5_mpi_opt_types_g);
+#endif
}
#endif