[MPICH] Switching to MPICH2

Rusty Lusk lusk at mcs.anl.gov
Tue Jul 5 15:46:37 CDT 2005


From: Hans Nyberg <hanyberg at gmail.com>
Subject: [MPICH] Switching to MPICH2
Date: Tue, 5 Jul 2005 16:22:05 -0400

> I have been using MPICH 1.2.6 on a small cluster of RedHat 9
> computers, but am trying to switch over to MPICH2.  The following
> command with MPICH1 is working fine:
> 
> /MPICH1_path/mpirun -machinefile file -np 5 executable
> 
> but when I try to bring that over to MPICH2, using this command:
> 
> /MPICH2_path/mpiexec -machinefile file -n 5 executable
> 
> I get five copies of the executable running at once.  I have the
> mpdring set up, but can't figure out what I'm doing wrong.
> 
> Thanks!
> Hans Nyberg
> 

If you have the mpd ring set up on the machines you want to run on, you
don't even need the -machinefile argument.  You can run

  mpiexec -l -n 5 hostname

to see just exactly where things are running.

 - Rusty




More information about the mpich-discuss mailing list