mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-13 16:47:58 +08:00
[svn-r4323] Purpose:
H5Eprint shows library version information too. Platforms tested: eirene.
This commit is contained in:
parent
1f7ad77364
commit
4049965d13
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user