qlat.__main__ — CLI Entry Point¶
Source: qlat/qlat/__main__.py
Note: Update this document when updating the source file.
Outline¶
Usage message and subcommand dispatch.
Delegates to
qlat_config.__main__orqlat.scripts.*modules.
Overview¶
The __main__ module allows running qlat command-line tools via
python3 -m qlat <subcommand>. Each subcommand imports and executes the
corresponding script module, which handles its own argument parsing and
MPI initialisation.
Available Subcommands¶
Subcommand |
Script |
Description |
|---|---|---|
|
|
Print qlat build configuration |
|
|
Verify eigen-system file checksums |
|
|
Repartition eigen-system files |
|
|
Compute checksums of field files |
|
|
List field files in a directory |
|
|
Build an index for field files |
|
|
Rewrite field files (e.g. format change) |
|
|
Truncate field files to valid data |
|
|
Coulomb gauge-fix a gauge configuration |
|
|
Measure topological charge |
|
|
Measure topology via Wilson flow |
|
|
Measure topology using GPT |
Examples¶
Print usage¶
python3 -m qlat
Show qlat build configuration¶
python3 -m qlat qlat-config
Checksum eigen-system files¶
python3 -m qlat eigen-system-checksum eigen-dir/
List field files¶
python3 -m qlat fields-list fields-dir/
Measure topological charge¶
python3 -m qlat topo-measure gauge-field-path