-
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
Hanging with mpi4py.future #106
Comments
Hey, I can reproduce the issue. Which MPI implementation du you use? Best, Andreas |
Thank you for looking at this. The above example is from Cori, NERSC, which is using MPICH. I also tested with OpenMPI on my local desktop and saw the same problem. |
It took me a while, to dig through the mpi4py, to understand what happens. It looks like a Score-P bug, as I was able to create a pure MPI-C code, with the same behaviour. I'll raise a ticket with the Score-P developers, but I am not sure, how fast this Issue can be solved. Basically it seems to relate to the way Best, Andreas |
Turns out, that this is a known Score-P Open Issue:
There is nothing I can do from the Score-P Python Binding side. There might be possible to patch the mpi4py code. However, I`ll document my findings here, and leave the ticket Open till a solution is found. Sorry that I do not have more positive news. Best, Andreas |
Example SourcecodeBelow is a basic C-Example which reproduces the Issue. It happens only with three or more processes. The code works without Score-P.
Execute
Program desciptionThe program does the following:
AnalysisLooking into the Score-P code (6.0) using ddt, it turns out, that rank 0 stops at the |
MPI_Intercomm tracing is now supported in Score-P 8.0. The code does not hang. However, Code
leads to
This only occurs when using Score-P. |
This seems to be another issue. Moreover, the code does not hang anymore but raises an exception. I can reproduce the error without using mpi environment. I will take a look into this issue in #157 |
I am trying to use this scorep python binding with mpi4py.future without success. My code is just hanging without progressing.
Here is my example code (future_hello.py):
I am trying to run as follows:
Without scorep tracing, I expect an output something like:
I am wondering if this is an expected error or if there is any fix I can try.
I appreciate any advice in advance.
The text was updated successfully, but these errors were encountered: