update documents
This commit is contained in:
parent
c705cadadc
commit
d70bf6a402
51 changed files with 995 additions and 1997 deletions
|
|
@ -5,15 +5,13 @@ C daemon running on each compute node. Manages job execution, hardware monitorin
|
|||
|
||||
## Build
|
||||
```bash
|
||||
# From workspace root
|
||||
nix develop
|
||||
meson build && ninja -C build
|
||||
/xce-build worker # lib + worker daemon (see build-deployment.md)
|
||||
```
|
||||
|
||||
## Architecture
|
||||
- `src/xcecd.c` — Main daemon entry point
|
||||
- `src/hardware_monitor.c` — CPU/memory/GPU resource monitoring
|
||||
- `src/process_manager.c` — Job process lifecycle (spawn, track, reap)
|
||||
- `src/main.c` — Main daemon entry point (`int main`); links against `xcecd_srcs` from `src/xcecd.c` and friends
|
||||
- `src/hardware_monitor.c` — CPU/memory resource monitoring (no GPU)
|
||||
- `src/process_worker_manager.c` + `src/uv_proc.c` — Job process lifecycle (fork `xcecd_worker`, spawn/exec the job command); `src/process_manager.c` is unused dead code for job spawn (its `process_manager_start_process` is never called) but is still wired up for generic create/update/destroy/reap in `xcecd.c`
|
||||
|
||||
Links against `libxce` from `src/lib/`.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue