I am trying to run a simple MPI program using MPICH through a cluster of two machines. However, one uses Fedora 17, and the other works with Debian Squeeze - not necessarily a problem, but the problem is that the two distributions put their mpi-exec in different directories:
When I run from host1 the following:
mpiexec -hosts host2 -np 1 -wdir /home/chris/src/mpi/ ./mpitest
it does not work with the following error
bash: /usr/lib/mpich2/bin/hydra_pmi_proxy: No such file or directory
It looks like hydra_pmi_proxy installed in /usr/lib/mpich2/bin on a Fedora computer, but in /usr/bin on a Debian machine. I assume that when I start the process from host1 via ssh, it expects to find hydra_pmi_proxy in the same place on host2.
The program works fine on both machines, if I just run it locally on this node - I have a problem when trying to run it on both.
I searched the MPICH documentation to redefine the path to the remote path to hydra_pmi_proxy , but to no avail.
Can I do it somehow? I thought one of the advantages of MPICH was that it could easily deal with heterogeneous hosts ....
Any ideas would be most appreciated!
source share