<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008> 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...). </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008> 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,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008># Install MPICH2 on the windows
machine</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008># Configure MPICH2 on unix systems to use SMPD as the
process manager (./configure ... --with-pm=smpd...). Make & Install MPICH2
on unix machines</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008># 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 <A
href="http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php?s=docs">http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php?s=docs</A>).
The machinefile is a text file containing the ipaddress/hostname of the
machines.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008> mpiexec -n 3
-machinefile mf.txt hostname</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008># Now try running an MPI program (specify the path to
executables using the "-path" option of mpiexec)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008> mpiexec -n 3 -machinefile
mf.txt -path "c:\temp;/home/user" cpi.exe</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008> (The above command assumes that you have
executable for cpi in c:\temp on the windows machine & in /home/user on
the unix machines)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008> Let us know if you need further
help.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=784413515-08102008>Jayesh</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-mpich-discuss@mcs.anl.gov
[mailto:owner-mpich-discuss@mcs.anl.gov] <B>On Behalf Of </B>ilke
Muhtaroglu<BR><B>Sent:</B> Wednesday, October 08, 2008 10:28 AM<BR><B>To:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [mpich-discuss] how to run 2 linux
and 1 windows mpich2 ?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr>Hi,<BR><BR>I want to make 2 linux machines and 1 windows machines
run mpich2. Is it possible ?<BR>what is the way to do such a configuration
?<BR>I couldnt find out any documentation or installation guide for such a
way.<BR><BR>ilke<BR></DIV></BODY></HTML>