diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2022-11-09 19:06:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-09 19:06:26 (GMT) |
commit | d93c6fae4313c497ca1383d1aef24203a29b5087 (patch) | |
tree | 3c91e02d3d64182a726eaf68fe8ce28e63ecf5d0 /src/H5.c | |
parent | 18c438bdf0be8ad98f968bb77b327d7a3f17a3f5 (diff) | |
download | hdf5-d93c6fae4313c497ca1383d1aef24203a29b5087.zip hdf5-d93c6fae4313c497ca1383d1aef24203a29b5087.tar.gz hdf5-d93c6fae4313c497ca1383d1aef24203a29b5087.tar.bz2 |
Removes MPE instrumentation support. (#2245)
* Removes MPE instrumentation support.
The Autotools will no longer accept --with-mpe= and the logging commands
have been removed from the FUNC_ENTER macros. CMake has never supported
instrumenting for MPE.
* Committing clang-format changes
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/H5.c')
-rw-r--r-- | src/H5.c | 36 |
1 files changed, 0 insertions, 36 deletions
@@ -84,10 +84,6 @@ hbool_t H5_libterm_g = FALSE; /* Library isn't being shutdown */ hbool_t H5_use_selection_io_g = FALSE; -#ifdef H5_HAVE_MPE -hbool_t H5_MPEinit_g = FALSE; /* MPE Library hasn't been initialized */ -#endif - char H5_lib_vers_info_g[] = H5_VERS_INFO; static hbool_t H5_dont_atexit_g = FALSE; H5_debug_t H5_debug_g; /* debugging info */ @@ -168,18 +164,6 @@ H5_init_library(void) MPI_Initialized(&mpi_initialized); MPI_Finalized(&mpi_finalized); -#ifdef H5_HAVE_MPE - /* Initialize MPE instrumentation library. */ - if (!H5_MPEinit_g) { - int mpe_code; - if (mpi_initialized && !mpi_finalized) { - mpe_code = MPE_Init_log(); - HDassert(mpe_code >= 0); - H5_MPEinit_g = TRUE; - } - } -#endif /*H5_HAVE_MPE*/ - /* add an attribute on MPI_COMM_SELF to call H5_term_library when it is destroyed, i.e. on MPI_Finalize */ if (mpi_initialized && !mpi_finalized) { @@ -510,26 +494,6 @@ H5_term_library(void) } /* end if */ } /* end if */ -#ifdef H5_HAVE_MPE - /* Close MPE instrumentation library. May need to move this - * down if any of the below code involves using the instrumentation code. - */ - if (H5_MPEinit_g) { - int mpi_initialized; - int mpi_finalized; - int mpe_code; - - MPI_Initialized(&mpi_initialized); - MPI_Finalized(&mpi_finalized); - - if (mpi_initialized && !mpi_finalized) { - mpe_code = MPE_Finish_log("h5log"); - HDassert(mpe_code >= 0); - } /* end if */ - H5_MPEinit_g = FALSE; /* turn it off no matter what */ - } /* end if */ -#endif - /* Free open debugging streams */ while (H5_debug_g.open_stream) { H5_debug_open_stream_t *tmp_open_stream; |