Opened 13 years ago
Closed 11 years ago
#31244 closed defect (fixed)
OpenMPI thread support not working
Reported by: | justus.c79@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | haspatch | Cc: | maehne (Torsten Maehne), cedric.pasteur@… |
Port: | openmpi |
Description
When building openmpi +gcc45+threads I see the following output (with verbose mode) in the configure step.
$ sudo port -v install openmpi +gcc45+threads ---> Computing dependencies for openmpi. ---> Fetching archive for openmpi ---> openmpi-1.5.4_0+gcc45+threads.darwin_11.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/software/openmpi ---> Attempting to fetch openmpi-1.5.4_0+gcc45+threads.darwin_11.x86_64.tbz2 from http://packages.macports.org/openmpi % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Fetching openmpi ---> Verifying checksum(s) for openmpi ---> Checksumming openmpi-1.5.4.tar.bz2 ---> Extracting openmpi ---> Extracting openmpi-1.5.4.tar.bz2 ---> Configuring openmpi configure: WARNING: unrecognized options: --with-xgrid, --enable-mpi-threads ============================================================================ == Configuring Open MPI ============================================================================ *** Startup tests checking build system type... x86_64-apple-darwin11.1.0 checking host system type... x86_64-apple-darwin11.1.0 checking target system type... x86_64-apple-darwin11.1.0
Specifically I see: configure: WARNING: unrecognized options: --with-xgrid, --enable-mpi-threads, which indicated OpenMPI is not being built with thread support.
--enable-mpi-threads is added with the +threads variant.
The behavior of OpenMPI configure script has changed. The new option that should be used is: --enable-mpi-thread-multiple This has the same effect as the old threads configure option. See http://www.open-mpi.org/community/lists/devel/2010/03/7531.php
Attachments (1)
Change History (6)
comment:1 Changed 13 years ago by justus.c79@…
Changed 13 years ago by justus.c79@…
Attachment: | Portfile-openmpi.diff added |
---|
Fix the configure options for +threads and +progressthreads
comment:3 Changed 12 years ago by jmroot (Joshua Root)
Keywords: | haspatch added; openmpi mpi threads removed |
---|---|
Owner: | changed from macports-tickets@… to mww@… |
comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | cedric.pasteur@… added |
---|
Has duplicate #33320.
comment:5 Changed 11 years ago by seanfarley (Sean Farley)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Looking at the portfile, it seems like this has already been fixed.
Also, in the above link, it says has been renamed --enable-progress-threads to --enable-opal-progress-threads. I have not checked the progress threads variant yet, but it probably needs to be updated too.