
#include "Beowulf/BeowulfOpts.H"#include "Component/ModelOptionDef.H"#include <arpa/inet.h>#include <netinet/in.h>
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 |
Definition in file BeowulfOpts.C.
| const ModelOptionCateg MOC_BEOWULF |
{
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 |
{ 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 |
{ 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 |
{ 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 |
{ 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 |
{ 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 |
{ 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 |
{ 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 |
{ 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 |
{ 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 |
{ 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 |
{ 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 |
{ 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 |
{ 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.
1.6.3