Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Debian MPI -- mpirun missing
From: Dirk Eddelbuettel (edd_at_[hidden])
Date: 2008-10-17 12:11:48

On 18 October 2008 at 00:16, Raymond Wan wrote:
| Hi all,
| I'm very new to MPI and am trying to install it on to a Debian Etch
| system. I did have mpich installed and I believe that is causing me

Etch is getting old, and its Open MPI 1.1 package were in suboptimal shape.
A few of us get together as a new Open MPI team within Debian, and 1.2.*
packages are in much better shape. So please try to get 1.2 packages.

| problems. I completely uninstalled it and then ran:
| update-alternatives --remove-all mpicc
| Then, I installed the following packages:
| libibverbs1 openmpi-bin openmpi-common openmpi-libs0 openmpi-dbg openmpi-dev
| And it now says:
| >> update-alternatives --display mpicc
| mpicc - status is auto.
| link currently points to /usr/bin/mpicc.openmpi
| /usr/bin/mpicc.openmpi - priority 40
| slave mpif90: /usr/bin/mpif90.openmpi
| slave mpiCC: /usr/bin/mpic++.openmpi
| slave mpic++: /usr/bin/mpic++.openmpi
| slave mpif77: /usr/bin/mpif77.openmpi
| slave mpicxx: /usr/bin/mpic++.openmpi
| Current `best' version is /usr/bin/mpicc.openmpi.
| which seems ok to me... So, I tried to compile something (I had sample
| code from a book I purchased a while back, but for mpich), however, I
| can run the program as-is, but I think I should be running it with
| mpirun -- the FAQ suggests there is one? But, there is no mpirun
| anywhere. It's not in /usr/bin. I updated the filename database
| (updatedb) and tried a "locate mpirun", and I get only one hit:

Well when I use Open MPI I go with the new convention and call orterun
instead of mpirun. I think you should have. Maybe a local alias in your
~/.bashrc can do the trick.

Current packages do have mpirun.openmpi but we were unable to devise a
bullet-proof scheme between lam, mpich and Open MPI for sharing / updating /
... the alternatives links as there are sublte differences that prevent us
from switching all these aliases consistently.

Hope this helps, Dirk

| /usr/include/openmpi/ompi/runtime/mpiruntime.h
| Is there a package that I neglected to install? I did an "aptitude
| search openmpi" and installed everything listed... :-) Or perhaps I
| haven't removed all trace of mpich?
| Thank you in advance!
| Ray
| _______________________________________________
| users mailing list
| users_at_[hidden]

Three out of two people have difficulties with fractions.