[Darshan-users] Multithreaded applications crash when using LD_PRELOAD
carns at mcs.anl.gov
Tue Jul 16 14:28:22 CDT 2013
Just a quick update on this thread: there is a pre-release version of
Darshan (2.2.8-pre1) available on the Darshan download page now that
includes a fix for the MPI_Init_thread() problem that Myriam reported.
2.2.8-pre1 also happens to fix a compatibility problem with MPI-3 (MPICH
3.x to be specific) which may be of interest to some folks as well. We
will turn this into an official 2.2.8 release relatively soon.
On 07/09/2013 02:27 PM, Phil Carns wrote:
> Thanks for the bug report Myriam. I see what you are talking about,
> it looks like we just forgot to copy that code over from the
> MPI_Init() function. We'll test it out and get the fix committed for
> the next release.
> On 07/09/2013 11:04 AM, Myriam Botalla wrote:
>> Hi all,
>> For those who want to use Darshan as a dynamic library with
>> multithreaded applications, the MPI_Init_thread wrapper is the issue.
>> A simple program calling MPI_Init_thread() and MPI_Finalize() will
>> crash if LD_PRELOAD is set to libdarshan.so
>> As a workaround - do MPI_Init_thread() call resolve_mpi_symbols() as
>> it is done for MPI_Init()
>> Hope it will help
>> Darshan-users mailing list
>> Darshan-users at lists.mcs.anl.gov
> Darshan-users mailing list
> Darshan-users at lists.mcs.anl.gov
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Darshan-users