[Pkg-openmpi-maintainers] Bug#450518: Bug#450518: mpicc not found
Ondrej Certik
ondrej at certik.cz
Wed Nov 7 22:18:30 UTC 2007
Hi Dirk and Manuel,
> Thanks for taking the time to report a bug.
Thanks for a quick reply.
> | $ wajig install libopenmpi-dev
>
> At this point, did you have other MPI packages like LAM or MPICH installed?
Nothing. I purged everything. I installed openmpi. I purged openmpi
and checked again everything is purged, installed openmpi. Then
did the same procedure on 3 different computers (i386 and amd64). Only
then filled a bugreport, after observing the exact same behavior on
all of them.
Note: I had mpich and lam installed before, but I purged them.
> This *does* install mpicc.openmpi and friends.
>
> Did you by chance ever alter the handling of alternatives in
> /etc/alternatives?
Not manually, but some package has screwed it up, see below.
> Yes, but it is supposed to be done automatically, and it generally works. I
> presonally have only experienced problems when I had previously intervened
> manually (while testing etc).
>
> Could you possibly purge the Open MPI packages as well as other MPI packages,
> and re-start from a clean slate?
I did that already before filling this bugreport.
> The packages are generally in decent shape and you should not have this
> problem. It is worth seeing if we overlooked something.
>
I tried "pbuilder --login" and tried the procedure above and it
works.... So something is wrong on all my Debian systems.
$ wajig remove libopenmpi1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libopenmpi-dev libopenmpi1 openmpi-bin
0 upgraded, 0 newly installed, 3 to remove and 1 not upgraded.
Need to get 0B of archives.
After unpacking 7422kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 149065 files and directories currently installed.)
Removing libopenmpi-dev ...
Use of uninitialized value in string eq at
/usr/sbin/update-alternatives line 432.
Removing openmpi-bin ...
Removing libopenmpi1 ...
Notice the problem in update-alternatives. I again tried to install
libopenmpi-dev and it again doesn't work.
I tried installing, removing and installing again in pbuilder - it works. Hm.
Something is wrong with update-alternatives - probably screwed up by
mpich, or lam packages. Any ideas?
Ondrej
More information about the Pkg-openmpi-maintainers
mailing list