GUI reference
User documentation · CLI reference · Tutorial
Run the GUI on your laptop with Python 3.10+. It reads results; start tuning from the CLI on the compute machine. Commands below run from the DevitoPRO repository. In a Warper source checkout, replace warper-gui/server with gui/server.
Open local results
python3 warper-gui/server --sessions-root /path/to/resultsOpen the printed URL, normally http://127.0.0.1:8765. Stop with Ctrl-C. The path can name one session or a directory of sessions.
Configure remote result sources
The laptop needs ssh and rsync; the remote endpoint needs python3 and access to the session directory. A login node can expose shared compute storage.
python3 warper-gui/server --config ~/.config/warper/dashboard.jsonOn first use, this creates a starter file and exits. Edit it, then run the same command again:
{
"schema_version": 1,
"sources": [
{
"name": "gpu-results",
"ssh": "user@login-node",
"sessions_root": "/shared/warper-results",
"include_ncu_reports": true,
"include_nsys_reports": true
}
],
"include_failed": false
}Give each source a unique name and SSH target/path pair. A complete example configuration is also supplied. Choose either local-directory mode or --config; they cannot be combined.
Vendors are inferred from recorded processor names. For older or unrecognized names, add "vendors": {"x86_64": "AMD"} at the top level of dashboard.json. Overrides affect display only; names without an override or recognized vendor appear under Unknown vendor. CPU names show the recorded physical socket count when available, for example EPYC 7413 [2 sockets]. A socket is a processor package; it can contain several NUMA domains.
Add mem_bw to the node’s source entry to supply theoretical bandwidth when it is missing from the hardware catalogue. Values use decimal GB/s:
{
"name": "cpu-results",
"ssh": "user@cpu-node",
"sessions_root": "/shared/warper-results",
"mem_bw": 204.8
}The value follows sessions collected from that SSH endpoint and archive path, so different nodes can supply different bandwidths. Catalogue entries take precedence; fallbacks are labelled User-supplied in the GUI and exports. Values must be positive and finite. Restart the dashboard after editing its configuration; already collected sessions need no new synchronization.
Completed sessions are copied at startup and when you choose Sync sources. Set include_failed to true to include failed sessions. Active remote runs appear after completion; they are not streamed.
CPU and GPU results on the same host
Use separate source entries with the same ssh target and different sessions_root directories, such as /shared/warper-results/cpu and /shared/warper-results/gpu. Source names are labels; the directories select the results. Put the CPU bandwidth on the CPU source.
Choose the directory when starting Warper:
export WARPER_SESSION_ROOT=/shared/warper-results/cpu
python3 -m warper ...Use the same root for tuning and its attached scaling. GPU runs use the GPU directory. When splitting an existing archive into these subdirectories, replace the old source entry with the two new entries and restart an updated GUI. Sync recognizes matching sessions, reuses unchanged laptop copies and preserves local scenario names. Changed results are refreshed automatically; no manual cache removal is needed.
SSH authentication
Start the server in a terminal to answer SSH password, key-passphrase or MFA prompts. If authentication expires, restart from a terminal. Unattended launches need working key/agent authentication. Use an alias from ~/.ssh/config for jump hosts or site-specific settings. macOS’s bundled rsync is supported.
Report retention
| Source setting | What is copied |
|---|---|
include_ncu_reports |
Champion Nsight Compute reports, including the final report when available. |
include_nsys_reports |
The final champion’s Nsight Systems report, when available. |
Set either to false to save laptop space; normalized metrics remain available. Setting it back to true lets the next sync fetch available reports. Collection omits executable artifacts and non-champion raw reports. Keep the original compute session for resume.
Compare results
The portability plot uses the best completed single-node scaling measurement when available, including its full node rank count. Otherwise it uses the final kernel-tuning application measurement. Multi-node measurements remain in their own scaling tab. Tuning timings and gains keep their original basis. Colours group hardware by vendor: NVIDIA generations progress from yellow through orange to red, while other vendors use distinct anchor colours. Scaling tables keep launcher flags inside Recorded command. Rank details explain preferred RAM placement: a rank prefers a nearby RAM node, with fallback allowed; this verifies the policy, not the physical residence of every allocated page. The command bar follows the selected workflow tab: kernel tuning has its own command; each scaling campaign shows the current equivalent scaling command using the baseline session. The scaling command tooltip distinguishes it from the historical per-case launch commands. Default DEVITO_FIRST_TOUCH=0, DEVITO_MPI=0 and automatic LIKWID flags are omitted from the compact display; recorded application paths, arguments and environment remain unchanged. CPU tuning commands include recorded affinity and OpenMP thread settings; scaling uses its own MPI placement.
For CPU studies that select one decomposition per rank count, the table shows those selected points. Exploration candidates remain in the saved evidence and its progress count.
A scenario groups runs with the same --scenario name. Open it and select a session using its GPU-model buttons. Rename changes the display grouping without changing measurements or the recorded command; collection-mode renames stay on the laptop.
| View | Use it to |
|---|---|
| Home Performance portability plot | Compare the highest validated single-node GPts/s per scenario and hardware model. Click a bar to open its session. |
| Scenario Summary | Compare the best completed result per GPU model within one scenario. |
| Objective History | Follow compute-search trials and select one for inspection. |
| Search-space graph | Inspect candidate groups and CIRE/fission topology changes. |
| Loop 0 | Explore the tuning workflow, rulebook, examples and vocabulary. Examples use illustrative values. |
| Strong scaling | Inspect runtime, speedup, efficiency, repeats, placement and failures. See the MPI guide. |
Completed-result headlines use final Operator runtime without setup, including saving and compression. Search histories use shorter compute measurements. The Timing selector labels each source. GPts/s means billions of grid points per second; higher is faster. Missing measurements stay unavailable.
Use Customize scenarios to show, hide or reorder scenarios. Below it, Customize architectures lets you show or hide individual hardware models and independently toggle the Memory bandwidth bars reference. Hiding a model removes its performance and bandwidth bars, legend entry and exported results. The browser remembers your choices per archive; exports follow the visible plot. The reference group’s handle and arrows still change its position among scenarios.
Hardware models are grouped by CPU/GPU and brand, with all CPU groups first. Within each group, models appear in increasing theoretical DRAM bandwidth; models without a catalogued peak follow known models, with natural names breaking ties. Speedup annotations compare neighbours within the same group. Architecture bars show theoretical DRAM bandwidth in TB/s, separately from measured GPts/s. Hover comparison ratios for the hardware pair and its bandwidth ratio.
The catalogue lives in gui/data/hbm_bandwidth.json on the machine running the dashboard. Exact recorded-model aliases live in gui/dashboard_data. Tesla PG503-216 resolves to V100-PG503-216, with a hardware-derived theoretical peak of 1.134 TB/s (stored as 1.133568 TB/s). Its 4096-bit HBM2 bus and 1107 MHz DDR clock supply the calculation; this is separate from the published 0.900 TB/s V100 SXM2 specification. The table, tooltips and exports label hardware-derived entries separately from published specifications. The CPU-node entry EPYC 7413 [2 sockets] describes the recorded four-channel DDR4-3200 configuration: 204.8 GB/s total, displayed as 0.2048 TB/s. Its scope is the complete node; the entry does not describe the fully populated processor configuration or measured STREAM throughput. Restart the dashboard after editing the catalogue because it is cached per server process. Refresh or collect a completed session to make its hardware eligible for the reference row.
Inspect and reuse a session
Click a trial for correctness, timing, exact options, changes from its parent, logs and available generated code or profiler reports. The hardware table shows ordinary section time and Operator share; missing graph-member metrics remain unavailable. Whole gen code for a saving champion includes its retained full I/O Operator.
Run champion copies the command for the measured configuration. Use its recorded working directory, dependencies and inputs. To tune further, copy the recommendation’s --seed command; see reuse the result. Missing commands or launch-time source revisions are labelled.
Saving sessions may show an I/O analysis panel with compute/full comparisons, compression, storage and worker settings. See the I/O guide.
Export comparisons
Choose Dump on the home portability plot:
| Format | Contents |
|---|---|
| Markdown | Displayed winners, throughput, recorded revisions and reproduction commands. |
| The plot and reproduction appendix. | |
| PDF, plot only | Just the chart page. |
| JSON | Displayed winners and reproduction commands. |
Reports distinguish measurement and application horizons and retain recorded full-application settings, including I/O when available. Missing commands or revisions are explained. The Architectures reference supplies bandwidth facts.
Open profiler reports
Use Download .ncu-rep to save a report for the Nsight Compute GUI. New champion reports contain the selected direct kernels for one timestep with the full metric set; older reports retain their recorded capture scope.
Use the I/O panel’s Download .nsys-rep for Nsight Systems. Downloads need successful collection and enabled report retention. The demonstration has no real profiler reports.
Laptop cache
Collected sessions default to the user’s data directory, normally ~/.local/share/warper. Use --cache-root to choose another location.
Unchanged sessions are not recopied. Sync can remove obsolete raw reports from the laptop projection and fetch supplemental I/O evidence; remote originals remain intact. The home Storage panel shows archive and trash usage.
Session removal
| Action | Scope |
|---|---|
| Remove session… | One non-running session. |
| Select sessions… → Remove selected… | Checked non-running instances in the current scenario. |
| Remove scenario… | Every instance in that scenario; all must be non-running. |
| Customize scenarios → Remove… | All instances in the checked scenarios. |
Removal moves local directories to recoverable trash and displays the recovery path. In --sessions-root mode, these are the directories you opened, including original sessions. Removed collections are not silently imported again. Trash still occupies disk space; Empty local trash… permanently removes it after confirmation.
For collected sessions, Also delete the remote session is off by default. Enabling it permanently deletes the listed remote originals. Failed removals remain available for retry; a failed remote removal restores its local copy.
Server options
Source and archive
| Option | Purpose and default |
|---|---|
--sessions-root PATH |
Open local results. |
--config FILE |
Read SSH sources from a JSON file. |
--cache-root PATH |
Local archive and GUI metadata directory. |
--session SESSION_KEY |
Select a session when the GUI opens. |
Address and output
| Option | Purpose and default |
|---|---|
--host ADDRESS |
Bind address; default 127.0.0.1. |
--port N |
Port; default 8765. Use 0 for an available port. |
--poll-seconds SECONDS |
Refresh interval for active local sessions; default 2 seconds. |
--verbose |
Log each HTTP request. |
--quiet |
Suppress status and request logs. |
--help |
Show all server options. |
--verbose and --quiet cannot be combined. A non-loopback bind address generates an access token in the printed URL. The server provides no TLS.