FS#31715 - [openmpi] openmpi isn't built with thread support

Attached to Project: Arch Linux
Opened by Daniel Mitchell (dmitchell) - Friday, 28 September 2012, 07:22 GMT
Last edited by Stéphane Gaudreault (stephane) - Tuesday, 30 October 2012, 18:50 GMT
Task Type Support Request
Category Packages: Extra
Status Closed
Assigned To Stéphane Gaudreault (stephane)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

extra/openmpi-1.6.1-1

Running `ompi_info -c | grep -i thread` shows that openmpi isn't built with thread support. This is pretty much a deal-breaker for hybrid parallel programming. openmpi needs to be configured with --enable-mpi-thread-multiple to enable thread support.
This task depends upon

Closed by  Stéphane Gaudreault (stephane)
Tuesday, 30 October 2012, 18:50 GMT
Reason for closing:  Won't implement
Comment by Stéphane Gaudreault (stephane) - Friday, 28 September 2012, 10:37 GMT
My understanding is that the use of MPI_THREAD_MULTIPLE is officially unsupported by upstream and disabled by default.

See http://comments.gmane.org/gmane.comp.clustering.open-mpi.user/13660
Comment by Daniel Mitchell (dmitchell) - Friday, 28 September 2012, 16:21 GMT
I've seen similar discussions elsewhere. I think they mean that the thread level called THREAD_MULTIPLE is unsafe. The MPI specification defines four thread levels: THREAD_{SINGLE, FUNNELED, SERIALIZED, MULTIPLE}. Only in THREAD_MULTIPLE are different threads allowed to make simultaneous MPI calls. Yet if I understand correctly, to use *any* of these modes openmpi must be configured with --enable-mpi-thread-multiple.
Comment by Stéphane Gaudreault (stephane) - Friday, 28 September 2012, 18:54 GMT
Would it be possible for you to verify (doc or asking upstream) please ? If it is safe and there is no performance impact, then I will enable it with pleasure.
Comment by Daniel Mitchell (dmitchell) - Tuesday, 09 October 2012, 16:50 GMT
I've started a thread on the mailing list.

http://www.open-mpi.org/community/lists/users/2012/10/20421.php

So far I've confirmed that you have to configure with --enable-thread-multiple even to use THREAD_FUNNELED and THREAD_SERIALIZED.

I've also inquired if there will be any impact on users who don't need thread support.
Comment by Stéphane Gaudreault (stephane) - Monday, 22 October 2012, 22:41 GMT
Any news about impact ?
Comment by Daniel Mitchell (dmitchell) - Tuesday, 30 October 2012, 18:37 GMT
Yes, here is the thread.

http://www.open-mpi.org/community/lists/users/2012/10/20579.php

They say, "Short answer: yes, enabling threading impacts performance."
Comment by Stéphane Gaudreault (stephane) - Tuesday, 30 October 2012, 18:49 GMT
Thanks for checking with them. As it will impact performance, I will not enable threading in the package.

Loading...