The HDF5 library hasn't been built with the --enable-threadsafe configuration option.
Because of this, HDF5 isn't usable within parallel programs - one gets very weird HDF5 errors.
Please compile HDF5 with with the --enable-threadsafe configuration option, see
Actually, now I realize that hdf5 does no support threaded environments in any way. The thread safety flag just locks the library for a single process, turning parallel programs into sequential ones. Amazing....