From 8bb22e440006c55a191f7a69d486f8f5ff569bf9 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Fri, 24 Jun 2016 15:54:40 +0200 Subject: [PATCH] exampkes/H5/read_file_attribs.c - use macros to define verbosity and debug mask --- examples/H5/read_file_attribs.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/H5/read_file_attribs.c b/examples/H5/read_file_attribs.c index d1f8f16..a035b33 100644 --- a/examples/H5/read_file_attribs.c +++ b/examples/H5/read_file_attribs.c @@ -9,8 +9,11 @@ #include "H5hut.h" +#include + #define FNAME "example_file_attribs.h5" #define VERBOSITY H5_VERBOSE_ERROR +#define DEBUG_MSK 0 #define ATTR_STRING "FileAttrString" #define ATTR_INT32 "FileAttrInt32" @@ -26,8 +29,7 @@ main ( MPI_Init (&argc, &argv); H5AbortOnError (); H5SetVerbosityLevel (VERBOSITY); - H5SetDebugMask (H5_DEBUG_ALL); - + H5SetDebugMask (DEBUG_MSK); // if file properties is set to default, MPI_COMM_WORLD will be used h5_file_t f = H5OpenFile (FNAME, H5_O_RDONLY, H5_PROP_DEFAULT);