about summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorPjotr <wrk@bosa.lan>2026-10-24 10:35:32 +0000
committerPjotr <wrk@bosa.lan>2026-10-24 10:35:32 +0000
commitedba19046cdc6d75205d966fab8d1c4d94c19953 (patch)
treea4ce4145541337e07af647fe3534757f14476408 /docs
parenta7ffb1cfecbdb8ac3fcc6286d7a09f7285c95d67 (diff)
downloadgenenetwork4-edba19046cdc6d75205d966fab8d1c4d94c19953.tar.gz
cwl: Document how a ravanan+Guix+Slurm request actually travels.
cwl/README.md explains the whole path (API -> ccwl compile -> ravanan ->
slurmrestd -> slurmd), where Guix sits (front end only: nodes just need
the same /gnu/store mounted, plus bash, a writable ravanan store for
data/logs, and scratch for the job's working directory), the two caches
(ravanan's work reuse, checked before submitting; gemma-wrapper's
per-chromosome --cache-dir, inside the job) and why the latter is what
actually saves work for this endpoint.

It also answers "can the nodes rebuild the tools instead of sharing a
store": yes in principle, since Guix is deterministic and a node
building the same derivations would materialise identical store paths,
but ravanan submits a store path and Slurm does not substitute
automatically -- so it needs a realise-then-run wrapper (ravanan's
slurm backend already holds the script's derivation), a per-workflow
realise job, or guix publish plus a node-side daemon, with the costs
and channel-pinning caveats listed.  The timing table from the test
cluster (cached: identical; fresh: waves vs synchronous steps) is
included so expectations are explicit.

docs/ravanan-slurm.md and README.md link to it.
Diffstat (limited to 'docs')
-rw-r--r--docs/ravanan-slurm.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/ravanan-slurm.md b/docs/ravanan-slurm.md
index 0b120d4..4989905 100644
--- a/docs/ravanan-slurm.md
+++ b/docs/ravanan-slurm.md
@@ -9,7 +9,10 @@ Slurm cluster through slurmrestd's REST API instead, so the CWL scatter
 really fans out over the cluster's nodes.
 
 Nothing else about the endpoint changes: same request, same response,
-same rows. The slurm switches are appended to ravanan's command line by
+same rows.  [../cwl/README.md](../cwl/README.md) walks through the whole
+path a request takes (API -> ccwl -> ravanan -> slurmrestd -> slurmd),
+exactly what a compute node needs, and why the Guix store has to be
+visible to the nodes. The slurm switches are appended to ravanan's command line by
 `RavananBatch::ravanan_args` (`src/config.rs`), and the note in the
 response's `meta.notes` says which backend ran (`ravanan (…, slurm-api
 backend): …`).