20.3 Input resolution: control stream, data, and run family
The control stream can be positional or passed with --ctl. --model-dir plus optional --run-stem finds a run family; --recursive permits nested scanning but still rejects ambiguity. --files supplies an explicit manifest whose relative paths resolve from the manifest location.
$DATA normally locates the dataset relative to the control stream. --data overrides it. Previous-run files—EXT, COV, COR, listing, PHI or table—can be passed explicitly where relevant. For fit, EXT becomes starting values only with --start-from-ext.
Resolve absolute paths in the evidence record even if the project uses portable relative paths. Ambiguous directories should fail rather than choose an arbitrary stem. Confirm that the dataset checksum corresponds to the analysis population intended by $DATA IGNORE/ACCEPT.
Configuration files can supply shared data/numerical/output settings, but command-line values override them. fit_command.txt records resolved estimation options; preserve configuration and original invocation too.
Resolve first, estimate second
When several discovery options are present, record the exact files selected. A directory may contain final control streams, backup tables or unrelated runs whose stems happen to match. Use --dry-run where possible and inspect the resolved plan before spending computation. For batch work, prefer explicit --files or a carefully constrained --ext and recursive policy rather than relying on ambient directory contents.
Run-family files must describe the same parameter ordering and problem. An EXT from another model can have the right number of values yet assign them to different THETAs or OMEGA elements. Likewise, an externally supplied table or PHI file must be reconciled with the control stream’s IDs, rows and ETA definitions. Treat stem matching as a convenience, not proof of compatibility.
Paths should be reproducible across machines. Keep the control and data relationship deliberate, avoid hidden dependence on the current directory, and capture the resolved absolute identities in the output. If a CLI override replaces $DATA, document why the reference stream was not used unchanged.
Common mistakes
Do not assume working-directory-relative and control-stream-relative paths are identical, supply an EXT and expect automatic reuse, or scan a directory containing multiple stems without --run-stem. Avoid copying only control stream while breaking $DATA relative path.
Checklist
- Record exact control-stream and dataset paths.
- Resolve one unambiguous run stem.
- Verify
$DATA/override and checksum. - Pair
--start-from-extexplicitly. - Archive manifest/configuration/command.
Further reading
Continue to control-stream anatomy, settings precedence, and final control stream.