[Darshan-users] Multithreaded applications crash when using LD_PRELOAD

Myriam Botalla myriam.botalla at bull.net
Tue Jul 9 10:04:30 CDT 2013


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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-users/attachments/20130709/6a603bdc/attachment.html>


More information about the Darshan-users mailing list