From this error, it looks like H5Eset_auto1 was used, so H5Eget_auto1 should then be used to return the error stack information:
#000: H5E.c line 1619 in H5Eget_auto2(): wrong API function, H5Eset_auto1 has been called
There are two versions of H5Eget_auto (H5Eget_auto1 and H5Eget_auto2), and two versions of H5Eset_auto (H5Eset_auto1 and H5Eset_auto2). H5Eset_auto and H5Eget_auto are macros that are set to one or the other, depending on how the library was built.
The H5Eget_auto2/H5Eset_auto2 APIs were introduced in HDF5-1.8.
The H5Eget_auto1/H5Eset_auto1 APIs have one less parameter.
Thank you for getting back to me on this, apologies for the delay in response. This is useful and I may try and use an older version of hdf5 to see if it fixes the problem (I am not able to edit the source code). However, I am still confused why this error only appears when I am using MPI?