[mpich-discuss] how to connect linux and windows?

Jayesh Krishna jayesh at mcs.anl.gov
Thu Nov 3 12:07:09 CDT 2011


 Please copy-paste the entire command and the output in your email.
 I would recommend recompiling icpi.c on both Windows and Linux and then renaming executables on both machines to "icpi" (Note: Remove the extension, .exe, of the executable file on Windows).

-Jayesh
 
----- Original Message -----
From: "lt200819" <lt200819 at gmail.com>
To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
Sent: Wednesday, November 2, 2011 9:17:16 PM
Subject: Re: Re: [mpich-discuss] how to connect linux and windows?

 

use cpi.exe as the example. I have rename it as icpi.exe. and have "make" the icpi.c on the linux. 
if exe on two windows ,it's OK. But, if exe on both linux and windows,it show some error. 

C:\MPICH2\bin>mpiexec -machinefile machinefile.txt -channel nemesis -path "c:\MPICH2\examples;/home/walter/mpich2-1.4.1p1/examples" icpi 


can't found the cmd header in the left context. 
why? 


2011-11-03 

lt200819 

发件人: Jayesh Krishna 
发送时间: 2011-11-01 23:07:20 
收件人: 李彤 
抄送: mpich-discuss 
主题: Re: [mpich-discuss] how to connect linux and windows? 


So did it work for you ? 

-Jayesh 

----- Original Message ----- 
From: "李彤" <lt200819 at gmail.com> 
To: "Jayesh Krishna" <jayesh at mcs.anl.gov> 
Sent: Monday, October 31, 2011 9:27:54 PM 
Subject: Re: [mpich-discuss] how to connect linux and windows? 

I have done it. 

use cpi.exe as the example. I have rename it as icpi.exe. and have make the icpi.c on the linux. 
if exe on two windows ,it's OK. But, if exe on linux and windows,it show some error. 

can't found the cmd header in the left context. 
why? 


2011/10/27 Jayesh Krishna < jayesh at mcs.anl.gov > 


Hi, 
SMPD is the default (only available one right now) process manager on Windows. After configuring MPICH2 with SMPD on Unix/linux, 

1. Make sure that you have the program (say foo.c ==compiled_to==> foo.exe ==renamed_to==> "foo" on Windows) compiled and working on Windows. 
"mpiexec -n 2 foo" should work 
2. Add the Windows and Linux hostnames to the "machinefile" (mpiexec -n 2 -machinefile mf.txt foo) 
You can specify the path to the different executables using the "-path" option (mpiexec -n 2 -machinefile mf.txt -path "C:\temp;/home/user/temp" foo). 

Regards, 
Jayesh 




----- Original Message ----- 
From: "李彤" < lt200819 at gmail.com > 
To: mpich-discuss at mcs.anl.gov 
Sent: Monday, October 24, 2011 3:12:21 AM 
Subject: [mpich-discuss] how to connect linux and windows? 


now,I have use smpd complement the connection between ubuntu11.10 and other ubuntu11.10 
and I have install mpich2-1.4.1p1 on windows7 , it's run well 
how to connect linux and windows?? 
_______________________________________________ 
mpich-discuss mailing list mpich-discuss at mcs.anl.gov 
To manage subscription options or unsubscribe: 
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss 


More information about the mpich-discuss mailing list