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

Ingo Bojak I.Bojak at science.ru.nl
Wed Apr 2 03:51:30 CDT 2008

Jayesh Krishna wrote:
> 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).
> Does your ".mpd.conf" contain anything apart from the "secretword" ?
Here's the output with the changed library:

 > mpd &
[1] 3748

 > mpdtrace
mpdtrace (__init__ 1194): PTB

mpdtrace (__init__ 1208): PTC

mpdtrace (__init__ 1219): PTC2


mpdtrace: cannot connect to local mpd (/tmp/mpd2.console_ibojak); 
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.

For contrast here the mpdcheck routine started in two cygwin windows on 
the same machine:

(In window 1:)
 > mpdcheck -s
server listening at INADDR_ANY on: computername 4635

(In window 2:)
 > mpdcheck -c computername 4635
client successfully recvd ack from server: ack_from_server_to_client

(In window 1:)
server has conn on <socket._socketobject object at 0x7ff3ea04> from 
('xx1.xx4.xx1.8', 4637)
server successfully recvd msg from client: hello_from_client_to_server

finally, here's the entire content of .mpd.conf at the moment:

 > cat .mpd.conf

Thanks in advance for your help,

More information about the mpich-discuss mailing list