example/H5/openclose.c

- call to H5SetDebugMask() added
This commit is contained in:
2018-02-01 15:26:14 +01:00
parent 792e86e01e
commit 65109b73a9
+8 -3
View File
@@ -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);