[Darshan-users] Multithreaded applications crash when using LD_PRELOAD
Phil Carns
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.
thanks,
-Phil
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.
>
> -Phil
>
> 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
>> Myriam,
>>
>>
>> _______________________________________________
>> Darshan-users mailing list
>> Darshan-users at lists.mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/darshan-users
>
>
>
> _______________________________________________
> Darshan-users mailing list
> Darshan-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/darshan-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-users/attachments/20130716/e6a81910/attachment.html>
More information about the Darshan-users
mailing list