mpd(1)

NAME
mpd

FILE
/Users/goodell/svn/mpich2-1.2.1p1-tmp/src/pm/mpd/mpd.py

DESCRIPTION
usage: mpd [--host=<host> --port=<portnum>] [--noconsole] [--trace] [--echo] [--daemon] [--bulletproof] --ncpus=<ncpus> [--ifhn=<interface-hostname>] [--listenport=<listenport>] [--pid=<pidfilename>] --tmpdir=<tmpdir>] [-zc] [--debug]

Some long parameter names may be abbreviated to their first letters by using only one hyphen and no equal sign: mpd -h donner -p 4268 -n is equivalent to mpd --host=magpie --port=4268 --noconsole

--host and --port must be specified together; they tell the new mpd where

    to enter an existing ring;
        if they are omitted, the new mpd forms a stand-alone ring that other mpds may enter later --noconsole is useful for running 2 mpds on the same machine; only one of them will accept mpd commands --trace yields lots of traces thru mpd routines; currently too verbose --debug turns on some debugging prints; currently not verbose enough --echo causes the mpd echo its listener port by which other mpds may connect --daemon causes mpd to run backgrounded, with no controlling tty --bulletproof says to turn bulletproofing on (experimental) --ncpus indicates how many cpus are on the local host; used for starting processes --ifhn specifies an alternate interface hostname for the host this mpd is running on; e.g. may be used to specify the alias for an interface other than default --listenport specifies a port for this mpd to listen on; by default it will acquire one from the system --conlistenport specifies a port for this mpd to listen on for console connections (only used when employing inet socket for console); by default it will acquire one from the system --pid=filename writes the mpd pid into the specified file, or --pid alone writes it into /var/run/mpd.pid --tmpdir=tmpdirname where mpd places temporary sockets, etc. -zc is a purely EXPERIMENTAL option right now used to investigate zeroconf networking; it can be used to allow mpds to discover each other locally using multicast DNS; its usage may change over time

    Currently, -zc is specified like this:
        -zc N

    where N specifies a 'level' in a startup set of mpds.
        The first mpd in a ring

    must have 1 and it will establish a ring of one mpd.
        Subsequent mpds can specify

    -zc 2 and will hook into the ring via the one at level 1.
        Except for level 1, new mpds enter the ring via an mpd at level-1.

A file named .mpd.conf file must be present in the user's home directory with read and write access only for the user, and must contain at least a line with MPD_SECRETWORD=<secretword>

To run mpd as root, install it while root and instead of a .mpd.conf file use mpd.conf (no leading dot) in the /usr/local/etc directory.'

CLASSES
__builtin__.object

  MPD
class MPD(__builtin__.object)

    |   Methods defined here:

    |

    |   __init__(self)

    |

    |   calculate_process_mapping(self, mapping_dict)

    |

    |   cleanup(self)

    |

    |   do_mpdrun(self, msg)

    |

    |   get_parms_from_cmdline(self)

    |

    |   handle_console_connection(self, sock)

    |

    |   handle_console_input(self, sock)

    |

    |   handle_lhs_input(self, sock)

    |

    |   handle_man_input(self, sock)

    |

    |   handle_rhs_input(self, sock)

    |

    |   launch_mpdman_via_fork(self, msg, man_env)

    |

    |   launch_mpdman_via_subprocess(self, msg, man_env)

    |

    |   run(self)

    |

    |   run_one_cli(self, currRank, msg)

    |

    |   runmainloop(self)

    |

    |   usage(self)

    |

    |   ----------------------------------------------------------------------

    |   Data descriptors defined here:

    |

    |   __dict__

    |   dictionary for instance variables (if defined)

    |

    |   __weakref__

    |   list of weak references to the object (if defined)

FUNCTIONS
ctime(...) ctime(seconds) -> string

    Convert a time in seconds since the Epoch to a string in local time. This is equivalent to asctime(localtime(seconds)). When the time tuple is not present, current time as returned by localtime() is used.

dumps(...) dumps(obj, protocol=0) -- Return a string containing an object in pickle format.

    See the Pickler docstring for the meaning of optional argument proto.

md5new = openssl_md5(...) Returns a md5 hash object; optionally initialized with a string

random(...) random() -> x in the interval [0, 1).

sigchld_handler(signum, frame)

sleep(...) sleep(seconds)

    Delay execution for a given number of seconds.
        The argument may be a floating point number for subsecond precision.

DATA
__author__ = 'Ralph Butler and Rusty Lusk' __credits__ = '' __date__ = 'Mon Feb 22 16:28:10 2010'

__version__ = "$Revision: 1.160 $
    (1, 0, 1, 'July, 2006 release')" mpd_dbg_level = 0 pwd_module_available = 1 subprocess_module_available = 1 syslog_module_available = 1

VERSION

$Revision: 1.160 $
    (1, 0, 1, 'July, 2006 release')

DATE
Mon Feb 22 16:28:10 2010

AUTHOR
Ralph Butler and Rusty Lusk

CREDITS