pyfs-matrix
Generated from the argument parser at build time, so this page and pyfs-matrix --help cannot disagree. The entry point is pyflightstream.run.cli:main.
pyfs-matrix
Run-matrix tooling: the matrix is a first-class interface of the file-managed modality, with the matrix as the sole campaign declaration.
usage: pyfs-matrix [-h] [--warning-refusals] [--warning-off] {plan,inspect-setups,run,collect,post,noise,support,status,plot-sweeps}...
| Argument |
Value |
Default |
What it does |
-h, --help |
|
|
show this help message and exit |
--warning-refusals |
|
|
restore refusals for inputs otherwise skipped with typed warnings |
--warning-off |
|
|
hide console warnings while keeping every recorded warning in its log |
Subcommands:
pyfs-matrix plan: bind the matrix to the workspace input library and pre-flight every point, executing nothing. REQUIRED BEFORE run: it writes the receipt that command asks for, pinned to the digest of the matrix it read
pyfs-matrix inspect-setups:
pyfs-matrix run: run every active point of the matrix (a point submitted to a scheduler is posted by collect once its outputs land)
pyfs-matrix collect: collect a submitted job's outputs when they land, then post
pyfs-matrix post: rebuild the post-processed CSV products from the manifest, with no solver
pyfs-matrix noise: post exploratory loading noise and list its comparisons
pyfs-matrix support: show the evidence-derived support level of FlightStream builds
pyfs-matrix status: one row per polar: simulation, polar, sweep, datapoints, matrix and status (reads only)
pyfs-matrix plot-sweeps: draw the design of experiments of run matrices as a pair plot of their parameters
pyfs-matrix plan
usage: pyfs-matrix plan [-h] [--hpc NAME] [--name NAME] [--fs-version FS_VERSION] [--recipe CODE=MODULE:FUNCTION] [--setup-guidelines] [--setup-standards] [--ignore-missing-families [true|false]] [--no-ignore-missing-families] [--workflow CODE=NAME] [--workspace WORKSPACE] [--point-name POINT_NAME] [--fs-exe FS_EXE] [--cost] [--cost-file NAME] [--inflow-fft] [--update-ids] [--accept-unregistered-build | --no-accept-unregistered-build] [--sims ID [ID...]] [--points POINT [POINT...]] [--polar-sweep | --batch N] [--verbose | --log-level {quiet,normal,verbose}] matrix
| Argument |
Value |
Default |
What it does |
-h, --help |
|
|
show this help message and exit |
--hpc |
NAME |
|
the HPC profile inputs/hpc/<NAME>.toml to use when the workspace holds several |
<matrix> |
|
|
the pipe-delimited run matrix file |
--name |
NAME |
|
campaign name; without it the workspace directory's name is the campaign's |
--fs-version |
FS_VERSION |
|
the FlightStream version rows whose FS_BUILD cell is empty fall back to: canonical identifier (for example 26.120); a vendor release name works only where it names exactly one registered build. A matrix whose every active row fills FS_BUILD needs none |
--recipe |
CODE=MODULE:FUNCTION |
[] |
FS_SCRIPT code to recipe reference (repeatable); replaces the import-by-number system |
--setup-guidelines |
|
|
write inputs/setups/SETUP_GUIDELINES.md, preserving existing edits |
--setup-standards |
|
|
write commented s9XX setup standards, preserving existing edits |
--ignore-missing-families |
true|false |
|
whether a family the opened mesh does not carry is left out (the default, true) or REFUSES the point (false). One artifact serves a wing-body and an isolated rotor because a family the geometry lacks is skipped; pass false when you believe this geometry carries every family the artifact names and want to hear about it if it does not |
--no-ignore-missing-families |
|
|
the same choice as --ignore-missing-families false, written as a flag: a family the opened mesh does not carry REFUSES the point instead of being left out. Stating both is refused |
--workflow |
CODE=NAME |
[] |
FS_SCRIPT code to WORKFLOW type (repeatable); the same mapping run takes, so a workflow matrix can be pre-flighted before a seat is spent |
--workspace |
WORKSPACE |
. |
managed campaign root carrying the inputs/ library (default: the current directory) |
--point-name |
POINT_NAME |
{polar} |
the template that names each point's script and exports; the default is P<sim>-<point name>, the point name writing every variable the row's flight condition declares, in its order; {point}, {alpha}, {beta}, {mach}, {advance_ratio}, {sim} and {campaign} are the other placeholders |
--fs-exe |
FS_EXE |
|
explicit executable override; mandatory for MANUAL rows, otherwise the FS_BUILD column resolves through inputs/executables.toml |
--cost |
|
|
also table what each polar is expected to cost: mesh size, marked trailing edges, farfield layers, viscous coupling, steady or unsteady, time iterations, processors set, and an EXPECTED wall time fitted from this workspace's own recorded runs. The time is an extrapolation and the table says so, carrying the number of samples behind it; a point with no comparable recorded run reads 'unknown' rather than a number with no basis |
--cost-file |
NAME |
|
the cost file inputs/costs/<NAME>.toml that prices the points when the workspace holds several; a single file needs no name |
--inflow-fft |
|
|
for every qsteady_rotor WHEEL point in a custom inflow, read the inflow's harmonic content as ONE BLADE meets it over a revolution (nP counts how many times one blade meets the perturbation per turn, in the blade's frame; not the N P a fixed surface or a balance under the whole rotor sees, where only multiples of N P survive): per point k_eff = n95 k_1P (min, max, mean, per cent of the span above 0.1), n_max and the suggested PASSAGE_POSITIONS >= n_max / N + 1, WARNED when the row states fewer; the reduced-frequency warning then reads k_eff |
--update-ids, --updateIDs |
|
|
before planning, REWRITE THIS MATRIX so that none of its POLs repeats one stated elsewhere in the workspace or earlier in this file: each repeated row takes the next free POL above every POL, run record and sims/ folder of the workspace, and every other matrix is left as it is. Each change is printed. A row whose POL already has runs of this matrix is refused rather than moved. THE RENUMBERING IS WRITTEN BEFORE THE PLAN RUNS and stays written if the plan then refuses |
--accept-unregistered-build |
|
|
run on an installed FlightStream build other than the one registered for the version a row names, instead of refusing it: its compatibility is then YOUR responsibility, the run warns, and every record says the flag was used and carries the build the solver printed. plan launches no solver and records the flag in plan.json, so it rehearses the command line run executes with the options plan takes (--local, --resume and --force-rerun belong to run alone) |
--no-accept-unregistered-build |
|
|
refuse an installed build other than the registered one for this command, whatever pyfs.toml, pyfs.local.toml or a build entry of inputs/executables.local.toml states |
--sims |
ID |
|
Use --sims ID [ID...]; commas and brackets are also accepted. plan or run only these simulations, by their ids as the matrix spells them (for example --sims 2031 2032 2033); every other simulation is left untouched. With run --force-rerun-all, the simulations to redo. An id the matrix does not carry is refused before anything runs |
--points |
POINT |
|
with --sims, plan or run only these points of those simulations, by the point name the plan prints for each, or by its run id alias <sim>_<index> (2006_3, which names its simulation; the plan prints each); the matrix file is not edited and no other point is planned, staged or run. A point the matrix does not carry is refused before anything runs |
--polar-sweep |
|
|
run each simulation's points as ONE solver job (one polar per job). Combines with --local; a job holds steady or unsteady polars, never both. Each row left out is named by the plan: LEGACY rows, RESTART rows, steady rows stating COLD_START false, coupled rows on steady or qsteady_rotor, unsteady rows on a build without the unsteady action command, polars whose points do not splice into one job (a steady point that initialises the solver twice among them) and rows whose points are all recorded. Run those rows point by point, without this flag. |
--batch |
N |
|
run the simulations' points as N solver jobs, polars split across them. Combines with --local; a job holds steady or unsteady polars, never both. Each row left out is named by the plan: LEGACY rows, RESTART rows, steady rows stating COLD_START false, coupled rows on steady or qsteady_rotor, unsteady rows on a build without the unsteady action command, polars whose points do not splice into one job (a steady point that initialises the solver twice among them) and rows whose points are all recorded. Run those rows point by point, without this flag. |
--verbose |
|
|
print every warning in Python's full format (file, line and source) and the started and finished lines of the stages printed only on request, such as [continuation]; logs/activity.log holds them either way |
--log-level |
one of quiet, normal, verbose |
|
how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal |
pyfs-matrix inspect-setups
usage: pyfs-matrix plan [-h] [--hpc NAME] [--name NAME] [--fs-version FS_VERSION] [--recipe CODE=MODULE:FUNCTION] [--setup-guidelines] [--setup-standards] [--ignore-missing-families [true|false]] [--no-ignore-missing-families] [--workflow CODE=NAME] [--workspace WORKSPACE] [--point-name POINT_NAME] [--fs-exe FS_EXE] [--cost] [--cost-file NAME] [--inflow-fft] [--update-ids] [--accept-unregistered-build | --no-accept-unregistered-build] [--sims ID [ID...]] [--points POINT [POINT...]] [--polar-sweep | --batch N] [--verbose | --log-level {quiet,normal,verbose}] matrix
| Argument |
Value |
Default |
What it does |
-h, --help |
|
|
show this help message and exit |
--hpc |
NAME |
|
the HPC profile inputs/hpc/<NAME>.toml to use when the workspace holds several |
<matrix> |
|
|
the pipe-delimited run matrix file |
--name |
NAME |
|
campaign name; without it the workspace directory's name is the campaign's |
--fs-version |
FS_VERSION |
|
the FlightStream version rows whose FS_BUILD cell is empty fall back to: canonical identifier (for example 26.120); a vendor release name works only where it names exactly one registered build. A matrix whose every active row fills FS_BUILD needs none |
--recipe |
CODE=MODULE:FUNCTION |
[] |
FS_SCRIPT code to recipe reference (repeatable); replaces the import-by-number system |
--setup-guidelines |
|
|
write inputs/setups/SETUP_GUIDELINES.md, preserving existing edits |
--setup-standards |
|
|
write commented s9XX setup standards, preserving existing edits |
--ignore-missing-families |
true|false |
|
whether a family the opened mesh does not carry is left out (the default, true) or REFUSES the point (false). One artifact serves a wing-body and an isolated rotor because a family the geometry lacks is skipped; pass false when you believe this geometry carries every family the artifact names and want to hear about it if it does not |
--no-ignore-missing-families |
|
|
the same choice as --ignore-missing-families false, written as a flag: a family the opened mesh does not carry REFUSES the point instead of being left out. Stating both is refused |
--workflow |
CODE=NAME |
[] |
FS_SCRIPT code to WORKFLOW type (repeatable); the same mapping run takes, so a workflow matrix can be pre-flighted before a seat is spent |
--workspace |
WORKSPACE |
. |
managed campaign root carrying the inputs/ library (default: the current directory) |
--point-name |
POINT_NAME |
{polar} |
the template that names each point's script and exports; the default is P<sim>-<point name>, the point name writing every variable the row's flight condition declares, in its order; {point}, {alpha}, {beta}, {mach}, {advance_ratio}, {sim} and {campaign} are the other placeholders |
--fs-exe |
FS_EXE |
|
explicit executable override; mandatory for MANUAL rows, otherwise the FS_BUILD column resolves through inputs/executables.toml |
--cost |
|
|
also table what each polar is expected to cost: mesh size, marked trailing edges, farfield layers, viscous coupling, steady or unsteady, time iterations, processors set, and an EXPECTED wall time fitted from this workspace's own recorded runs. The time is an extrapolation and the table says so, carrying the number of samples behind it; a point with no comparable recorded run reads 'unknown' rather than a number with no basis |
--cost-file |
NAME |
|
the cost file inputs/costs/<NAME>.toml that prices the points when the workspace holds several; a single file needs no name |
--inflow-fft |
|
|
for every qsteady_rotor WHEEL point in a custom inflow, read the inflow's harmonic content as ONE BLADE meets it over a revolution (nP counts how many times one blade meets the perturbation per turn, in the blade's frame; not the N P a fixed surface or a balance under the whole rotor sees, where only multiples of N P survive): per point k_eff = n95 k_1P (min, max, mean, per cent of the span above 0.1), n_max and the suggested PASSAGE_POSITIONS >= n_max / N + 1, WARNED when the row states fewer; the reduced-frequency warning then reads k_eff |
--update-ids, --updateIDs |
|
|
before planning, REWRITE THIS MATRIX so that none of its POLs repeats one stated elsewhere in the workspace or earlier in this file: each repeated row takes the next free POL above every POL, run record and sims/ folder of the workspace, and every other matrix is left as it is. Each change is printed. A row whose POL already has runs of this matrix is refused rather than moved. THE RENUMBERING IS WRITTEN BEFORE THE PLAN RUNS and stays written if the plan then refuses |
--accept-unregistered-build |
|
|
run on an installed FlightStream build other than the one registered for the version a row names, instead of refusing it: its compatibility is then YOUR responsibility, the run warns, and every record says the flag was used and carries the build the solver printed. plan launches no solver and records the flag in plan.json, so it rehearses the command line run executes with the options plan takes (--local, --resume and --force-rerun belong to run alone) |
--no-accept-unregistered-build |
|
|
refuse an installed build other than the registered one for this command, whatever pyfs.toml, pyfs.local.toml or a build entry of inputs/executables.local.toml states |
--sims |
ID |
|
Use --sims ID [ID...]; commas and brackets are also accepted. plan or run only these simulations, by their ids as the matrix spells them (for example --sims 2031 2032 2033); every other simulation is left untouched. With run --force-rerun-all, the simulations to redo. An id the matrix does not carry is refused before anything runs |
--points |
POINT |
|
with --sims, plan or run only these points of those simulations, by the point name the plan prints for each, or by its run id alias <sim>_<index> (2006_3, which names its simulation; the plan prints each); the matrix file is not edited and no other point is planned, staged or run. A point the matrix does not carry is refused before anything runs |
--polar-sweep |
|
|
run each simulation's points as ONE solver job (one polar per job). Combines with --local; a job holds steady or unsteady polars, never both. Each row left out is named by the plan: LEGACY rows, RESTART rows, steady rows stating COLD_START false, coupled rows on steady or qsteady_rotor, unsteady rows on a build without the unsteady action command, polars whose points do not splice into one job (a steady point that initialises the solver twice among them) and rows whose points are all recorded. Run those rows point by point, without this flag. |
--batch |
N |
|
run the simulations' points as N solver jobs, polars split across them. Combines with --local; a job holds steady or unsteady polars, never both. Each row left out is named by the plan: LEGACY rows, RESTART rows, steady rows stating COLD_START false, coupled rows on steady or qsteady_rotor, unsteady rows on a build without the unsteady action command, polars whose points do not splice into one job (a steady point that initialises the solver twice among them) and rows whose points are all recorded. Run those rows point by point, without this flag. |
--verbose |
|
|
print every warning in Python's full format (file, line and source) and the started and finished lines of the stages printed only on request, such as [continuation]; logs/activity.log holds them either way |
--log-level |
one of quiet, normal, verbose |
|
how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal |
pyfs-matrix run
Runs every active point of the matrix; a point submitted to a scheduler is posted, with the products, by pyfs-matrix collect once its outputs land. THIS NEEDS A PLAN: run pyfs-matrix plan <matrix> first and this command will not release without it. The plan is where the warning is, and it is pinned to the matrix it read, so a matrix edited after it was planned is planned again rather than run against a receipt about a different study. The plan spends no solver time.
usage: pyfs-matrix run [-h] [--hpc NAME] [--name NAME] [--fs-version FS_VERSION] [--recipe CODE=MODULE:FUNCTION] [--ignore-missing-families [true|false]] [--no-ignore-missing-families] [--workflow CODE=NAME] [--workspace WORKSPACE] [--point-name POINT_NAME] [--fs-exe FS_EXE] [--resume] [--force-rerun POINT] [--force-rerun-all] [--parallel N|auto] [--progress-every N] [--sims ID [ID...]] [--points POINT [POINT...]] [--polar-sweep | --batch N] [--local | --no-local] [--accept-unregistered-build | --no-accept-unregistered-build] [--pproc-warnings | --no-pproc-warnings] [--verbose | --log-level {quiet,normal,verbose}] matrix
| Argument |
Value |
Default |
What it does |
-h, --help |
|
|
show this help message and exit |
--hpc |
NAME |
|
the HPC profile inputs/hpc/<NAME>.toml to use when the workspace holds several |
<matrix> |
|
|
the pipe-delimited run matrix file |
--name |
NAME |
|
campaign name; without it the workspace directory's name is the campaign's |
--fs-version |
FS_VERSION |
|
the FlightStream version rows whose FS_BUILD cell is empty fall back to: canonical identifier (for example 26.120); a vendor release name works only where it names exactly one registered build. A matrix whose every active row fills FS_BUILD needs none |
--recipe |
CODE=MODULE:FUNCTION |
[] |
FS_SCRIPT code to recipe reference (repeatable); replaces the import-by-number system |
--ignore-missing-families |
true|false |
|
whether a family the opened mesh does not carry is left out (the default, true) or REFUSES the point (false). One artifact serves a wing-body and an isolated rotor because a family the geometry lacks is skipped; pass false when you believe this geometry carries every family the artifact names and want to hear about it if it does not |
--no-ignore-missing-families |
|
|
the same choice as --ignore-missing-families false, written as a flag: a family the opened mesh does not carry REFUSES the point instead of being left out. Stating both is refused |
--workflow |
CODE=NAME |
[] |
FS_SCRIPT code to WORKFLOW type (repeatable); a run type this package builds itself, so no Python is written. Registered: qsteady_rotor, steady, unsteady, unsteady_rotor |
--workspace |
WORKSPACE |
. |
managed campaign root carrying the inputs/ library (default: the current directory) |
--point-name |
POINT_NAME |
{polar} |
the template that names each point's script and exports; the default is P<sim>-<point name>, the point name writing every variable the row's flight condition declares, in its order; {point}, {alpha}, {beta}, {mach}, {advance_ratio}, {sim} and {campaign} are the other placeholders |
--fs-exe |
FS_EXE |
|
explicit executable override; mandatory for MANUAL rows, otherwise the FS_BUILD column resolves through inputs/executables.toml |
--resume |
|
|
skip points already in the manifest, so a grown matrix runs only its new points; without it an already-recorded point refuses before anything executes |
--force-rerun |
POINT |
[] |
REDO this point, which is already in the manifest, for a row that was wrong. Name it by its point name, by the full run_id the refusal printed, or by the JOB id of a swept steady row, which is what that refusal prints for one and which names every point of it, because a job is indivisible; repeat the flag for several. The manifest is copied to archive/runs-<stamp>.json, the named records leave it, and each point's collected outputs move into that point's own archive/<stamp>/ before it runs; NOTHING IS DELETED. It names points rather than being a switch because redoing a whole matrix over one wrong row spends a licensed seat per point, and a seat is what archiving cannot give back. A name no recorded point carries is refused. This is NOT --resume, which SKIPS such a point instead of redoing it, and the two together are refused |
--force-rerun-all |
|
|
REDO every recorded point of the matrix, or of the simulations --sims names: each is archived as --force-rerun archives it and runs again, a recorded steady job as one job. The count of points and jobs, which is the licences it spends, is printed before anything runs. A point recorded as SUBMITTED, or of a batch still running, is redone too and its old job is NOT cancelled: cancel it in the scheduler first. Refused with --resume and with --force-rerun |
--parallel |
N|auto |
|
solver runs alive at once on this machine: a positive count (at most 8) or auto (2 on a multi-core machine, bounded by the configured licence seats and the free memory). Default: the setup's [runtime] parallel, else one at a time |
--progress-every |
N |
10 |
on a local unsteady point, say how far the run is every N completed time steps, read from the run's own step counter (default 10; 0 says nothing) |
--sims |
ID |
|
Use --sims ID [ID...]; commas and brackets are also accepted. plan or run only these simulations, by their ids as the matrix spells them (for example --sims 2031 2032 2033); every other simulation is left untouched. With run --force-rerun-all, the simulations to redo. An id the matrix does not carry is refused before anything runs |
--points |
POINT |
|
with --sims, plan or run only these points of those simulations, by the point name the plan prints for each, or by its run id alias <sim>_<index> (2006_3, which names its simulation; the plan prints each); the matrix file is not edited and no other point is planned, staged or run. A point the matrix does not carry is refused before anything runs |
--polar-sweep |
|
|
run each simulation's points as ONE solver job (one polar per job). Combines with --local; a job holds steady or unsteady polars, never both. Each row left out is named by the plan: LEGACY rows, RESTART rows, steady rows stating COLD_START false, coupled rows on steady or qsteady_rotor, unsteady rows on a build without the unsteady action command, polars whose points do not splice into one job (a steady point that initialises the solver twice among them) and rows whose points are all recorded. Run those rows point by point, without this flag. |
--batch |
N |
|
run the simulations' points as N solver jobs, polars split across them. Combines with --local; a job holds steady or unsteady polars, never both. Each row left out is named by the plan: LEGACY rows, RESTART rows, steady rows stating COLD_START false, coupled rows on steady or qsteady_rotor, unsteady rows on a build without the unsteady action command, polars whose points do not splice into one job (a steady point that initialises the solver twice among them) and rows whose points are all recorded. Run those rows point by point, without this flag. |
--local |
|
|
run every point on THIS machine instead of submitting it. Linux is the cluster: a workspace carrying a submission profile submits from Linux and runs locally on Windows, with no cell to remember. This flag keeps a Linux run local, for a workstation or a smoke test on the machine itself; the executable resolves as on Windows (the FS_BUILD column through inputs/executables.toml, or --fs-exe) and every record's executor entry says forced_local. It changes nothing on a machine that would not have submitted |
--no-local |
|
|
the opposite of --local for this command, whatever pyfs.toml or pyfs.local.toml states |
--accept-unregistered-build |
|
|
run on an installed FlightStream build other than the one registered for the version a row names, instead of refusing it: its compatibility is then YOUR responsibility, the run warns, and every record says the flag was used and carries the build the solver printed. plan launches no solver and records the flag in plan.json, so it rehearses the command line run executes with the options plan takes (--local, --resume and --force-rerun belong to run alone) |
--no-accept-unregistered-build |
|
|
refuse an installed build other than the registered one for this command, whatever pyfs.toml, pyfs.local.toml or a build entry of inputs/executables.local.toml states |
--pproc-warnings |
|
|
print grouped post-processing warnings |
--no-pproc-warnings |
|
|
the opposite of --pproc-warnings for this command, whatever pyfs.toml or pyfs.local.toml states |
--verbose |
|
|
print every warning in Python's full format (file, line and source) and one line per item where a repeated warning is otherwise counted in one line, and the [continuation] started and finished lines; logs/activity.log holds the full detail either way |
--log-level |
one of quiet, normal, verbose |
|
how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal |
pyfs-matrix collect
Sweeps every SUBMITTED record of runs.json and, for each, waits until the outputs that point declared are PRESENT AND SETTLED, then collects them, assesses the run and rewrites the record with what it did. It watches the WORKSPACE and not the scheduler, so it needs no status command in the submission profile and serves a cluster job, a local run somebody interrupted, and outputs dropped in by hand alike. A file EXISTS BEFORE IT IS FINISHED, so settled means size and modification time stable across two observations AND every declared output present, the last of which is the log. One sweep by default; --watch loops until nothing is outstanding.
usage: pyfs-matrix collect [-h] [--hpc NAME] [--workspace WORKSPACE] [--check-frozen | --no-check-frozen] [--watch] [--discard-walltime] [--interval INTERVAL] [--watch-interval WATCH_INTERVAL] [--rounds ROUNDS] [--no-post] [--sims ID [ID...]] [--archive] [--pproc-warnings | --no-pproc-warnings] [--verbose | --log-level {quiet,normal,verbose}] [--runs NAME]
| Argument |
Value |
Default |
What it does |
-h, --help |
|
|
show this help message and exit |
--hpc |
NAME |
|
the HPC profile inputs/hpc/<NAME>.toml to use when the workspace holds several |
--workspace |
WORKSPACE |
. |
managed campaign root carrying runs.json (default: the current directory) |
--check-frozen |
|
|
REFUSE instead of WARN for averages touched by a frozen solve or an unread native-log block, and for a reference area/length mismatch between the export and SREF/CREF. By default computable products are written and post.log warns. Both modes write post.log and post.log.json with the point, product, step and remedy; refusals are also named in products.json |
--no-check-frozen |
|
|
the opposite of --check-frozen for this command, whatever pyfs.toml or pyfs.local.toml states |
--watch |
|
|
keep sweeping until no submitted point is outstanding, instead of once |
--discard-walltime |
|
|
mark each WALLTIME_REACHED point FAILED_MARKED, outputs kept. A grouped plan takes it again from the start automatically; a default-mode plan needs pyfs-matrix run --force-rerun POINT (an option of run, not of collect or plan) |
--interval |
INTERVAL |
|
seconds between the two observations that decide settled (default: 2) |
--watch-interval |
WATCH_INTERVAL |
|
seconds between sweeps under --watch (default: 60) |
--rounds |
ROUNDS |
|
stop a watch after this many sweeps, whatever is still outstanding |
--no-post |
|
|
collect and do NOT rebuild the products, which is the half a reader wants when the products are built somewhere else |
--sims |
ID |
|
Use --sims ID [ID...]; commas and brackets are also accepted. sweep only the SUBMITTED records of these simulations, comma separated as delete-sims takes them (2006,2007 or [2006,2007]); every other record is left untouched and is not counted as outstanding, and the post that follows is limited to the same simulations. An id no record carries is refused before anything is swept |
--archive |
|
|
keep replaced post products in archive/; without it overwrite in place |
--pproc-warnings |
|
|
print grouped post-processing warnings |
--no-pproc-warnings |
|
|
the opposite of --pproc-warnings for this command, whatever pyfs.toml or pyfs.local.toml states |
--verbose |
|
|
print every warning in Python's full format (file, line and source) and one line per item where a repeated warning is otherwise counted in one line, and the [continuation] started and finished lines; logs/activity.log holds the full detail either way |
--log-level |
one of quiet, normal, verbose |
|
how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal |
--runs |
NAME |
|
the manifest file to read, directly in the workspace root (default: runs.json) |
pyfs-matrix post
Reads runs.json and the collected exports of every successful point and writes the polar, section and plot tables under post/<matrix stem>/, exactly as run left them; needs no executable and spends no seat. Given a matrix, rebuilds that matrix's products; given none, every matrix the manifest names, and the records naming none under post/products. EXCEPT with --additional-pproc, which first reopens the final saved simulation of every recorded point whose row states ADDITIONAL_PPROC, one solver launch per point and no solve, extracts that pproc into datapoints/DP-<point>/additional/<pid>/ and records it in additional.json; runs.json is never written. Only the simulations whose matrix rows state RUN = 1 are posted (a RUN = 0 simulation keeps its products), and with no other option only those not posted yet; --archive or --force-overwrite rebuilds every RUN = 1 simulation, and --sims exactly the named ones. By default, rebuilds overwrite products in place without an archive. A product it cannot rebuild is kept and warned, unless --archive moves it or a confirmed --force-overwrite removes it.
usage: pyfs-matrix post [-h] [--additional-pproc] [--fs-version FS_VERSION] [--fs-exe FS_EXE] [--local | --no-local] [--recipe CODE=MODULE:FUNCTION] [--hpc NAME] [--check-frozen | --no-check-frozen] [--workspace WORKSPACE] [--archive | --force-overwrite] [--yes] [--strict] [--pproc-warnings | --no-pproc-warnings] [--verbose | --log-level {quiet,normal,verbose}] [--diagnostics] [--sims ID [ID...]] [--runs NAME] [--from-sims] [--steps-per-revolution N] [matrix]
| Argument |
Value |
Default |
What it does |
-h, --help |
|
|
show this help message and exit |
--additional-pproc |
|
|
before the products, reopen the final.fsm of every recorded point whose row states ADDITIONAL_PPROC: p<id>, with no solve, and extract that pproc: its section distributions, the sections and their sectional loads, the loads, the surface exports it selects, the log, and on an unsteady point the plots history (one instant, the last). A point without the key, without its.fsm, or whose.fsm does not hash as its record says is skipped by name. Needs the matrix and the executable its rows name; one solver launch per point. 26.124 only |
--fs-version |
FS_VERSION |
|
with --additional-pproc: the version rows whose FS_BUILD cell is empty fall back to, as for run |
--fs-exe |
FS_EXE |
|
with --additional-pproc: the explicit executable override, as for run |
--local |
|
|
with --additional-pproc: reopen the saved simulations on THIS machine, as run --local runs there; without it a workspace whose HPC profile submits sends each extraction to its scheduler, and collect gathers the outputs |
--no-local |
|
|
the opposite of --local for this command, whatever pyfs.toml or pyfs.local.toml states |
--recipe |
CODE=MODULE:FUNCTION |
[] |
with --additional-pproc: a LEGACY row's recipe code (repeatable), so a matrix mixing LEGACY rows with rows naming a run type binds as it did for run |
--hpc |
NAME |
|
the HPC profile inputs/hpc/<NAME>.toml to use when the workspace holds several |
--check-frozen |
|
|
REFUSE instead of WARN for averages touched by a frozen solve or an unread native-log block, and for a reference area/length mismatch between the export and SREF/CREF. By default computable products are written and post.log warns. Both modes write post.log and post.log.json with the point, product, step and remedy; refusals are also named in products.json |
--no-check-frozen |
|
|
the opposite of --check-frozen for this command, whatever pyfs.toml or pyfs.local.toml states |
<matrix> |
|
|
the run matrix whose products to rebuild, matched by its file stem against the records of runs.json (default: every matrix the manifest names); only its RUN = 1 simulations are posted |
--workspace |
WORKSPACE |
. |
managed campaign root carrying runs.json and the inputs/ library (default: the current directory) |
--archive |
|
|
keep the files a rebuild replaces: MOVE them into post/<matrix>/archive/<day and hour>/ before writing; rebuilds every RUN = 1 simulation, not only those not posted yet |
--force-overwrite |
|
|
Rebuild every RUN = 1 simulation, not only those not posted yet, overwriting without an archive and removing what it cannot rebuild; this option adds a confirmation before rebuilding. Pass --yes to confirm in a script. |
--yes |
|
|
Answer the --force-overwrite confirmation in a script; requires --force-overwrite. |
--strict |
|
|
exit 3 when any simulation's product was skipped by design (a polar under sideslip, for one), after every product is written in full; without it a recorded skip is named on stderr with a count, its reasons printed by --diagnostics, and the exit is 0, since everything producible was produced. 2 stays the code of a refusal that wrote nothing |
--pproc-warnings |
|
|
print grouped post-processing warnings |
--no-pproc-warnings |
|
|
the opposite of --pproc-warnings for this command, whatever pyfs.toml or pyfs.local.toml states |
--verbose |
|
|
print every warning in Python's full format (file, line and source) and one line per item where a repeated warning is otherwise counted in one line, and the [continuation] started and finished lines; logs/activity.log holds the full detail either way |
--log-level |
one of quiet, normal, verbose |
|
how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal |
--diagnostics |
|
|
print recorded post diagnostics as Markdown without changing products |
--sims |
ID |
|
Use --sims ID [ID...]; commas and brackets are also accepted. rebuild only these simulations' products of the matrix, comma separated as delete-sims takes them (2006,2007 or [2006,2007]), using the archive policy above; every other simulation's files and products.json entries stay as they were, and the super files, whose columns are the union over every simulation, are left as the last whole post wrote them and named under partial.not_rebuilt in products.json and in post.log. An id with no record of the matrix is refused before anything is written |
--runs |
NAME |
|
the manifest file to read, directly in the workspace root (default: runs.json) |
--from-sims |
|
|
ignore runs.json and assemble the records in memory from sims/, for points run outside the package; the products go to post/<matrix>@sims/ |
--steps-per-revolution |
N |
|
with --from-sims: the solver steps of one revolution, for a LAST_REVS_AVG window |
pyfs-matrix noise
usage: pyfs-matrix noise [-h] [--workspace WORKSPACE] [--sims SIMS [SIMS...]] [--overwrite] [--verbose | --log-level {quiet,normal,verbose}] matrix
| Argument |
Value |
Default |
What it does |
-h, --help |
|
|
show this help message and exit |
<matrix> |
|
|
matrix whose pproc declares [noise] |
--workspace |
WORKSPACE |
. |
workspace root (default: current directory) |
--sims |
SIMS |
|
rebuild only these recorded simulations |
--overwrite |
|
|
replace existing products |
--verbose |
|
|
print more detail |
--log-level |
one of quiet, normal, verbose |
|
how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal |
pyfs-matrix support
usage: pyfs-matrix support [-h] [build]
| Argument |
Value |
Default |
What it does |
-h, --help |
|
|
show this help message and exit |
<build> |
|
|
one build; omitted lists every registered build |
pyfs-matrix status
Reads the run records, the plans and the posts, and changes no file: no record, log or lock is written. A polar whose datapoints share one status shows that word; a mixed polar shows the count of each. A point a plan names and no record carries is shown as planned, in lower case because no recorded status is written so.
usage: pyfs-matrix status [-h] [--additional] [--sims ID [ID...]] [--matrix STEM] [--status WORD] [--failed] [--points] [--json | --csv] [--workspace WORKSPACE] [--runs NAME]
| Argument |
Value |
Default |
What it does |
-h, --help |
|
|
show this help message and exit |
--additional |
|
|
list the additional register as recorded |
--sims |
ID |
|
Use --sims ID [ID...]; commas and brackets are also accepted. only these simulations, comma separated, with or without brackets: 2006,2007 or [2006,2007] |
--matrix |
STEM |
|
only the polars of this matrix, by its stem (found in the workspace root or inputs/matrices/) |
--status |
WORD |
[] |
only the polars with a datapoint in this status, as recorded (repeatable; a trailing * matches every word it begins, for example FAILED_*) |
--failed |
|
|
only the polars with at least one failed datapoint |
--points |
|
|
one row per datapoint instead of one per polar |
--json |
|
|
print the rows as one JSON document on stdout |
--csv |
|
|
print the rows as CSV on stdout, LF line ends |
--workspace |
WORKSPACE |
. |
the workspace root carrying runs.json (default: the current directory) |
--runs |
NAME |
|
another manifest in the workspace root, read in place of runs.json |
pyfs-matrix plot-sweeps
Expands the active rows of the named matrices into points and draws every pair of the parameters asked, with the histogram of each on the diagonal and one colour and marker per matrix. A parameter is a FLIGHT_CONDITION key, a scalar VAR_NAMES_VALUES key or a ROTATE alias (alias:AXIS when the matrices turn it about several axes). Reads the matrices only; needs no executable. The figure is written to post/visual-inspect/<name>.pdf under the workspace, <name> being the required --name.
usage: pyfs-matrix plot-sweeps [-h] --name NAME [--overwrite] --matrices MATRIX [MATRIX...] [--params [PARAM...]] [--finished-by {products,sims}] [--workspace WORKSPACE] [--verbose | --log-level {quiet,normal,verbose}]
| Argument |
Value |
Default |
What it does |
-h, --help |
|
|
show this help message and exit |
--name |
NAME |
|
the figure's file name, required; the figure is written to post/visual-inspect/<name>.pdf under the workspace (a.pdf ending is not doubled; a folder in the name is refused) Required. |
--overwrite |
|
|
replace the figure when post/visual-inspect/<name>.pdf exists; without it the file is kept, a warning names it and nothing is drawn |
--matrices |
MATRIX |
|
matrix file names of the workspace, with or without.fs, or 'all' for every matrix the workspace holds Required. |
--params |
PARAM |
|
the parameters to draw; every parameter that varies when omitted. An unknown one is warned and skipped, listing the parameters the matrices state |
--finished-by |
one of products, sims |
products |
what makes a point finished, drawn filled: 'products' (default) a row in its simulation's polar table under post/<matrix>/polars/, or 'sims' a run record that finished successfully; every other point is drawn larger, white-faced and on top |
--workspace |
WORKSPACE |
. |
workspace root (default: the current directory) |
--verbose |
|
|
print more detail |
--log-level |
one of quiet, normal, verbose |
|
how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal |