mpi vs. mpiexec
Ben Webb
ben at bellatrix.pcl.ox.ac.uk
Wed Jul 17 06:57:56 EDT 2002
On Tue, Jul 16, 2002 at 06:59:58PM +0000, Florn Natalia Garcia Vaca wrote:
> I used mpirun and openpbs, but there is a problem with mpirun, I
> install mpirun just in the server of a 18 nodes cluster linux, but when I
> need to run a program with mpirun it doesn't find the mpirun command, so
> it means that I have to install mpirun in each node, is it exactly the
> same using mpiexec?
Whenever you start a parallel job, mpirun or mpiexec is run on
one of your compute nodes, and not on the server. It then connects to all
the other compute nodes to start up the parallel comunication.
mpirun/mpiexec is never run on the server (unless it's also a compute
node) so you don't need it installed there. You do, however, need to
have mpirun or mpiexec installed on every compute node that is going to
run parallel jobs. You could put it on a shared filesystem (e.g. NFS)
though.
Ben
--
ben at bellatrix.pcl.ox.ac.uk http://bellatrix.pcl.ox.ac.uk/~ben/
"Ice formed on the butler's upper slopes."
- 'Pigs Have Wings (1952), ch. 5, pt. i', P.G. Wodehouse
More information about the mpiexec
mailing list