ComputationalRadiationPhysics / libSplash

libSplash - Simple Parallel file output Library for Accumulating Simulation data using Hdf5
GNU Lesser General Public License v3.0
15 stars 15 forks source link

Verbose: no output for attributes #221

Open PrometheusPi opened 8 years ago

PrometheusPi commented 8 years ago

There seems to be no verbose output for writing attributes. (Tested with both the parallel and serial data connector) Even for export SPLASH_VERBOSE=100.

This makes debugging due to errors during writing attributes difficult.

Would it make sense to add output for attributes as well? Is such output already included for "higher" verbose levels?

ax3l commented 8 years ago

I saw that too and when following the thrown exceptions they actually point quite clearly to the point and H5Acreate calls one is looking for. This is actually quite ok for a developer.

For a user it's also quite clear that the writeAttribute call failed and he/she can forward the exception to the developer.

Nevertheless, I think one can add some more info but I did not find a place that I would have needed more information right now.