![]() |
The predefined command line options for any application using hpx::init are described in the table below:
Table 9. Default HPX Command Line Options
|
Option |
Description |
|---|---|
|
HPX options (allowed on command line only) |
|
|
|
print out program usage |
|
|
print out HPX version and copyright information |
|
|
specify a file containing command line options (alternatively: @filepath) |
|
HPX options (additionally allowed in an options file) |
|
|
|
run this instance in worker mode |
|
|
run this instance in console mode |
|
|
run this instance in worker mode, but connecting late |
|
|
run AGAS server as part of this runtime instance |
|
|
run the hpx_main function, regardless of locality mode |
|
|
the IP address the HPX parcelport is listening on, expected format: 'address:port' (default: 127.0.0.1:7910) |
|
|
the IP address the AGAS server is running on, expected format: 'address:port' (default: 127.0.0.1:7910) |
|
|
run only the AGAS server |
|
|
the file name of a node file to use (list of nodes, one node name per line and core) |
|
|
the (space separated) list of the nodes to use (usually this is extracted from a node file) |
|
|
suffix to append to host names in order to resolve them to the proper network interconnect |
|
|
prefix to prepend to host names in order to resolve them to the proper network interconnect |
|
|
sed-style search and replace (s/search/replace/) used to transform host names to the proper network interconnect |
|
|
the number of localities to wait for at application startup (default: 1) |
|
|
number of the node this locality is run on (must be unique) |
|
|
the first processing unit this instance of HPX should be run on (default: 0) |
|
|
the step between used processing unit numbers for this instance of HPX (default: 1) |
|
|
the number of operating system threads to spawn for this HPX locality (default: 1) |
|
|
the queue scheduling policy to use, options are 'local/l', 'priority_local/pr', 'abp/a', 'priority_abp', 'hierarchy/h', and 'periodic/pe' (default: priority_local/p) |
|
|
the arity of the of the thread queue tree, valid for --queuing=hierarchy only (default: 2) |
|
|
the number of operating system threads maintaining a high priority queue (default: number of OS threads), valid for --queueing=priority_local only |
|
|
makes the priority_local scheduler NUMA sensitive, valid for --queuing=priority_local only |
|
HPX configuration options |
|
|
|
load the specified application configuration (ini) file |
|
|
load the specified hpx configuration (ini) file |
|
|
add a configuration definition to the default runtime configuration |
|
|
exit after configuring the runtime |
|
HPX debugging options |
|
|
|
list all registered symbolic names after startup |
|
|
list all dynamic component types after startup |
|
|
print the initial runtime configuration |
|
|
print the final runtime configuration |
|
|
enable all messages on the HPX log channel and send all HPX logs to the target destination |
|
|
enable all messages on the AGAS log channel and send all AGAS logs to the target destination |
|
|
debug command line processing |
|
HPX options related to performance counters |
|
|
|
print the specified performance counter either repeatedly or before shutting down the system (see option --print-counter-interval) |
|
|
print the performance counter(s) specified with --print-counter repeatedly after the time interval (specified in milliseconds) (default: 0, which means print once at shutdown) |
|
|
print the performance counter(s) specified with --print-counter to the given file (default: console) |
|
|
list the names of all registered performance counters |
|
|
list the description of all registered performance counters |