Command line options for Aspherix

Created by Alice König, Modified on Mon, 1 Dec at 10:16 AM by Martin Niemann

-e <value>, -echo <value>

Set the style of command echoing.

-i <input_script>, -in <input_script>

Specify a file to use as an input script.

-h, -help

Print available commandline options and help output.

-l <log_file>, -log <log_file>

Specify log file for Aspherix® to write simulation information to.

-status <status_file>

Specify a status file for Aspherix® to write output produced by the status command to.

-w <warn_file>, -warn <warn_file>

Specify warnings file for Aspherix® to write runtime warnings to.

-nc, -nocite

Disable writing the log.cite file.

-r <restart_file> <data_file>, restart <restart_file> <data_file>

Convert the restart file into a data file and immediately exit.

-sc <screen_file>, -screen <screen_file>

Specify a file for Aspherix® to write its screen information to.

-v <var_name> <var_value(s)>, -var <var_name> <var_value(s)>

Specify a variable that will be defined for substitution purposes when the input script is read.

License management command line options

-lp <license_path>, -license_path <license_path>

Supply a license file to Aspherix®.

-dp <demopw>, -demo_password <demopw>

Set password if required by license file.

-re, -reinstall

Unpack the documentation and examples.

-configuration <config>

Store provided license file in configuration.

Hardware agnostic simulations on CPU or GPU

-gpu

Invoke Aspherix® on GPU.

-generic

Invoke Aspherix® without any multi-threading (CPU).

-openmp

Invoke Aspherix® with OpenMP multi-threading (CPU).

-num_threads <num_threads>

Specify the number of threads to use for multi-threading (CPU), see -openmp for more details.

-list_architectures

List all available compute architectures.

-architecture <architecture>

Invoke Aspherix® with the selected architecture. Use the -list_architectures to obtain a valid architecture.

-cuda_device <device_id>

Invoke Aspherix® on a GPU with selected index.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article