[mpich-discuss] how to run 2 linux and 1 windows mpich2 ?
Jayesh Krishna
jayesh at mcs.anl.gov
Wed Oct 8 10:46:49 CDT 2008
Hi,
You can run your MPI programs across windows and linux systems as long as
they have the same data model (All the m/c are x86 OR All the m/c are
x64...).
The process manager provided with MPICH2 on windows is SMPD. So you would
need to configure MPICH2 on unix systems to use SMPD as their process
manager (./configure ... --with-pm=smpd...). Also make sure that you
specify the path to the executables correctly using the "-path" option of
mpiexec. I would recommend that you do the following,
# Install MPICH2 on the windows machine
# Configure MPICH2 on unix systems to use SMPD as the process manager
(./configure ... --with-pm=smpd...). Make & Install MPICH2 on unix
machines
# Now try running a non-MPI program like "hostname" using the
"-machinefile" option available with mpiexec (see the windows developer's
guide for details -- available at
http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php?s=
docs). The machinefile is a text file containing the ipaddress/hostname of
the machines.
mpiexec -n 3 -machinefile mf.txt hostname
# Now try running an MPI program (specify the path to executables using
the "-path" option of mpiexec)
mpiexec -n 3 -machinefile mf.txt -path "c:\temp;/home/user" cpi.exe
(The above command assumes that you have executable for cpi in c:\temp
on the windows machine & in /home/user on the unix machines)
Let us know if you need further help.
Regards,
Jayesh
_____
From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of ilke Muhtaroglu
Sent: Wednesday, October 08, 2008 10:28 AM
To: mpich-discuss at mcs.anl.gov
Subject: [mpich-discuss] how to run 2 linux and 1 windows mpich2 ?
Hi,
I want to make 2 linux machines and 1 windows machines run mpich2. Is it
possible ?
what is the way to do such a configuration ?
I couldnt find out any documentation or installation guide for such a way.
ilke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20081008/8c645d91/attachment.htm>
More information about the mpich-discuss
mailing list