From 65109b73a94df0ee5f7ed73bbb6d0cfb380f3931 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 1 Feb 2018 15:26:14 +0100 Subject: [PATCH] example/H5/openclose.c - call to H5SetDebugMask() added --- examples/H5/openclose.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/examples/H5/openclose.c b/examples/H5/openclose.c index eb31781..ab26efd 100644 --- a/examples/H5/openclose.c +++ b/examples/H5/openclose.c @@ -11,12 +11,16 @@ #include "examples.h" +#if !defined(VERBOSITY) +#define VERBOSITY H5_VERBOSE_ERROR +#endif + /* Use H5_DEBUG_ALL to get full debug output */ -#if !defined(VERBOSITY) -#define VERBOSITY H5_VERBOSE_ERROR -/* #undef VERBOSITY H5_DEBUG_ALL */ +#if !defined(DEBUGMASK) +#define DEBUGMASK H5_DEBUG_NONE +//#define DEBUGMASK H5_DEBUG_ALL #endif int @@ -28,6 +32,7 @@ main ( MPI_Init (&argc, &argv); H5SetVerbosityLevel (VERBOSITY); + H5SetDebugMask (DEBUGMASK); h5_prop_t prop = H5CreateFileProp (); H5SetPropFileMPIOCollective (prop, &comm); h5_file_t f = H5OpenFile ("testfile.h5", H5_O_WRONLY, prop);