[mpich-discuss] mpich doesn't work well in the cygwin on Windows 7 64 bit

Jayesh Krishna jayesh at mcs.anl.gov
Fri Feb 12 10:43:59 CST 2010


Hi,
 Great! Let us know if you need further help.

Regards,
Jayesh
----- Original Message -----
From: "Zhike Zi" <zhike.zi at bioss.uni-freiburg.de>
To: jayesh at mcs.anl.gov
Sent: Friday, February 12, 2010 9:35:48 AM GMT -06:00 US/Canada Central
Subject: Re: [mpich-discuss] mpich doesn't work well in the cygwin on Windows  7 64 bit

Hi, Jayesh, 


You are right. The problem is due to the wrong sshd configuration in the cygwin of my PC. After re-installing my system. mpich2 works well in my PC. Thanks you. 


Best regards, 


Zhike 


On Wed, Feb 10, 2010 at 6:34 PM, < jayesh at mcs.anl.gov > wrote: 


Hi, 
Looks like something is missing in the ssh setup. Did you run mkpasswd and mkgroup to update/add the windows users after installing ssh package? 
Another usual problem with permissions arise when you install Cygwin for just the user installing the package (which is the default option) and not for all users. 


Regards, 
Jayesh 
----- Original Message ----- 
From: "Zhike Zi" < zhike.zi at bioss.uni-freiburg.de > 
To: "Jayesh Krishna" < jayesh at mcs.anl.gov > 



Sent: Wednesday, February 10, 2010 11:19:34 AM GMT -06:00 US/Canada Central 
Subject: Re: [mpich-discuss] mpich doesn't work well in the cygwin on Windows 7 64 bit 


Hi, Jayesh, 


Here is how it works in my cygwin. 


$ ssh localhost 
Connection closed by ::1 


$ ssh cyg_server at localhost 
cyg_server at localhost's password: 
Last login: Wed Feb 10 18:04:30 2010 from xxx.xxx.uni-freiburg.de 



$ mpd & 
[1] 3900 


cyg_server at Zi-PC ~ 
$ mpdtrace 
Zi-PC 


cyg_server at Zi-PC ~ 
$ mpdallexit 


Now mpich2 works normally with cyg_server log in. However, if I log in my cygwin with my normal Windows 7 account. I get the error messages I reported to you. I can live with the "solution", but I would like to know the real problem because mpich2 worked well in my previous PC with cygwin on Windows XP. 


Thank you again. 


Best, 


Zhike 

On Wed, Feb 10, 2010 at 5:56 PM, Jayesh Krishna < jayesh at mcs.anl.gov > wrote: 


Hi, 
Does "mpiexec.hydra -n 2 hostname" work for you ? 
Also, let us know the results of recompiling and re-running your code. 


Regards, 
Jayesh 
----- Original Message ----- 
From: "Zhike Zi" < zhike.zi at bioss.uni-freiburg.de > 
To: "Jayesh Krishna" < jayesh at mcs.anl.gov > 



Sent: Wednesday, February 10, 2010 10:19:41 AM GMT -06:00 US/Canada Central 
Subject: Re: [mpich-discuss] mpich doesn't work well in the cygwin on Windows 7 64 bit 

Dear Jayesh, 


I have just disabled the Windows firewall and sophos anti-virus in my PC. When I run hydra, I still get the same message 



$ mpiexec.hydra -n 2 ./runSBML-PET.exe 
Connection closed by ::1 


I am trying to re-compile my code and see whether something will change. But I guess it should not work. 


PS: Eric has sent his message to my topic. You should ignore his/her messages concerning my questions. 


Best 


Zhike 



On Wed, Feb 10, 2010 at 4:50 PM, Jayesh Krishna < jayesh at mcs.anl.gov > wrote: 


Hi, 
Do you have a firewall running on your machine (If so, try disabling the firewall)? 

Did you recompile your code after installing MPICH2 ? 


Regards, 
Jayesh 
----- Original Message ----- 
From: "Zhike Zi" < zhike.zi at bioss.uni-freiburg.de > 



To: "Jayesh Krishna" < jayesh at mcs.anl.gov > 
Sent: Wednesday, February 10, 2010 9:48:01 AM GMT -06:00 US/Canada Central 
Subject: Re: [mpich-discuss] mpich doesn't work well in the cygwin on Windows 7 64 bit 

Hi, Jayesh, 


Thank you. Here comes to the response by running hydra 



$ mpiexec.hydra -n 2 ./runSBML-PET.exe 
Connection closed by ::1 


Best, 


Zhike 

On Wed, Feb 10, 2010 at 4:38 PM, Jayesh Krishna < jayesh at mcs.anl.gov > wrote: 


Hi, 
Can you see if hydra (the new process manager that will replace mpd as the default process manager in upcoming releases) works for you (mpiexec.hydra -n 2 ./runSBML-PET.exe)? 

Regards, 
Jayesh 



----- Original Message ----- 
From: "Zhike Zi" < zhike.zi at bioss.uni-freiburg.de > 
To: mpich-discuss at mcs.anl.gov 
Sent: Wednesday, February 10, 2010 4:11:57 AM GMT -06:00 US/Canada Central 
Subject: [mpich-discuss] mpich doesn't work well in the cygwin on Windows 7 64 bit 


Dear List, 


I have installed mpich2-1.2.1 in my cygwin (v1.7.1) on Windows 7 64 bit machine. I didn't get any error message during the building and installation. mpdcheck doesn't report any problem. However, when I try to start mpi in cygwin, I got the following error messages. I also tested the version of mpich2-1.0.8, I got the same problem. It worked well in the cygwin on my Windows XP PC. 


$ mpd & 

[1] 2684 


$ mpdtrace 
mpdtrace (mpdtrace 57): got eof on console 


$ mpdcheck 



$ mpdcheck -v 
obtaining hostname via gethostname and getfqdn 
gethostname gives Zi-PC 
getfqdn gives Zi-PC 
checking out unqualified hostname; make sure is not "localhost", etc. 
checking out qualified hostname; make sure is not "localhost", etc. 
obtain IP addrs via qualified and unqualified hostnames; make sure other than 1 
27.0.0.1 
gethostbyname_ex: ('Zi-PC', [], ['10.5.235.x']) 
gethostbyname_ex: ('Zi-PC', [], ['10.5.235.x']) 
checking that IP addrs resolve to same host 
now do some gethostbyaddr and gethostbyname_ex for machines in hosts file 


$ mpirun -np 2 ./runSBML-PET.exe 
mpiexec_Zi-PC (mpiexec 257): no msg recvd from mpd during version check 



$ mpdallexit 
mpdallexit (recv_dict_msg 582):recv_dict_msg: errmsg=:cannot concatenate 'str' a 
nd 'int' objects: 
mpdtb: 
/usr/local/bin/mpdlib.py, 582, recv_dict_msg 
/usr/local/bin/mpdallexit, 50, mpdallexit 
/usr/local/bin/mpdallexit, 59, <module> 


mpdallexit (mpdallexit 52): no msg recvd from mpd before timeout 


The configure log is attached. 


Does any one have the problem? I am looking forward to any suggestions and helps. 


Thank you for the attention. 


Best regards, 


Zhike Zi 
-- 
Centre for Biological Signalling Studies (bioss) 
University of Freiburg 


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



-- 
Centre for Biological Signalling Studies (bioss) 
University of Freiburg 
Habsburgerstr. 49, 79104 Freiburg, Germany 

Tel: (+49 ) 0761-203 97229 
Fax: (+49) 0761 203 97223 




-- 
Centre for Biological Signalling Studies (bioss) 
University of Freiburg 
Habsburgerstr. 49, 79104 Freiburg, Germany 

Tel: (+49 ) 0761-203 97229 
Fax: (+49) 0761 203 97223 




-- 
Centre for Biological Signalling Studies (bioss) 
University of Freiburg 
Habsburgerstr. 49, 79104 Freiburg, Germany 

Tel: (+49 ) 0761-203 97229 
Fax: (+49) 0761 203 97223 




-- 
Centre for Biological Signalling Studies (bioss) 
University of Freiburg 
Habsburgerstr. 49, 79104 Freiburg, Germany 

Tel: (+49 ) 0761-203 97229 
Fax: (+49) 0761 203 97223 



More information about the mpich-discuss mailing list