BeowulfOpts.C File Reference

#include "Beowulf/BeowulfOpts.H"
#include "Component/ModelOptionDef.H"
#include <arpa/inet.h>
#include <netinet/in.h>
Include dependency graph for BeowulfOpts.C:

Go to the source code of this file.

Variables

const ModelOptionCateg MOC_BEOWULF
 Command-line options for Beowulf et al.
const ModelOptionDef OPT_BeowulfSlaveNames
const ModelOptionDef OPT_BeowulfMaster
const ModelOptionDef OPT_TCPcommunicatorIPaddr
const ModelOptionDef OPT_TCPcommunicatorInQlen
const ModelOptionDef OPT_TCPcommunicatorOuQlen
const ModelOptionDef OPT_TCPcommunicatorInDropLast
const ModelOptionDef OPT_TCPcommunicatorOuDropLast
const ModelOptionDef OPT_TCPcommunicatorDisableShm
const ModelOptionDef OPT_SockServPort
const ModelOptionDef OPT_BeowulfSelfQlen
const ModelOptionDef OPT_BeowulfSelfDropLast
const ModelOptionDef OPT_SingleChannelBeoServerQuickMode
const ModelOptionDef OPT_BeowulfInitTimeout

Detailed Description

Definition in file BeowulfOpts.C.


Variable Documentation

Initial value:
 {
  MOC_SORTPRI_2, "Beowulf-Related Options" }

Command-line options for Beowulf et al.

Beowulf-related options

Definition at line 50 of file BeowulfOpts.C.

const ModelOptionDef OPT_BeowulfInitTimeout
Initial value:
  { MODOPT_ARG(double), "BeowulfInitTimeout", &MOC_BEOWULF, OPTEXP_CORE,
    "Max time in seconds to wait for Beowulf initialization, "
    "or zero for unlimited",
    "beowulf-init-timeout", '\0', "<float>", "0" }

Definition at line 160 of file BeowulfOpts.C.

const ModelOptionDef OPT_BeowulfMaster
Initial value:
  { MODOPT_FLAG, "BeowulfMaster", &MOC_BEOWULF, OPTEXP_CORE,
    "Flags this as the master node",
    "beowulf-master", '\0', "", "false" }

Definition at line 83 of file BeowulfOpts.C.

const ModelOptionDef OPT_BeowulfSelfDropLast
Initial value:
  { MODOPT_FLAG, "BeowulfSelfDropLast", &MOC_BEOWULF, OPTEXP_CORE,
    "Message dropping policy when self-addressed message queue is full; "
    "if true, the most recent (last received) message will be dropped, "
    "otherwise, the least recent will be dropped",
    "tcp-selfdroplast", '\0', "", "false" }

Definition at line 145 of file BeowulfOpts.C.

const ModelOptionDef OPT_BeowulfSelfQlen
Initial value:
  { MODOPT_ARG(int), "BeowulfSelfQlen", &MOC_BEOWULF, OPTEXP_CORE,
    "Queue length for self-addressed messages, or zero for unlimited",
    "tcp-selfqlen", '\0', "<int>", "100" }

Definition at line 139 of file BeowulfOpts.C.

const ModelOptionDef OPT_BeowulfSlaveNames
Initial value:
  { MODOPT_ARG_STRING, "BeowulfSlaveNames", &MOC_BEOWULF, OPTEXP_CORE,
    "Comma-separated list of names of slaves to use, in the hostname:port "
    "format (default port will be used if not specified), or single absolute "
    "path to a text file that contains the node names, one per line.",
    "beowulf-slaves", '\0', "<host:port,host:port,...|/path/to/nodelist.txt>",
    "/etc/nodes" }

Definition at line 74 of file BeowulfOpts.C.

const ModelOptionDef OPT_SingleChannelBeoServerQuickMode
Initial value:
  { MODOPT_FLAG, "SingleChannelBeoServerQuickMode", &MOC_BEOWULF, OPTEXP_CORE,
    "Use quick mode where only the output map is sent back for each"
    "channel; this will break any program that attempts to access other"
    "channel results, such as the pyramid queue, submaps or clipPyramid",
    "scbserver-quickmode", '\0', "", "true" }

Definition at line 153 of file BeowulfOpts.C.

const ModelOptionDef OPT_SockServPort
Initial value:
  { MODOPT_ARG(short), "SockServPort", &MOC_BEOWULF, OPTEXP_CORE,
    "Port on which to listen for incoming Beowulf connections, "
    "or 0 to determine it from /etc/services",
    "ip-port", '\0', "<int>", "0" }

Definition at line 132 of file BeowulfOpts.C.

const ModelOptionDef OPT_TCPcommunicatorDisableShm
Initial value:
  { MODOPT_FLAG, "TCPcommunicatorDisableShm", &MOC_BEOWULF, OPTEXP_CORE,
    "Disable the use of shared memory for faster transfers between two "
    "Beowulf nodes running on the same physical machine",
    "tcp-disable-shm", '\0', "", "false" }

Definition at line 125 of file BeowulfOpts.C.

const ModelOptionDef OPT_TCPcommunicatorInDropLast
Initial value:
  { MODOPT_FLAG, "TCPcommunicatorInDropLast", &MOC_BEOWULF, OPTEXP_CORE,
    "Message dropping policy when incoming queue is full; if true, the "
    "most recent (last received) message will be dropped, otherwise, the "
    "least recent will be dropped",
    "tcp-indroplast", '\0', "", "false" }

Definition at line 109 of file BeowulfOpts.C.

const ModelOptionDef OPT_TCPcommunicatorInQlen
Initial value:
  { MODOPT_ARG(int), "TCPcommunicatorInQlen", &MOC_BEOWULF, OPTEXP_CORE,
    "Queue length for incoming messages, or zero for unlimited",
    "tcp-inqlen", '\0', "<int>", "100" }

Definition at line 97 of file BeowulfOpts.C.

const ModelOptionDef OPT_TCPcommunicatorIPaddr
Initial value:
  { MODOPT_ARG(in_addr), "TCPcommunicatorIPaddr", &MOC_BEOWULF, OPTEXP_CORE,
    "Our IP address to use for Beowulf communications (useful if we have "
    "several ethernet interfaces), or 0.0.0.0 to determine it automatically "
    "from our hostname",
    "ip-addr", '\0', "<int>.<int>.<int>.<int>", "0.0.0.0" }

Definition at line 89 of file BeowulfOpts.C.

const ModelOptionDef OPT_TCPcommunicatorOuDropLast
Initial value:
  { MODOPT_FLAG, "TCPcommunicatorOuDropLast", &MOC_BEOWULF, OPTEXP_CORE,
    "Message dropping policy when outgoing queue is full; if true, the "
    "most recent (last queued) message will be dropped, otherwise, the "
    "least recent will be dropped",
    "tcp-outdroplast", '\0', "", "false" }

Definition at line 117 of file BeowulfOpts.C.

const ModelOptionDef OPT_TCPcommunicatorOuQlen
Initial value:
  { MODOPT_ARG(int), "TCPcommunicatorOuQlen", &MOC_BEOWULF, OPTEXP_CORE,
    "Queue length for outgoing messages, or zero for unlimited",
    "tcp-outqlen", '\0', "<int>", "100" }

Definition at line 103 of file BeowulfOpts.C.

Generated on Sun May 8 08:42:38 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3