Basic openmpi hello world fails on arm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openmpi (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Steps to reproduce:
1) apt-get install gcc libopenmpi-dev openmpi-bin
2) mpicc -o helloworld helloworld.c # helloworld.c attached
3) mpirun -np 2 helloworld
Expected behaviour: hello world output and then the program should exit
Actual behaviour: hang with 100% CPU usage
Reproduced on oneiric armel, precise armhf and precise armel.
Workaround: use libopenmpi1.5-dev and openmpi1.5-bin in precise which works fine.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libopenmpi-dev 1.4.3-2.1ubuntu2
ProcVersionSign
Uname: Linux 3.2.0-1407-omap4 armv7l
ApportVersion: 1.94-0ubuntu2
Architecture: armhf
Date: Wed Mar 7 15:14:15 2012
ProcEnviron:
LANGUAGE=en_US:
TERM=xterm
LC_COLLATE=C
LANG=en_GB
SHELL=/bin/bash
SourcePackage: openmpi
UpgradeStatus: No upgrade log present (probably fresh install)
Is this hanging on MPI_Init?
I have a problem that could be related when using MPI_Init_thread, it hangs when calling it with the following parameters:
MPI_Init_ thread( 0, 0, MPI_THREAD_ MULTIPLE, &provided);
This happened with openmpi- 1.4.3-2. 1ubuntu2 in armhf running precise, I have not tried with 1.5.