[MacPorts] #39438: openmpi @1.7.1 +threads +gcc47 creates code that hangs
MacPorts
noreply at macports.org
Fri Jun 14 14:38:37 PDT 2013
#39438: openmpi @1.7.1 +threads +gcc47 creates code that hangs
-------------------------------------+--------------------------------
Reporter: hans.ekkehard.plesser@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Keywords: | Port: openmpi
-------------------------------------+--------------------------------
The attached MPI hello world program will hang on `MPI_Init_thread()` when
compiled with `openmpicc` from `openmpi @1.7.1 +threads +gcc47` on OSX
10.8.4 and invoked with `openmpirun` on more than one process.
Everything works fine if I do one of the following:
- use `openmpi @1.6.4 +threads +gcc47`
- replace `MPI_THREAD_SERIALIZED` by `MPI_THREAD_SINGLE`, which is
equivalent to calling `MPI_Init()`.
The actual compiler invocation and compiler version are
{{{
[Macintosh:~/tmp/hw] hep% openmpicc -o hw_mpi hw_mpi.c --showme
/usr/bin/clang -o hw_mpi hw_mpi.c -I/opt/local/include/openmpi
-L/opt/local/lib -lmpi
[Macintosh:~/tmp/hw] hep% /usr/bin/clang --version
Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM
3.1svn)
Target: x86_64-apple-darwin12.4.0
Thread model: posix
}}}
I realized that this is most likely an OpenMPI problem and will report it
there, too, but I wonder if it makes sense to have 1.7.1 as default on
MacPorts given this problem.
--
Ticket URL: <https://trac.macports.org/ticket/39438>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list