Repository navigation
Architecture
Türkçe: Architecture-TR
A summary of src/hpc_gui/docs/ARCHITECTURE.md, which is canonical.
The application is a PySide6 desktop program for SSH and Slurm workflows, with optional X11 support through external helpers. Its product loop is: start, establish or reuse a remote session, browse or edit remote content, prepare or submit Slurm scripts, observe queue and accounting state, and inspect diagnostics and logs.
| Package | Owns | Does not own |
|---|---|---|
src/hpc_gui/ui/ |
Windows, dialogs, widgets, user interaction, progress and status display | Reusable Slurm parsing, deep session logic, hidden business rules |
src/hpc_gui/services/ |
Slurm service abstractions, remote file operations, the process registry, X11 helper orchestration, integration with PuTTY and VcXsrv | — |
src/hpc_gui/ssh/ |
Remote client behavior and connection-level wrappers | — |
src/hpc_gui/config/ |
Local configuration models, storage of user preferences, safe persistence helpers | — |
src/hpc_gui/core/ |
Logging setup, i18n, diagnostics helpers, path and resource helpers | — |
src/hpc_gui/cli/ |
The command-line surface and its exit-code contract | Behavior the services do not already expose |
templates/ |
Starter Slurm script templates for CPU, GPU, and MPI flows | — |
scripts/ |
Repository validation, smoke tests, packaging and release helpers | — |
In the order the project resolves conflicts between them:
- Interface responsiveness
- Explicit, inspectable remote operations
- Reusable service and domain logic
- Observable failures
- i18n consistency
- Practical packaging
- Keep the Qt layer thin. If logic can be tested outside a widget, move it out of the widget into a service.
- Keep long work off the interface thread. Session, transfer, and process work runs asynchronously so the window never blocks on the network.
- Keep user-visible strings in the language layer. Turkish and English resources are updated together — see Interface Language and i18n.
- Keep external command execution easy to reason about. Arguments are explicit and quoted rather than assembled from free-form strings.
-
Keep test seams available for fake file and Slurm layers, as in
tests/test_editor_flow.py. This is why the offline suite can exercise transfer and job flows without a cluster — see Testing and CI.
Every remote operation — connecting, listing a directory, transferring a file, querying the scheduler — can take arbitrarily long or fail. Running any of it on the interface thread would freeze the window. The services layer exists partly so that this work has somewhere to live that is not a widget, and failures surface as logged, observable events rather than as a hung interface.
HPC Client GUI — generated from docs/wiki/ in the main repository. Do not edit pages on github.com; edit the source and re-run the sync script. — Licensing · Support
Entry
Install
Use
- Connecting and Profiles
- Remote File Manager
- File Transfers
- Slurm Jobs
- Job Outputs
- Script Editor
- Terminal and Remote Commands
- X11 Forwarding
- Settings Reference
- Interface Language and i18n
Automation
Operations
Slurm
Project
- Architecture
- Building from Source
- Release Process
- Testing and CI
- Contributing
- Licensing and Commercial Use
- Support and Donations
- Release History
- Glossary
Giriş
Kurulum
Kullanım
- Bağlantı ve Profiller
- Uzak Dosya Yöneticisi
- Dosya Aktarımları
- Slurm İşleri
- İş Çıktıları
- Betik Düzenleyici
- Terminal ve Uzak Komutlar
- X11 Yönlendirme
- Ayarlar Referansı
- Arayüz Dili ve i18n
Otomasyon
İşletim
- Günlükler ve Tanılama
- Çökme Raporları ve Günlük Gönderme
- Sorun Giderme
- Güvenlik Modeli
- Veri ve Gizlilik
Slurm
Proje