
#include "Component/GlobalOpts.H"#include "Component/ModelOptionDef.H"#include "Util/fpu.H"
Go to the source code of this file.
Variables | |
| const ModelOptionDef | OPT_ShowHelpMessage |
| Global command-line options for ModelManager et al. | |
| const ModelOptionDef | OPT_ShowVersion |
| const ModelOptionDef | OPT_ShowSvnVersion |
| const ModelOptionDef | OPT_CheckPristine |
| const ModelOptionDef | OPT_DebugMode |
| const ModelOptionDef | OPT_UsingFPE |
| const ModelOptionDef | OPT_FpuPrecision |
| const ModelOptionDef | OPT_FpuRoundingMode |
| const ModelOptionDef | OPT_TestMode |
| const ModelOptionDef | OPT_LoadConfigFile |
| const ModelOptionDef | OPT_SaveConfigFile |
| const ModelOptionDef | OPT_TextLogFile |
| const ModelOptionDef | OPT_UseRandom |
| const ModelOptionDef | OPT_ProfileOutFile |
| const ModelOptionDef | OPT_LogVerb |
| const ModelOptionDef | OPT_EchoArgs |
| const ModelOptionDef | OPT_MemCaching |
Definition in file GlobalOpts.C.
| const ModelOptionDef OPT_CheckPristine |
{ MODOPT_FLAG, "CheckPristine", &MOC_GENERAL, OPTEXP_CORE,
"Check if the executable was built from pristine source (i.e., "
"all files up-to-date and not locally modified), and return an "
"exit code of zero if true, and non-zero otherwise",
"check-pristine", '\0', "", "false" }
Definition at line 67 of file GlobalOpts.C.
| const ModelOptionDef OPT_DebugMode |
{ MODOPT_FLAG, "DebugMode", &MOC_GENERAL, OPTEXP_CORE,
"Use debug mode, which, in particular, will increase the verbosity of "
"the log messages and printout all model parameter values just before "
"the model starts",
"debug", 'd', "", "false" }
Definition at line 75 of file GlobalOpts.C.
| const ModelOptionDef OPT_EchoArgs |
{ MODOPT_FLAG, "EchoArgs", &MOC_GENERAL, OPTEXP_CORE,
"Echo all the command-line arguments to stdout after "
"command-line parsing is done.",
"echo-args", '\0', "", "false" }
Definition at line 155 of file GlobalOpts.C.
| const ModelOptionDef OPT_FpuPrecision |
{ MODOPT_ARG(FpuPrecision), "FpuPrecision", &MOC_GENERAL, OPTEXP_CORE,
"Specifies the precision in which the floating-point unit (FPU) "
"should operate; default is 'extended'",
"fpu-precision", '\0', "<single|double|extended>", "extended" }
Definition at line 90 of file GlobalOpts.C.
| const ModelOptionDef OPT_FpuRoundingMode |
{ MODOPT_ARG(FpuRoundingMode), "FpuRoundingMode", &MOC_GENERAL, OPTEXP_CORE,
"Specifies the rounding-mode in which the floating-point unit (FPU) "
"should operate; options are nearest (toward nearest), down "
"(toward -inf), up (toward +inf), zero (toward zero)",
"fpu-rounding", '\0', "<nearest|down|up|zero>", "nearest" }
Definition at line 97 of file GlobalOpts.C.
| const ModelOptionDef OPT_LoadConfigFile |
{ MODOPT_ARG_STRING, "LoadConfigFile", &MOC_GENERAL, OPTEXP_CORE,
"Load configuration from file",
"load-config-from", '\0', "<file.pmap>", "" }
Definition at line 115 of file GlobalOpts.C.
| const ModelOptionDef OPT_LogVerb |
{ MODOPT_ARG_STRING, "LogVerb", &MOC_GENERAL, OPTEXP_CORE,
"Verbosity of log messages displayed during execution. If 'Default' is "
"selected, will use whatever value may have been set as default "
"in the program.",
"logverb", '\0', "<Debug|Info|Error|Fatal|Default>", "Default" }
Definition at line 147 of file GlobalOpts.C.
| const ModelOptionDef OPT_MemCaching |
{ MODOPT_FLAG, "MemCaching", &MOC_GENERAL, OPTEXP_CORE,
"Whether to cache memory allocations of commonly-used sizes.",
"mem-caching", '\0', "", "true" }
Definition at line 162 of file GlobalOpts.C.
| const ModelOptionDef OPT_ProfileOutFile |
{ MODOPT_ARG_STRING, "ProfileOutFile", &MOC_GENERAL, OPTEXP_CORE,
"Where to save profiling information upon program exit (if 'none' "
"is passed for the filename, then profiling information will not "
"be saved at all)",
"profile-out", '\0', "<filename>", "" }
Definition at line 139 of file GlobalOpts.C.
| const ModelOptionDef OPT_SaveConfigFile |
{ MODOPT_ARG_STRING, "SaveConfigFile", &MOC_GENERAL, OPTEXP_CORE,
"Save configuration to file",
"save-config-to", '\0', "<file.pmap>", "" }
Definition at line 121 of file GlobalOpts.C.
{ MODOPT_FLAG, "ShowHelpMessage", &MOC_GENERAL, OPTEXP_CORE,
"Show help message and option syntax",
"help", 'h', "", "true" }
Global command-line options for ModelManager et al.
Definition at line 48 of file GlobalOpts.C.
Referenced by CmdlineOptionManager::parseCommandLineCore().
| const ModelOptionDef OPT_ShowSvnVersion |
{ MODOPT_FLAG, "ShowSvnVersion", &MOC_GENERAL, OPTEXP_CORE,
"Show the svn repository version of the current build",
"svnversion", '\0', "", "false" }
Definition at line 61 of file GlobalOpts.C.
| const ModelOptionDef OPT_ShowVersion |
{ MODOPT_FLAG, "ShowVersion", &MOC_GENERAL, OPTEXP_CORE,
"Show the package name, version, and the svn repository "
"version of the current build",
"version", '\0', "", "false" }
Definition at line 54 of file GlobalOpts.C.
| const ModelOptionDef OPT_TestMode |
{ MODOPT_FLAG, "TestMode", &MOC_GENERAL, OPTEXP_CORE,
"Use test mode, which, in particular, will turn off randomness (like "
"--nouse-random), reset random numbers to a reproducible pseudo "
"sequence, and turn off most displays. This is mostly useful for "
"execution of the test suite, or any situation where you need "
"deterministic, reproducible behavior",
"test-mode", 'Z', "", "false" }
Definition at line 105 of file GlobalOpts.C.
| const ModelOptionDef OPT_TextLogFile |
{ MODOPT_ARG_STRING, "TextLogFile", &MOC_GENERAL, OPTEXP_CORE,
"Save text log messages to file",
"textlog", '\0', "<file.log>", "" }
Definition at line 127 of file GlobalOpts.C.
| const ModelOptionDef OPT_UseRandom |
{ MODOPT_FLAG, "UseRandom", &MOC_GENERAL, OPTEXP_CORE,
"Add small amounts of random noise to various stages of model",
"use-random", '\0', "", "true" }
Definition at line 133 of file GlobalOpts.C.
| const ModelOptionDef OPT_UsingFPE |
{ MODOPT_FLAG, "UsingFPE", &MOC_GENERAL, OPTEXP_CORE,
"Use floating-point exceptions, which will abort execution if overflow, "
"underflow, invalid or division by zero are encountered",
"use-fpe", '\0', "", "true" }
Definition at line 83 of file GlobalOpts.C.
1.6.3