[Pkg-openmpi-maintainers] Bug#450518: Bug#450518: mpicc not found

Dirk Eddelbuettel edd at debian.org
Wed Nov 7 21:20:08 UTC 2007


Hi Ondrej,

Thanks for taking the time to report a bug.

On 7 November 2007 at 21:31, Ondrej Certik wrote:
| Package: libopenmpi-dev
| Version: 1.2.4-3
| Severity: grave
| 
| --- Please enter the report below this line. ---
| 
| $ wajig install libopenmpi-dev

At this point, did you have other MPI packages like LAM or MPICH installed?

| Reading package lists... Done
| Building dependency tree
| Reading state information... Done
| The following packages were automatically installed and are no longer required:
|   libmatheval1 libsuperlu3 libt1-5 libsuperlu3-dev libhdf4g gpsd
|   libwebkitgdk0d xpdf-common
| Use 'apt-get autoremove' to remove them.
| The following extra packages will be installed:
|   libopenmpi1 openmpi-common
| The following NEW packages will be installed:
|   libopenmpi-dev libopenmpi1 openmpi-common
| 0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
| Need to get 1555kB of archives.
| After unpacking 6881kB of additional disk space will be used.
| Do you want to continue [Y/n]?
| Get:1 http://ftp.cz.debian.org unstable/main libopenmpi1 1.2.4-3 [1059kB]
| Get:2 http://ftp.cz.debian.org unstable/main openmpi-common 1.2.4-3 [46.4kB]
| Get:3 http://ftp.cz.debian.org unstable/main libopenmpi-dev 1.2.4-3 [450kB]

This *does* install mpicc.openmpi and friends.

Did you by chance ever alter the handling of alternatives in
/etc/alternatives?

| Fetched 1555kB in 18s (85.3kB/s)
| Selecting previously deselected package libopenmpi1.
| (Reading database ... 173852 files and directories currently installed.)
| Unpacking libopenmpi1 (from .../libopenmpi1_1.2.4-3_i386.deb) ...
| Selecting previously deselected package openmpi-common.
| Unpacking openmpi-common (from .../openmpi-common_1.2.4-3_all.deb) ...
| Selecting previously deselected package libopenmpi-dev.
| Unpacking libopenmpi-dev (from .../libopenmpi-dev_1.2.4-3_i386.deb) ...
| Setting up libopenmpi1 (1.2.4-3) ...
| Setting up openmpi-common (1.2.4-3) ...
| Setting up libopenmpi-dev (1.2.4-3) ...
| 
| 
| $ mpicc
| -bash: mpicc: command not found
| 
| 
| This temporary fix overcomes the problem:
| 
| $ sudo ln -s /usr/bin/opal_wrapper /usr/bin/mpicc
| 
| The same has to be done for all the others: mpif77, mpi90 etc.

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?  

The packages are generally in decent shape and you should not have this
problem. It is worth seeing if we overlooked something.

Thanks for your help,  Dirk



| 
| 
| Ondrej
| 
| --- System information. ---
| Architecture: i386
| Kernel:       Linux 2.6.22-2-686
| 
| Debian Release: lenny/sid
|   500 unstable        ftp.cz.debian.org
| 
| --- Package information. ---
| Depends              (Version) | Installed
| ==============================-+-============
| libopenmpi1        (= 1.2.4-3) | 1.2.4-3
| openmpi-common     (= 1.2.4-3) | 1.2.4-3
| 
| 
| 
| _______________________________________________
| Pkg-openmpi-maintainers mailing list
| Pkg-openmpi-maintainers at lists.alioth.debian.org
| http://lists.alioth.debian.org/mailman/listinfo/pkg-openmpi-maintainers

-- 
Three out of two people have difficulties with fractions.






More information about the Pkg-openmpi-maintainers mailing list