-
-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MPI tracing and profiling #444
Comments
It would also be good to provide a way to support other MPI profilers which use |
We’d be very keen on some more general support too as we’re trying to use extrae for some profiling and it also doesn’t work because it relies on LD_PRELOAD too... |
@staticfloat any ideas for dealing with libraries that interpose with LD_PRELOAD? |
So you need to |
Yeah. We basically want to overlay/redirect lookups to a shim library. |
To clarify, MPI provides a specific profiling interface: the |
So is there a reason you can't just |
Wouldn't it still look up the symbols in libmpi? |
It depends on how the lookups are being done. If you have Julia code that's calling symbols, you should just change which library you are If you have C code that is calling |
Ahh - this is an interesting issue! I had been trying to use Darshan to profile MPI and HDF5 i/o. Since is uses |
We may need to change all the |
Hi - I have a simple minimum working example in this gist. Indeed you'll have to change all |
I think that seems like the best way forward. Thanks @lyon-fnal for trying it out. |
I was able to modify MPI.jl and HDF5.jl to use I'm contemplating what to tell the Julia developers about this ... using |
Should be fixed by #451 |
@simonbyrne and I tried yesterday to use
nsys
to debug an MPI program. They preload a wrapper library which doesn't work since we usedlopen
directly. Once can hack around that, but a cleaner approach would be to usePreferences.jl
to allow arbitrary instrumentation ofMPI.jl/src/implementations.jl
Lines 3 to 13 in 502717a
Since NVTX requires a library, and alternative would be NVTXT which I happen to have an implementation lying around JuliaGPU/KernelAbstractions.jl@9852b76
The text was updated successfully, but these errors were encountered: