Command-line options
This page lists every command of pyamplicol and every option, with the run-card field the option sets and its default. The workflow, with an example per command, is on Command line; the run-card fields are on Run card.
- How a command line is read
- Options of every command
- Exit codes
- generate
- evaluate
- profile
- check
- inspect
- group-processes
- export-recurrence
- model inspect
- model compile
- model processes
- config template
- config resolve
- examples list, examples copy, examples run
- profiling-campaign copy
- doctor, self-test
- request-symbolica-trial-license, request-symbolica-hobbyist-license
- Options that are refused
How a command line is read
| Form | Runs |
|---|---|
pyamplicol COMMAND [ARGUMENTS] [OPTIONS] | the command |
pyamplicol CARD [OPTIONS] | the card’s action, with the options of that action |
pyamplicol CARD ACTION [--output DIR] [OPTIONS] | ACTION with the settings of CARD; ACTION is generate, check, evaluate, profile, benchmark or inspect |
pyamplicol ACTION --card CARD [OPTIONS] | ACTION with the settings of CARD |
In the third form, --output DIR is read from the working directory and sets generation.output for generate and evaluation.artifact for the other actions. pyamplicol COMMAND --help prints the options of a command; for model, config, examples and profiling-campaign, put --help after the second word.
A setting comes from the default, the run card, a dedicated option (the tables below) and --set PATH=VALUE in the order given, a later one winning; the annotations of a process in MadGraph syntax come last and must agree with them (Configuration precedence). pyAmpliCol may then lower a setting to what the host or the Symbolica license allows; config resolve shows each such adjustment. An unknown field is an error.
Relative paths in a run card are read from the card’s folder; relative paths on the command line, --set values included, from the working directory.
In the tables, --[no-]name stands for the pair --name and --no-name. Under an option stands the run-card field it sets: the same setting can come from the card or from --set. An option without a field belongs to the command line only.
Options of every command
generate, evaluate, profile, benchmark, check, inspect, group-processes and the three model commands take these options:
| Option and run-card field | Default | Meaning |
|---|---|---|
--card CARD | none | read the settings of a run card |
--set PATH=VALUE | none | set one run-card field; repeat, applied in order after the options |
--json | off | write JSON to standard output instead of tables; output.format cannot select it |
--fields-description-help | off | after the tables, describe each table and column in plain words |
--color MODEoutput.color | auto | auto (color on a terminal), always or never |
--progress MODEoutput.progress | auto | auto, tty (live display), log (one line per event) or off |
--log-level LEVELoutput.log_level | warning | debug, info, warning or error |
--[no-]symbolica-suggestionsymbolica.suggest_license | on | show one reminder when Symbolica runs without a license |
The other commands take only the options listed in their own section.
Exit codes
| Code | Meaning |
|---|---|
| 0 | success |
| 1 | check: a process failed; doctor, self-test: a check failed |
| 2 | an error: an invalid option or setting, a refused request, a missing or damaged file |
| 3 | check: a process had nothing to check, or a check that applies did not run |
| 4 | check: a process is inconclusive and none failed |
| 130 | interrupted with Ctrl-C |
generate
pyamplicol generate [PROCESS] [OUTPUT] [OPTIONS]
Generates an artifact. PROCESS (MadGraph syntax accepted) sets process.entries; OUTPUT sets generation.output. Guide: Command line.
Planning and correlations
| Option and run-card field | Default | Meaning |
|---|---|---|
--dry-run | off | plan and validate the generation, write nothing |
--correlators FILE | none | a JSON file of spin and color correlations to prepare (Spin and color correlations); not with --dry-run |
Model
model inspect, model compile and model processes take these options too.
| Option and run-card field | Default | Meaning |
|---|---|---|
--model SOURCEmodel.source | built-in-sm | built-in-sm, built-in-sm-heft, a shipped model name, a JSON model, a UFO directory, a compiled model or a prepared model (Models) |
--restriction NAMEmodel.restriction | the model’s default restriction | a restriction card of the model |
--[no-]simplifymodel.simplify | on | simplify an external model while compiling it |
--[no-]model-cachemodel.cache | on | reuse the compiled-model cache |
--model-cache-dir DIRmodel.cache_dir | the user cache | the folder of the model cache |
--[no-]loop-preparation-cachemodel.loop_preparation_cache | on | reuse the cache of one-loop model preparations; --no-model-cache also turns it off |
Process
model processes takes these options too.
| Option and run-card field | Default | Meaning |
|---|---|---|
--process EXPRprocess.entries | none | one more process; repeat |
--name NAMEprocess.entries | generated | the names of the processes, one per process, in order |
--multiparticle NAME=ITEM,...process.multiparticles | – | define a multiparticle label; repeat |
--flavor-scheme Nprocess.flavor_scheme | 5 | the number of active quark flavors |
--max-quark-lines Nprocess.max_quark_lines | no limit | the most quark lines a concrete process may have |
--coupling-order-policy Pprocess.coupling_order_policy | minimal | minimal keeps the lowest orders by the model’s hierarchy, as MadGraph does; explicit generates every order within the limits |
--max-coupling-order NAME=Nprocess.max_coupling_orders | none | a limit on an amplitude coupling order; repeat |
--loop-coupling-order NAMEprocess.loop_coupling_orders | none | request the one-loop correction in NAME; repeat for several ([QCD QED]) |
--loop-induced MODEprocess.loop_induced | auto | processes without a tree-level amplitude: auto serves a request without a Born as loop-induced, skip none, only only them, include both kinds |
A name with --name must be given for every process or for none.
Process groups
group-processes takes these options too, with the default analysis numerical.
| Option and run-card field | Default | Meaning |
|---|---|---|
--flavor-blindprocess.flavor_blind | off | generate one representative per flavor-relabeling class and record the others as its members (assumed, not verified) |
--[no-]consider-charge-conjugationprocess.consider_charge_conjugation | on | also relate processes through charge conjugation |
--only-unit-multiplierprocess.only_unit_multiplier | off | accept only numerically found relations with factor 1 |
--analyze-process-groups Aprocess.analyze_process_groups | none | numerical: search for subprocesses with equal matrix elements up to a rational factor |
Process grouping explains the relations.
Color
| Option and run-card field | Default | Meaning |
|---|---|---|
--color-accuracy MODEcolor.accuracy | lc at tree level, full at one loop | lc, nlc, full, strict-lc or strict-nlc (Color); at one loop the strict modes are refused |
--color-gradedcolor.graded | off | split tree-level values by power of \(N_c\); implied by the strict modes |
--color-contraction Ccolor.contraction | auto | auto (FFT where an NLC or full-color recurrence or on-the-fly plan supports it, else direct), direct or symmetric-group-fft |
--fft BASIScolor.contraction, color.fft_basis | none | force FFT contraction in the adjoint or trace basis; needs nlc or full; not with --color-contraction |
--lc-flow-layout Lcolor.lc_flow_layout | topology-replay | topology-replay or all-flow-union (LC only, complete coverage only) |
Output and generation
model compile takes these options and the next two tables too.
| Option and run-card field | Default | Meaning |
|---|---|---|
--mode Mgeneration.mode | error | an existing output: error refuses it, replace replaces it, append adds to a compatible artifact |
--forcegeneration.mode | – | the same as --mode replace |
--workers Ngeneration.workers | auto | processes generated in parallel, or auto |
--[no-]emit-api-bundlegeneration.emit_api_bundle | on | write the standalone Python, Rust, C, C++, Fortran and UMAMI drivers into the artifact |
--[no-]numerical-current-reusegeneration.relation_discovery.mode | off | search for and apply numerically certified relations between currents (costly high-precision probes) |
Validation
| Option and run-card field | Default | Meaning |
|---|---|---|
--[no-]validationgeneration.validation.enabled | on | validate the generated evaluators |
--validation-samples Ngeneration.validation.samples | 2 | validation points |
--validation-seed Ngeneration.validation.seed | 12345 | their seed |
--relative-tolerance Xgeneration.validation.relative_tolerance | 1e-12 | relative tolerance of the validation |
--absolute-tolerance Xgeneration.validation.absolute_tolerance | 1e-300 | absolute tolerance of the validation |
--[no-]post-build-validationgeneration.validation.post_build_validation | off | open the written artifact again and evaluate it once |
One-loop generation
model compile takes these options too, except --r2-strategy and --loop-reduction.
| Option and run-card field | Default | Meaning |
|---|---|---|
--particle-veto PARTICLEgeneration.particle_veto | none | remove a particle and its antiparticle from every tree vertex, and its loops from the counterterms; repeat |
--[no-]allow-anomalous-vetogeneration.allow_anomalous_veto | off | keep a veto that leaves Levi-Civita counterterms uncancelled (for example one breaking a quark doublet), recorded in the artifact |
--[no-]loop-induced-probesgeneration.loop_induced_probes | off | run the finiteness, Ward and Goldstone probes of loop-induced processes at generation; a failure refuses the process |
--[no-]allow-failed-probesgeneration.allow_failed_probes | off | store a process whose probe failed (with --loop-induced-probes), recorded in the artifact |
--[no-]loop-induced-foldinggeneration.loop_induced_folding | on | fold the loop chains of a loop-induced process that are exactly proportional |
--r2-strategy Sloop.r2_strategy | auto | auto, model (the model’s UV and \(R_2\) rules) or direct |
--loop-reduction Bloop.reduction | auto | the artifact’s default reduction backend: auto (TIRust for loop-induced processes, with a NinjaRS fallback per point; NinjaRS for the others), ninjars or tirust |
What these settings do is on One-loop matrix elements and Numerical stability.
Execution and evaluator
| Option and run-card field | Default | Meaning |
|---|---|---|
--execution-mode MODEevaluator.execution_mode | auto | auto, recurrence, compiled, on-the-fly, eager or loop_recurrence; auto takes recurrence for a tree, compiled for a strict or graded request, loop_recurrence at one loop (Execution modes and backends) |
--backend Bevaluator.backend | jit | jit, asm or cpp |
--batch-size Nevaluator.batch_size | 128 | the evaluation batch size |
--output-chunk-size Nevaluator.output_chunk_size | 512 | the output chunk size |
--horner-iterations Nevaluator.optimization.horner_iterations | 10 | Horner-scheme iterations of the expression optimizer |
--cpe-iterations Nevaluator.optimization.cpe_iterations | Symbolica’s default | common-pair-elimination iterations |
--cores Nevaluator.optimization.cores | auto | threads of the expression optimizer |
--max-horner-variables Nevaluator.optimization.max_horner_variables | 1000 | a limit of the Horner scheme |
--max-common-pair-cache-entries Nevaluator.optimization.max_common_pair_cache_entries | 5000000 | a limit of common-pair elimination |
--max-common-pair-distance Nevaluator.optimization.max_common_pair_distance | 1000 | a limit of common-pair elimination |
--[no-]collect-factorsevaluator.optimization.collect_factors | auto | collect common factors |
--jit-optimization-level Nevaluator.jit.optimization_level | 2 | 0 to 3 |
--[no-]jit-compressevaluator.jit.compress | auto | smaller JIT code, possibly slower |
--cpp-optimization TOKENevaluator.cpp.optimization | O3 | the C++ optimization flag |
--cpp-compiler EXEevaluator.cpp.compiler | the system’s c++ | the C++ compiler |
--[no-]cpp-native-archevaluator.cpp.native_arch | off | compile for the host CPU, recorded in the artifact |
--cpp-extra-flag FLAGevaluator.cpp.extra_flags | none | one more compiler flag; only -fno-math-errno is accepted; repeat |
evaluate
pyamplicol evaluate [ARTIFACT] [OPTIONS]
Evaluates an artifact at phase-space points. ARTIFACT sets evaluation.artifact. Guide: Command line.
Points and selection
| Option and run-card field | Default | Meaning |
|---|---|---|
--momenta FILEevaluation.momenta | flat points | a JSON list of points, each a list of [E, px, py, pz] per particle, incoming first |
--model-parameters FILEevaluation.model_parameters | none | a JSON mapping of model parameters to values (a complex value as [real, imaginary]) |
--process EXPRevaluation.process | the default process | a stable process ID, an alias ID or a process expression |
--helicity IDevaluation.helicity_ids | all | a helicity configuration, such as h:-1,+1,-1,+1; repeat |
--color-flow IDevaluation.color_flow_ids | all | a stable color-flow ID or the one-based number inspect shows; repeat; LC only |
--[no-]resolvedevaluation.resolved | off | the value per helicity and color component |
--[no-]ordersevaluation.orders | off | the value split by squared coupling order, with the sums in a separate table |
--precision DIGITSevaluation.precision | 16 | another value evaluates in arbitrary precision with that many digits; at one loop, --arithmetic arbitrary alone takes 500 |
--pt-min PTevaluation.phase_space.pt_min | no cut | flat points: the least transverse momentum of each massless final-state parton, photon and charged lepton |
--delta-r-min DRevaluation.phase_space.delta_r_min | no cut | flat points: the least \(\Delta R\) of each pair of them |
--correlated-requests FILEevaluation.correlated_requests | none | named spin and color correlations (Spin and color correlations); not with --resolved or --color-flow |
Without --momenta, the points are drawn as [evaluation.phase_space] sets them (--set evaluation.phase_space.FIELD=VALUE):
| Field | Default | Meaning |
|---|---|---|
points | 2 | the number of points |
seed | 1 | point \(i\) is drawn from seed \(\mathrm{seed} + i\) |
sqrt_s | massless beams: the larger of 1000 and the final-state masses plus 100 | the collision energy (Flat phase-space points) |
cut_attempts | 100000 | tries per point before the cuts are refused |
One-loop artifacts
On a tree-level artifact these options are refused, except --kinematics-improvement, its binary64 switch and --lane-rescue, which do nothing there, and --arithmetic, which a tree-level correlated request takes (arbitrary, its default, or double-double).
| Option and run-card field | Default | Meaning |
|---|---|---|
--mu-r2 VALUEevaluation.mu_r2 | required with --momenta; \(s\) per flat point | \(\mu_R^2\), positive, read as exact text |
--mu-r2-file FILEevaluation.mu_r2_file | none | a JSON list of \(\mu_R^2\), one per point, as numbers or strings |
--arithmetic Aevaluation.arithmetic | double | double, double-double or arbitrary |
--poles Pevaluation.poles | all | all, none (the finite part only), uv (the bare loop’s UV poles) or ir (the IR poles of the renormalized virtual) |
--r2-strategy Sloop.r2_strategy | auto | an \(R_2\) strategy stored in the artifact |
--loop-reduction Bevaluation.reduction | the artifact’s | auto, ninjars or tirust; a named backend has no fallback |
--reduction-target Xevaluation.reduction_target | 1e-5 | the relative target accuracy per point |
--[no-]reduction-uncheckedevaluation.reduction_unchecked | off | reduce without the backends’ own acceptance checks: a timing mode without accuracy certificate |
--[no-]lane-rescueevaluation.lane_rescue | on | reduce a refused reduction lane again in double-double, then arbitrary precision |
--threads Nevaluation.threads | RAYON_NUM_THREADS, else every core | native threads of the load and of every evaluation |
--kinematics-improvement Vevaluation.kinematics_improvement | z-shift | make the points exact above binary64: z-shift, rescaling, projection or off |
--[no-]kinematics-improvement-binary64evaluation.kinematics_improvement_binary64 | off | improve binary64 points as well |
--on-failure Fevaluation.on_failure | best-effort | a point no method accepts: best-effort returns its best value marked best-effort, return a row without value, raise stops |
--stability-rotations Nevaluation.stability_checks.rotation_count | 0 | rotation checks with N default rotations |
--stability-rotation Revaluation.stability_checks.rotations | none | a rotation check, x:COS:SIN (axis x, y or z), AX,AY,AZ:RADIANS or euler:ALPHA,BETA,GAMMA; repeat |
--[no-]stability-reduction-directionevaluation.stability_checks.reduction_direction | off | reduce every loop numerator again, reversed |
--[no-]stability-rescaledevaluation.stability_checks.rescaled | off | run that check at rescaled inputs, with the master integrals evaluated again |
--stability-floor-weight Wevaluation.stability_checks.floor_weight | by loop size | loop-induced estimates: the weight of the rounding floor; 1 up to pentagons, \(2^{-6}\) for hexagons, \(2^{-12}\) from heptagons on |
The recommended checks are --stability-rotations 1 --stability-reduction-direction --stability-rescaled. These options can also come from a runtime-options file given with --card (Run card); what they do and cost is on Numerical stability.
profile
pyamplicol profile [ARTIFACT] [OPTIONS]
pyamplicol benchmark [ARTIFACT] [OPTIONS]
Times an artifact; benchmark is another name for it. ARTIFACT sets evaluation.artifact. Guides: Profiling, and Numerical stability for --stability.
Every artifact
| Option and run-card field | Default | Meaning |
|---|---|---|
--target-runtime SECONDSbenchmark.target_runtime | 10 | the timing budget; at one loop the default 10 s is shared by all backends, a value you give is per backend |
--batch-size POINTSbenchmark.batch_size | 128 | points per timed call |
--warmup-runs Nbenchmark.warmup_runs | 2 | untimed calls first |
--minimum-samples Nbenchmark.minimum_samples | 5 | the least number of timed blocks |
--precision DIGITSbenchmark.precision | 16 | tree level: the digits of the timed evaluation |
--helicity ID, --color-flow IDbenchmark.helicity_ids, benchmark.color_flow_ids | the artifact’s profiling workload | the helicities and color flows timed |
--process EXPRevaluation.process | the default process | the process timed |
--momenta PATHevaluation.momenta | flat points | the points timed, cycled |
--seed SEEDevaluation.phase_space.seed | 1 | the seed of the first flat point |
--sqrt-s ENERGYevaluation.phase_space.sqrt_s | as for evaluate | the energy of the flat points (Flat phase-space points) |
--pt-min PT, --delta-r-min DRevaluation.phase_space.pt_min, delta_r_min | no cut | cuts on the flat points, as for evaluate |
Counts given on the command line or in a run card are honored.
One-loop artifacts
| Option and run-card field | Default | Meaning |
|---|---|---|
--runtimebenchmark.runtime | on when --stability is absent | time per point and per stage of each reduction backend |
--stabilitybenchmark.stability | off | stable digits of binary64 against the ground truth, and the accuracy of the default estimate |
--stability-points Nbenchmark.stability_points | what one minute per worker affords, at least 5 | flat points of the stability run |
--n_core N, --n-core Nbenchmark.n_core | 10, at most the usable cores | worker processes of the stability run; 1 runs in-process |
--runtime-threads Nbenchmark.runtime_threads | 1 | native threads inside each timed call; above 1 the time is no longer that of one core |
--[no-]all-backendsbenchmark.all_backends | every backend, unless the default one alone exceeds the budget | time every backend whatever the budget, or the default one only |
--measured-precisions P [P ...]benchmark.measured_precisions | binary64 | the precisions the stability run measures: binary64, double-double, arbitrary or arbitrary:DIGITS, at most the ground truth |
--ground-truth Gbenchmark.ground_truth | double-double | the reference: double-double, arbitrary, arbitrary:DIGITS (default 500 digits) or none (estimates only) |
--completion-time DURATIONbenchmark.completion_time | none | the wall time of the whole profile, in seconds or as 90s, 10m, 1h30m; it overrules every count |
--samples-output PATHbenchmark.samples_output | none | write every stability sample’s record to a JSON file |
--loop-reduction Bevaluation.reduction | unset: the backends --all-backends chooses | profile this backend only (auto: the default backend with its fallback) |
--reduction-uncheckedevaluation.reduction_unchecked | off | the stability run’s binary64 calls unchecked too; not with --checked |
--[no-]lane-rescueevaluation.lane_rescue | on | the lane rescue in every timed and stability call |
--[no-]checkedbenchmark.checked | off | time the checked mode instead of the unchecked pass |
--reduction-target Xevaluation.reduction_target | 1e-5 | as for evaluate |
--kinematics-improvement V, --[no-]kinematics-improvement-binary64evaluation.kinematics_improvement, ..._binary64 | z-shift, off | as for evaluate |
--mu-r2 VALUEevaluation.mu_r2 | the squared invariant mass of the initial state, per point | \(\mu_R^2\) |
profile has no --arithmetic: --ground-truth chooses the reference precision.
check
pyamplicol check [CARD_OR_ARTIFACT] [OPTIONS]
Checks the poles, Ward and Goldstone identities of a one-loop request, regenerated in memory from a run card or from an artifact (whose model and processes must be the stored ones). Guide: One-loop matrix elements.
| Option and run-card field | Default | Meaning |
|---|---|---|
--points Ncheck.points | 3 | seeded phase-space points per process |
--seed Scheck.seed | generation.validation.seed | the seed of the first point |
--precision Pcheck.precision | auto | auto (binary64, then double-double, then arbitrary precision for the rows still not passing), double or double-double |
--tolerance Kcheck.tolerance | the reduction target | a row passes when its residue is below K times its scale |
--arbitrary-digits Ncheck.arbitrary_digits | 64 | the digits of the arbitrary-precision step of auto |
--sqrt-s Echeck.sqrt_s | as for evaluate | the energy of a scattering’s points (Flat phase-space points) |
--model SOURCEcheck.model | the card’s or the artifact’s model | the model to regenerate from; it must be the stored one |
--reduction-target Xevaluation.reduction_target | 1e-5 | as for evaluate |
--kinematics-improvement V, --[no-]kinematics-improvement-binary64evaluation.kinematics_improvement, ..._binary64 | z-shift, off | as for evaluate |
--pt-min PT, --delta-r-min DRevaluation.phase_space.pt_min, delta_r_min | for an artifact: the cuts it records | cuts on the points; 0 turns a recorded cut off |
inspect
pyamplicol inspect [ARTIFACT] [OPTIONS]
Shows an artifact and its processes without evaluating them.
| Option and run-card field | Default | Meaning |
|---|---|---|
--process EXPRevaluation.process | every process | one process: a stable ID, an alias ID or the expression as stored |
--full-physics | off | load the runtime and list every helicity and color component (large at high multiplicity); also accepts a permuted expression or a group member |
group-processes
pyamplicol group-processes [ARTIFACT] [OPTIONS]
Searches an artifact for subprocesses with equal matrix elements and updates its process-groups.json in place. Options: --[no-]consider-charge-conjugation, --only-unit-multiplier and --analyze-process-groups (default numerical), as in generate.
export-recurrence
pyamplicol export-recurrence LC_DIR -o FILE [OPTIONS]
Writes the recurrence programs of a leading-color artifact to a JSON file (Recurrence export format). It shows progress on a terminal only.
| Option | Default | Meaning |
|---|---|---|
-o FILE, --output FILE | required | the output file; an existing file is replaced only when the export succeeds |
--process ID | every process, alias and group member | export one process; repeat |
--color-flow ID | every flow | export one stable color-flow ID of every selected process; repeat |
--model-parameters FILE | none | a JSON parameter mapping applied first |
--reference-points FILE | none | a JSON batch of points (or a map from process key to batch) for binary64 reference values |
--indent N | compact | indent the JSON by N spaces |
--json | off | print the completion summary as JSON |
--color MODE | auto | as for every command |
model inspect
pyamplicol model inspect [SOURCE] [OPTIONS]
Summarizes a built-in, JSON, UFO or compiled model: its source, its capabilities and its counts. SOURCE sets model.source. Options: those of Model.
model compile
pyamplicol model compile [SOURCE] [OUTPUT] [OPTIONS]
Writes a compiled model (.pyAmplicol-model.json), or a prepared model with compiled kernels when OUTPUT ends with .pyamplicol-model. A compiled-model output that ends neither with .pyAmplicol-model.json nor with .compiled-model.json, in any letter case, gets .pyAmplicol-model.json appended. Options: those of Model, Output and generation, Validation, One-loop generation without --r2-strategy and --loop-reduction, and Execution and evaluator without --execution-mode, --batch-size and --output-chunk-size. The evaluator options need a .pyamplicol-model output. Guide: Models.
model processes
pyamplicol model processes [PROCESS] [OPTIONS]
Lists the concrete processes of a request without generating them. Options: those of Model and Process. The command has no --execution-mode: for a JSON or UFO model without a prepared kernel pack, which the default execution mode needs, add --set evaluator.execution_mode=compiled.
config template
pyamplicol config template [OUTPUT] [--force] [--json] [--color MODE]
[--fields-description-help]
Writes the annotated template of every run-card field to OUTPUT (default pyamplicol.toml). An existing file is refused unless --force is given.
config resolve
pyamplicol config resolve CARD [--set PATH=VALUE] [--json] [--color MODE]
[--fields-description-help]
Shows the requested settings of CARD, the effective ones and every adjustment between them, without running anything. --set applies as for the other commands.
examples list, examples copy, examples run
pyamplicol examples list [--json] [--color MODE] [--fields-description-help]
pyamplicol examples copy DESTINATION [--force] [--json] [--color MODE]
[--fields-description-help]
pyamplicol examples run NAME [--set PATH=VALUE] [--json] [--color MODE]
[--fields-description-help]
| Command | Meaning |
|---|---|
examples list | the shipped cards with their action and description |
examples copy DESTINATION | copy every card with its data and models into a folder; --force writes into an existing one |
examples run NAME | run one card (NAME without .toml) in a workspace in the user cache, or in PYAMPLICOL_EXAMPLE_CACHE; a second run of a generation card needs --set generation.mode=replace |
examples run lists the available names in its --help; all_options is the template, not a card to run (Examples).
profiling-campaign copy
pyamplicol profiling-campaign copy DESTINATION [OPTIONS]
Copies the profiling campaign into DESTINATION (Profiling campaigns).
| Option | Meaning |
|---|---|
--force | overwrite the managed template files and reset the campaign’s results; other files and recorded installations are kept (stop a running campaign first) |
--local-amplicol PATH | record a complete original AmpliCol checkout as the campaign’s default |
--local-madgraph PATH | record a complete MadGraph installation as the campaign’s default |
--json, --color MODE, --fields-description-help | as for every command |
doctor, self-test
pyamplicol doctor [--json] [--color MODE] [--fields-description-help]
pyamplicol self-test [--json] [--color MODE] [--fields-description-help]
doctor checks the installation: Python, the model assets, the native libraries and SDK, the Symbolica license and the compilers. self-test also evaluates shipped tree-level and one-loop processes against stored reference values. Both exit with code 1 when a check fails (Troubleshooting).
request-symbolica-trial-license, request-symbolica-hobbyist-license
pyamplicol request-symbolica-trial-license [--name NAME] [--email EMAIL]
[--organization ORG] [--yes] [--json] [--color MODE]
pyamplicol request-symbolica-hobbyist-license [--name NAME] [--email EMAIL]
[--yes] [--json] [--color MODE]
Sends a license request to Symbolica; the key arrives by email. A missing field is asked for on a terminal, and --yes skips the confirmation. Without a terminal, and with --json, every field and --yes are required. Symbolica and licensing says which license you need.
Options that are refused
--loop-engine, --stability-higher, --stability-relative-tolerance, --stability-absolute-tolerance and --verify-successful are recognized and refused, with the reason and the remedy: delete the setting. A one-loop evaluation gives its accuracy estimate through the stability checks above and leaves a higher arithmetic to you (--arithmetic).