2. Manager Command Line Arguments¶
The manager provides built-in help output for the command line arguments it
supports if you run firesim --help
usage: firesim [-h] [-c RUNTIMECONFIGFILE] [-b BUILDCONFIGFILE]
[-r BUILDRECIPESCONFIGFILE] [-a HWDBCONFIGFILE]
[-x OVERRIDECONFIGDATA] [-f TERMINATESOMEF116]
[-g TERMINATESOMEF12] [-i TERMINATESOMEF14]
[-m TERMINATESOMEM416] [--terminatesome TERMINATESOME] [-q]
[-t LAUNCHTIME]
[--platform {f1,rhsresearch_nitefury_ii,vitis,xilinx_alveo_u200,xilinx_alveo_u250,xilinx_alveo_u280,xilinx_vcu118}]
{managerinit,infrasetup,boot,kill,runworkload,buildbitstream,builddriver,enumeratefpgas,tar2afi,runcheck,launchrunfarm,terminaterunfarm,shareagfi}
FireSim Simulation Manager.
positional arguments:
{managerinit,infrasetup,boot,kill,runworkload,buildbitstream,builddriver,enumeratefpgas,tar2afi,runcheck,launchrunfarm,terminaterunfarm,shareagfi}
Management task to run.
options:
-h, --help show this help message and exit
-c RUNTIMECONFIGFILE, --runtimeconfigfile RUNTIMECONFIGFILE
Optional custom runtime/workload config file. Defaults
to config_runtime.yaml.
-b BUILDCONFIGFILE, --buildconfigfile BUILDCONFIGFILE
Optional custom build config file. Defaults to
config_build.yaml.
-r BUILDRECIPESCONFIGFILE, --buildrecipesconfigfile BUILDRECIPESCONFIGFILE
Optional custom build recipe config file. Defaults to
config_build_recipes.yaml.
-a HWDBCONFIGFILE, --hwdbconfigfile HWDBCONFIGFILE
Optional custom HW database config file. Defaults to
config_hwdb.yaml.
-x OVERRIDECONFIGDATA, --overrideconfigdata OVERRIDECONFIGDATA
Override a single value from one of the the RUNTIME
e.g.: --overrideconfigdata "target-config link-latency
6405".
-f TERMINATESOMEF116, --terminatesomef116 TERMINATESOMEF116
DEPRECATED. Use --terminatesome=f1.16xlarge:count
instead. Will be removed in the next major version of
FireSim (1.15.X). Old help message: Only used by
terminaterunfarm. Terminates this many of the
previously launched f1.16xlarges.
-g TERMINATESOMEF12, --terminatesomef12 TERMINATESOMEF12
DEPRECATED. Use --terminatesome=f1.2xlarge:count
instead. Will be removed in the next major version of
FireSim (1.15.X). Old help message: Only used by
terminaterunfarm. Terminates this many of the
previously launched f1.2xlarges.
-i TERMINATESOMEF14, --terminatesomef14 TERMINATESOMEF14
DEPRECATED. Use --terminatesome=f1.4xlarge:count
instead. Will be removed in the next major version of
FireSim (1.15.X). Old help message: Only used by
terminaterunfarm. Terminates this many of the
previously launched f1.4xlarges.
-m TERMINATESOMEM416, --terminatesomem416 TERMINATESOMEM416
DEPRECATED. Use --terminatesome=m4.16xlarge:count
instead. Will be removed in the next major version of
FireSim (1.15.X). Old help message: Only used by
terminaterunfarm. Terminates this many of the
previously launched m4.16xlarges.
--terminatesome TERMINATESOME
Only used by terminaterunfarm. Used to specify a
restriction on how many instances to terminate. E.g.,
--terminatesome=f1.2xlarge:2 will terminate only 2 of
the f1.2xlarge instances in the runfarm, regardless of
what other instances are in the runfarm. This argument
can be specified multiple times to terminate
additional instance types/counts. Behavior when
specifying the same instance type multiple times is
undefined. This replaces the old
--terminatesome{f116,f12,f14,m416} arguments. Behavior
when specifying these old-style terminatesome flags
and this new style flag at the same time is also
undefined.
-q, --forceterminate For terminaterunfarm and buildbitstream, force
termination without prompting user for confirmation.
Defaults to False
-t LAUNCHTIME, --launchtime LAUNCHTIME
Give the "Y-m-d--H-M-S" prefix of results-build
directory. Useful for tar2afi when finishing a partial
buildbitstream
--platform {f1,rhsresearch_nitefury_ii,vitis,xilinx_alveo_u200,xilinx_alveo_u250,xilinx_alveo_u280,xilinx_vcu118}
Required argument for "managerinit" to specify which
platform you will be using
On this page, we will go through some of these options – others are more complicated, so we will give them their own section on the following pages.
2.1. --runtimeconfigfile
FILENAME
¶
This lets you specify a custom runtime config file. By default, config_runtime.yaml
is used. See config_runtime.yaml for what this config file does.
2.2. --buildconfigfile
FILENAME
¶
This lets you specify a custom build config file. By default, config_build.yaml
is used. See config_build.yaml for what this config file does.
2.3. --buildrecipesconfigfile
FILENAME
¶
This lets you specify a custom build recipes config file. By default,
config_build_recipes.yaml
is used. See config_build_recipes.yaml for what
this config file does.
2.4. --hwdbconfigfile
FILENAME
¶
This lets you specify a custom hardware database config file. By default,
config_hwdb.yaml
is used. See config_hwdb.yaml for what this config file does.
2.5. --overrideconfigdata
SECTION
PARAMETER
VALUE
¶
This lets you override a single value from the runtime config file. For
example, if you want to use a link latency of 3003 cycles for a particular run
(and your config_runtime.yaml
file specifies differently), you can pass
--overrideconfigdata target_config link_latency 6405
to the manager. This
can be used with any task that uses the runtime config.
2.6. --launchtime
TIMESTAMP
¶
Specifies the “Y-m-d–H-M-S” timestamp to be used as the prefix in
results-build
directories. Useful when wanting to run tar2afi
after an
aborted buildbitstream
was manually fixed.
2.7. TASK
¶
This is the only required/positional command line argument to the manager. It tells the manager what it should be doing. See the next section for a list of tasks and what they do. Some tasks also take other command line arguments, which are specified with those tasks.