Command-Line Options
This page is generated from XGC_core/cpp/main/command_line_inputs.hpp by utils/python/document_cli.py.
XGC runtime options are passed to the executable. For example:
srun ./xgc -max_walltime "$((SLURM_TIMELIMIT - 10))"
Options
-max_walltimeSpecifies a maximum walltime in minutes after which XGC will write a checkpoint and end the simulation
--infoPrints build and backend information, then exits
--dryrunPartially runs XGC setup to check for some common input errors
-n_ranksOptional input if using –dryrun: Specify the number of MPI ranks you plan to use
--debugActivates extra barriered checkpoints and validity checks (not intended for production)
--perf-barriersAdds MPI barriers to top-level timers to help identify load imbalance
--testChecks particles against reference data
--update-testUpdates reference data used in particle test
--moments-testChecks moments against reference data
--update-moments-testUpdates reference data used in moments test