Open cwpearson opened 4 years ago
Alternatively, it may be possible to prefer loading MPI_Init (and any other functions?) from libdarshan.so before libmpi.so
jsrun sometimes uses OMPI_LD_PRELOAD_PREPEND
to add libraries at runtime. We can probably do this for libtempi.so as well.
Summit wants to find MPI_Init in darshan (
jsrun -E LD_DEBUG=symbols
).Darshan is not explicitly included in the link step when building, so somehow it is injected at runtime. In any case, we can fix this by
module unload darshan
, so then our MPI_Init happens right afterlibpami_cudahook.so
. Later, the lazy lookup will cause it to happen inlibmpiprofilesupport.so.3
and thenlibmpi_ibm.so.3
.How to prevent libdarshan from taking this over?