Command Line Interface¶
DESC is executed with the following command line syntax:
usage: desc [-h] [-o output_file] [-p] [-q] [-v] [--vmec vmec_path]
[--gpu [gpuID]] [--numpy] [--version]
[input_file [input_file ...]]
Positional Arguments¶
- input_file
Path to input file
Named Arguments¶
- -o, --output
Path to output file. If not specified, defaults to <input_name>.output
- -p, --plot
Plot results after solver finishes
- -q, --quiet
Do not display any progress information
- -v, --verbose
Display detailed progress information
- --vmec
Path to VMEC data for comparison plot
- --gpu, -g
Use GPU if available, and an optional device ID to use a specific GPU. If no ID is given, default is to select the GPU with most available memory. Note that not all of the computation will be done on the gpu, only the most expensive parts where the I/O efficiency is worth it.
- --numpy
Use numpy backend.Performance will be much slower, and autodiff won’t work but may be useful for debugging
- --version
Display version number and exit