[mpich-discuss] mpdtrace cannot connect (cygwin & mpd), previous smpd remnants?

Jayesh Krishna jayesh at mcs.anl.gov
Tue Apr 1 14:33:23 CDT 2008


 Hi,
  To obtain more information on your problem a version of mpdlib.py which
contains trace information is attached. Please replace the existing version
of mpdlib.py with the version attached and provide us with the trace output
(Try to compress/zip the output if it is long).

Regards,
Jayesh
-----Original Message-----
From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov] 
Sent: Tuesday, April 01, 2008 11:58 AM
To: 'Ingo Bojak'
Cc: 'mpich-discuss at mcs.anl.gov'; 'Ralph Butler'
Subject: RE: [mpich-discuss] mpdtrace cannot connect (cygwin & mpd),
previous smpd remnants?

 Hi,
  Does your ".mpd.conf" contain anything apart from the "secretword" ?

Regards,
Jayesh
-----Original Message-----
From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Jayesh Krishna
Sent: Tuesday, April 01, 2008 10:13 AM
To: 'Ralph Butler'
Cc: mpich-discuss at mcs.anl.gov
Subject: FW: [mpich-discuss] mpdtrace cannot connect (cygwin & mpd),
previous smpd remnants?

Ralph,

 Do you know what the problem might be? This user is using Cygwin to compile
MPICH2(with mpd) on windows.
 He is able to run mpdcheck (mpdcheck -s, mpdcheck -c compname portno) and
get outputs as mentioned in the install guide. However he is not able to run
mpiexec or mpdtrace on his machine.

---
mpd &
[1] 2668

ps
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
     2896       1    2896       2896  con 1008 18:03:07 /usr/bin/bash
     2668    2896    2668       3772  con 1008 18:04:28 /usr/bin/python2.5
     3256    2896    3256       3276  con 1008 19:03:38 /usr/bin/sh

ls -l /tmp
total 2048
-rw-r--r-- 1 username None 2111 Mar 28 19:01 XWin.log
-rw-r--r-- 1 username None   53 Mar 28 18:02 mpd2.console_username

mpdtrace
mpdtrace: cannot connect to local mpd (/tmp/mpd2.console_username); possible
causes:
  1. no mpd is running on this host
  2. an mpd is running but was started without a "console" (-n option) In
case 1, you can start an mpd on this host with:
    mpd &
and you will be able to run jobs just on this host.
For more details on starting mpds on a set of hosts, see the MPICH2
Installation Guide.
---

Regards,
Jayesh

> -----Original Message-----
> From: Ingo Bojak [mailto:I.Bojak at science.ru.nl]
> Sent: Tuesday, April 01, 2008 3:33 AM
> To: Jayesh Krishna
> Subject: Re: [mpich-discuss] mpdtrace cannot connect (cygwin & mpd), 
> previous smpd remnants?
> 
> Jayesh Krishna wrote:
> >   Is your windows firewall turned on ? (If yes, 1. Stop any
> instances
> > of mpd running 2. Stop firewall 3.Try running "mpd&" & "mpiexec -n 1
> > /bin/hostname".)
> >   Can you see mpd running in the windows Task Manager ?
> >   
> Turning off the firewall doesn't do a thing, mpiexec still cannot 
> connect. I cannot see "mpd" in the Task Manager, but then I do not 
> think that I should. I see "python2.5.exe" in the Task Manager, which 
> is what I see with "ps" in cygwin as well (i.e., mpd is a python 
> script, so I think it  is correct that I see the executing python, not 
> the script).
> As mentioned previously, "python2.5.exe" is excepted in the Windows 
> firewall, so it makes no difference whether the firewall is up or down 
> for its running.
> 
> I think it is significant that the mpdcheck server/client *works*, but 
> mpdtrace and mpiexec *doesn't*. Whatever is the difference in their 
> accessing mpd should explain the problems. Unfortunately I have no 
> idea what that difference may be.
> 
> Cheers,
> Ingo
> 
> 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mpdlib.py
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080401/21ac0f6d/attachment.diff>


More information about the mpich-discuss mailing list