Basic openmpi hello world fails on arm

Bug #949044 reported by Robie Basak on 2012-03-07
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openmpi (Ubuntu)

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
ProcVersionSignature: Ubuntu 3.2.0-1407.10-omap4 3.2.6
Uname: Linux 3.2.0-1407-omap4 armv7l
ApportVersion: 1.94-0ubuntu2
Architecture: armhf
Date: Wed Mar 7 15:14:15 2012
SourcePackage: openmpi
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Robie Basak (racb) wrote :
Changed in openmpi (Ubuntu):
status: New → Triaged
importance: Undecided → High
Juan Solano (solano) wrote :

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.

Robie Basak (racb) wrote :

Leif has kindly debugged this and sent me this patch, and I have verified that it works and prepared a debdiff. Currently openmpi on ARM is completely broken, and this patch fixes my failure case and touches only ARM-specific code, so I think this is safe to apply. Will this need to wait until after beta 2 as we're in freeze right now?

The attachment "arm_timer_fix.debdiff" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openmpi - 1.4.3-2.1ubuntu3

openmpi (1.4.3-2.1ubuntu3) precise; urgency=low

  * debian/patches/arm_support: fix ARM timer code (LP: #949044).
 -- Leif Lindholm <email address hidden> Tue, 27 Mar 2012 14:52:48 +0300

Changed in openmpi (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers