Binutils corrupts Open MPI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
binutils (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Hardy |
Invalid
|
Undecided
|
Unassigned | ||
Intrepid |
Invalid
|
Undecided
|
Unassigned | ||
openmpi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
Medium
|
Unassigned | ||
Intrepid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: binutils
I think I found a bad bug in hardy. I do not know what it is, but I can pin
it down. It involves Open MPI when used with R via the Rmpi add-on package
for R. And I think it points to the toolchain, hence filed against binutils. This may
of course need re-assignment.
What you need installed comes via
$ sudo apt-get install r-cran-rmpi
At a minimal level, you can try this (here running on my Debian testing box)
where we load the Rmpi add-on into R (thus dyn.loading libopenmpi1) and then
just showing a simple hello world:
edd@ron:~$ echo 'library(Rmpi); cat("Still alive\n")' | R --slave
Still alive
edd@ron:~$
On hardy with default packages:
edd@joe:~$ echo 'library(Rmpi); cat("Still alive\n")' | R --slave
[joe:29084] *** Process received signal ***
[joe:29084] Signal: Segmentation fault (11)
[joe:29084] Signal code: Address not mapped (1)
[joe:29084] Failing at address: 0x8c92004
[joe:29084] [ 0] [0xffffe440]
[joe:29084] [ 1] /usr/lib/
[joe:29084] [ 2] /usr/lib/
[joe:29084] [ 3] /usr/lib/
[joe:29084] [ 4] /usr/lib/
[joe:29084] [ 5] /usr/lib/
[joe:29084] [ 6] /usr/lib/
[joe:29084] [ 7] /usr/lib/
[joe:29084] [ 8] /usr/lib/
[joe:29084] [ 9] /usr/lib/
[joe:29084] [10] /usr/lib/
[joe:29084] [11] /usr/lib/
[joe:29084] [12] /usr/lib/
[joe:29084] [13] /usr/lib/
[joe:29084] [14] /usr/lib/
[joe:29084] [15] /usr/lib/
[joe:29084] [16] /usr/lib/
[joe:29084] [17] /usr/lib/
[joe:29084] [18] /usr/lib/
[joe:29084] [19] /usr/lib/
[joe:29084] [20] /usr/lib/
[joe:29084] [21] /usr/lib/
[joe:29084] [22] /usr/lib/
[joe:29084] [23] /usr/lib/
[joe:29084] [24] /usr/lib/
[joe:29084] [25] /usr/lib/
[joe:29084] [26] /usr/lib/
[joe:29084] [27] /usr/lib/
[joe:29084] [28] /usr/lib/
[joe:29084] [29] /usr/lib/
[joe:29084] *** End of error message ***
Segmentation fault
edd@joe:~$ dpkg -l r-base-core libopenmpi1 r-cran-rmpi
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-=
ii libopenmpi1 1.2.5-1ubuntu1 high performance message passing library -- shared library
ii r-base-core 2.6.2-2 GNU R core of statistical computing language and environment
ii r-cran-rmpi 0.5-5-1 GNU R package interfacing MPI libraries for distributed computing
edd@joe:~$
Now, at work (using Ubuntu) I tend to just fetch from Debian sources via
apt-get source and rebuild locally. This failed when I recently rebuilt
libopenmpi1 -- but it worked with a package I rebuilt in early April. I had
chased the bug for a day or two, emailed Rmpi upstream -- no luck.
Now I just took the _exact same sources for openmpi_ and rebuilt on a Gutsy
7.10 machine that a colleague hadn't upgraded yet -- and it works.
The only difference was that I removed the Build-Depends on libibverbs-dev as
we don't have Infiniband yet. And just to be sure, I also rebuilt with
libibverbs-dev and it also works. All three packages are pristine -- I am
Debian maintainer for all three. The __only change vector is Ubuntu 7.10
versus 8.04__.
I suspect that the default Ubuntu builds now strip something they didn't used
to. Do you have any insight? For that matter libopenmpi1 has three
different libraries that are interrelated and has to do a
#ifdef OPENMPI
#endif
However, that used to work like a charm and works on Debian stable, testing, ...
I'd be glad to help debug this by I am of course a compiler newb so be
gentle.
Cheers, Dirk
Changed in binutils: | |
status: | New → Invalid |
status: | New → Invalid |
On Sun, Jun 15, 2008 at 07:30:25PM -0000, Cesare Tirabassi wrote:
> ** Also affects: openmpi (Ubuntu)
> Importance: Undecided
> Status: New
>
> ** Changed in: binutils (Ubuntu)
> Status: New => Invalid
>
> ** Changed in: binutils (Ubuntu Hardy)
> Status: New => Invalid
Care to explain?
As my bug report stated, the _only_ change was the Gutsy/Hardy upgrade
as I compiled the _same sources_.
This is no Open MPI bug. This is a toolchain bug that happens to break Open MPI.
Dirk
> /bugs.launchpad .net/bugs/ 234837
> --
> Binutils corrupts Open MPI
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
--
Three out of two people have difficulties with fractions.