[mpich-discuss] MPICH2 Between Linux/Windows

jayesh at mcs.anl.gov jayesh at mcs.anl.gov
Mon Aug 23 14:20:16 CDT 2010


Hi,
 Did you try explicitly specifying the channel on windows (mpiexec -n 2 -channel sock -machinefile mf.txt hostname) ?
 Please try the following steps (Even if you have tried it before, pls try the steps as specified below - this helps us in debugging your problem) and let us know the results,

# Turn off any firewalls (windows firewall, linux firewall) running on the machines
# Configure MPICH2 on linux with the sock channel  (./configure ... --with-pm=smpd --with-device=ch3:sock ...) & SMPD process manager & install it.
# Install the same version of MPICH2 (Same architecture & MPICH2 version) on the windows system.
# Make sure that you have the same user on both the machines (Either the same username/password or Use a domain user). Register that user on the windows machine (mpiexec -register).
# Try running MPI jobs locally on the windows machine and the linux machine
# Try pinging each machine from the other machine
# Now try running a non-MPI job from the windows machine (mpiexec -n 2 -machinefile mf.txt -channel sock hostname; where mf.txt contains the ipaddresses of both the machines in separate lines)
# If the above step is successful, try running cpi (https://svn.mcs.anl.gov/repos/mpi/mpich2/trunk/examples/icpi.c) on both the machines. eg: If you have icpi.exe in c:\test on the windows machine and icpi.exe (unix executable) on /home/stephan/test , you should specify the paths as below,

 mpiexec -n 2 -machinefile mf.txt -channel sock -path "c:\test;/home/stephan/test" icpi.exe

 Let us know the results (Pls provide as much details as possible - including commands typed and the stdout/err outputs).

Regards,
Jayesh

----- Original Message -----
From: "Stephan Hackstedt" <stephan.hackstedt at googlemail.com>
To: mpich-discuss at mcs.anl.gov
Sent: Monday, August 23, 2010 1:19:24 PM GMT -06:00 US/Canada Central
Subject: Re: [mpich-discuss] MPICH2 Between Linux/Windows


i also observed, that when i use the ch3:sock build, the MPI_comm_open always repeats the internal ip adress like: 

tag=0 port=46264 description=stephan-desktop ifname=127.0.1.1 


regards, 
stephan 


2010/8/23 Stephan Hackstedt < stephan.hackstedt at googlemail.com > 


Hi, 

I'm trying to establish a connection between a process on linux (ububtu 10 04) and a process on a WinXp machine. MPICH 1.2.1 on both machines. The WinXP with installer, ubuntu from sources. 
I configured the linux side with 

./configure --with-pm=smpd --with-device=ch3:nemesis 

and another build with 

./configure --with-pm=smpd --with-device=ch3:sock , 

none of them work. I also disabled all firewalls, wonder because when i start a virtual machine on the winxo machine i can esatblish a connection to the linux machine. Had anybody dealt with such problems before? 
One other question is, do i have to rebuild a MPI Application when using another MPICH2 build with another processmanager like above? 

regards, 

stephan 




_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list