FS#47812 - [python2-mpi4py] import MPI causes 100% CPU utilization

Attached to Project: Community Packages
Opened by Simon Pintarelli (simonp) - Monday, 18 January 2016, 12:26 GMT
Last edited by Anatol Pomozov (anatolik) - Tuesday, 17 May 2016, 18:09 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The following script creates 100% CPU utilization during sleep(10):

from time import sleep
from mpi4py import MPI

sleep(10)


Additional info:
openmpi 1.10.1-3 (I believe that I haven't observed this issue with 1.10.0)
python2-mpi4py 2.0.0-1
python-mpi4py 2.0.0-1

Problem is the same for python 2 and 3.

Bug was also reported here: https://bitbucket.org/mpi4py/mpi4py/issues/34
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Tuesday, 17 May 2016, 18:09 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Monday, 18 January 2016, 17:26 GMT
No idea why they told you to report it downstream, I can't see how this could be a packaging issue.
Comment by Anatol Pomozov (anatolik) - Monday, 18 January 2016, 17:37 GMT
It is not a packaging issue. Either either openmpi or mpi4py one.

I suggest you to use 'strace' and 'perf' tools to find where is CPU is wasted. This will give you pointers where the problem comes from.
Comment by Simon Pintarelli (simonp) - Tuesday, 17 May 2016, 17:49 GMT
This problem disappeared after the openmpi 1.10.2 upgrade.

Loading...