Commit b3c5a5f5 authored by Philip Carns's avatar Philip Carns

fix bug in MPI_Init_thread() symbol resolution with LD_PRELOAD; reported by

Myriam Botalla.


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@739 3b7491f3-a168-0410-bf4b-c445ed680a29
parent 6a428596
......@@ -4,9 +4,12 @@ Darshan Release Change Log
darshan-2.2.8-pre1
=============
* Fix compile-time errors for MPICH 3.x installations with const correct MPI
function prototypes. Also affects MPICH 1.5+ installations configured with
const support.
* Fix compile-time errors when Darshan is configured for use with MPICH 3.x
installations with const correct MPI function prototypes. Also affects
MPICH 1.5+ installations with optional const support. Reported by Yushu Yao.
* Fix segmentation fault when using LD_PRELOAD instrumentation on programs
that use MPI_Init_thread() rather than MPI_Init(). Reported by Myriam
Botalla.
darshan-2.2.7
=============
......
......@@ -166,6 +166,10 @@ int MPI_Init_thread (int *argc, char ***argv, int required, int *provided)
{
int ret;
#ifdef DARSHAN_PRELOAD
resolve_mpi_symbols();
#endif
ret = DARSHAN_MPI_CALL(PMPI_Init_thread)(argc, argv, required, provided);
if (ret != MPI_SUCCESS)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment