[svn-r4323] Purpose:

H5Eprint shows library version information too.
Platforms tested:
    eirene.
This commit is contained in:
Albert Cheng 2001-08-07 11:06:12 -05:00
parent 1f7ad77364
commit 4049965d13

View File

@ -344,6 +344,8 @@ H5Eclear(void)
* Modifications:
* Albert Cheng, 2000/12/02
* Show MPI process rank id if applicable.
* Albert Cheng, 2001/07/14
* Show HDF5 library version information string too.
*
*-------------------------------------------------------------------------
*/
@ -358,7 +360,7 @@ H5Eprint(FILE *stream)
/*NO TRACE*/
if (!stream) stream = stderr;
fprintf (stream, "HDF5-DIAG: Error detected in ");
fprintf (stream, "HDF5-DIAG: Error detected in %s ", H5_lib_vers_info_g);
/* try show the process or thread id in multiple processes cases*/
#ifdef H5_HAVE_PARALLEL
{ int mpi_rank, mpi_initialized;