mpicc (openmpi) broken in Ubuntu 7.10 RC
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openmpi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Gutsy |
Fix Released
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: openmpi-bin
package does not build correctly :
the problem is linked to one line in the 99_autoconf patch
these are the changes around line 1760 in the current 99_autoconf.patch file
1759 -datadir=
1760 +datarootdir=
1761 +datadir=
line 1761 should be +datadir=
it seems that the datarootdir does not get expanded correctly
On Ubuntu 7.04, mpicc from the openmpi-bin package works and produces the normal lines to compile a C program that uses MPI:
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
$ dpkg -l | grep openmpi
ii openmpi-bin 1.1-2.3 high performance message passing library
ii openmpi-common 1.1-2.3 high performance message passing library
ii openmpi-dev 1.1-2.3 high performance message passing library
ii openmpi-libs0 1.1-2.3 high performance message passing library
$ mpicc -showme
gcc -I/usr/
$ mpicc -showme:compile
-I/usr/
$ mpicc -showme:link
-pthread -lmpi -lorte -lopal -ldl -Wl,--export-
$ ls hello*
hello.c
$ mpicc -Wall -O2 hello.c -o hello
$ ls hello*
hello hello.c
TEST CASE:
However on Ubuntu 7.10 RC, the mpicc command produces no output and will not build a MPI C program:
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
$ dpkg -l | grep openmpi
ii openmpi-bin 1.1-2.5 high performance message passing library
ii openmpi-common 1.1-2.5 high performance message passing library
ii openmpi-dev 1.1-2.5 high performance message passing library
ii openmpi-libs0 1.1-2.5 high performance message passing library
$ mpicc -showme
$ mpicc -showme:compile
$ mpicc -showme:link
$ ls hello*
hello.c
$ mpicc -Wall -O2 hello.c -o hello
$ ls hello*
hello.c
Related branches
Changed in openmpi: | |
assignee: | nobody → koen-beek |
status: | Confirmed → In Progress |
description: | updated |
Changed in openmpi: | |
status: | New → Confirmed |
Changed in openmpi: | |
assignee: | nobody → dktrkranz |
status: | Confirmed → In Progress |
I can add that mpif77 does nothing when trying to compile any sort of fortran file using 7.10 (official release) fresh install, and all the openmpi* packages installed with gcc/gfortran 4.2 working okay. AMD64. This is horrible.