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
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:
/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