-
Notifications
You must be signed in to change notification settings - Fork 11
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
How to further increase call stack depth into mpi4py? #119
Comments
Hey,
This might be related to the way, mpi4py does MPI communication. It might be, that mpi4py spawns threads doing the MPI communication. This might be a different location. Can you provide me the .cubex file? Please also consider using Vampir and tracing. This might help.
you might be able to build mpi4py using Score-P. However, I never tried it.
If you have some specific code lines, you might want to use some user instrumentation:
However, we do currently not support line profiling as Best, Andreas |
For debugging it could be helpful but in the meantime I realized I could just use python's line_profiler which goes one step further although it does not track MPI communication. |
Interesting ^^. However, thanks for the feedback. |
Let's forget mpi4py. What about numpy? Do you have some information for either of the following?
|
Hey, I have never worked with I just checked for building numpy with python. It does not seem that easy. The requirements are listed here: https://github.com/numpy/numpy/blob/v1.20.1/INSTALL.rst.txt However, when pip tries to check the Fortran version, Score-P Issues a warning:
An due to the way, pip handles stderr link the version check fails link. I'll have to have a closer look at this. |
I'll track this in a new issue. |
just call |
I got this warning
So I set
export SCOREP_PROFILING_MAX_CALLPATH_DEPTH=71
Unfortunately the call stack ends with the last user defined python function.
Inside this last function I call further MPI functions but they don't show up in cube.
Is there a way to show them? Maybe even the internals of mpi4py?
Offtopic: Do you have any advice on line-profiling with mpi4py? I'd like to even see dict lookup times.
The text was updated successfully, but these errors were encountered: