diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 92146e8..a6c5b37 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -49,15 +49,16 @@ not need a benchmark machine to work on it.
## Security
-The benchmark machines and the scheduler are **self-hosted GitHub Actions
-runners on a public repository**. Code from a pull request must never reach
-them:
-
-- Workflows that run on self-hosted runners are triggered only by `schedule`,
- `workflow_dispatch` or `workflow_call` from `main`, never by `pull_request`
- or `pull_request_target`. `tests/test_workflows.py` enforces this.
-- Benchmark machines hold no write credentials. Only the scheduler can push to
- speedR-results.
+The benchmark machines run in a private Slurm cluster; nothing in this
+public repository starts work on them. Code from a pull request must never
+reach them:
+
+- The machines run only commits a maintainer checked out on them, and jobs
+ only from accounts of the cluster. No workflow here may run on a
+ self-hosted runner when triggered by `pull_request` or
+ `pull_request_target`; `tests/test_workflows.py` enforces this.
+- Benchmark machines hold no write credentials. Only the controller can push
+ to speedR-results (a deploy key for that repository alone).
If you find a security problem, please do not open a public issue. Contact
the maintainers privately through GitHub's *Report a vulnerability* button on
diff --git a/README.md b/README.md
index 2f3713a..7ace4cc 100644
--- a/README.md
+++ b/README.md
@@ -8,24 +8,24 @@ the results as a static dashboard, in the spirit of
[R Consortium](https://www.r-consortium.org) ISC grant, *Measuring R
Performance*.
-> **Status: early development.** The dashboard renders synthetic data only
-> (every page says so). Nothing here is a measurement of R yet. See
-> [Roadmap](#roadmap).
+> **Status: early development.** The first measurements (methodology 0.2,
+> a draft) are on the dashboard, .
+> See [Roadmap](#roadmap).
## What is in this repository
| path | what |
|---|---|
| [`site/`](site/) | the dashboard: Quarto + R, static ([README](site/README.md)) |
-| [`speedr/`](speedr/) | the pipeline (Python): identifiers, machine registry, run metadata, the suite pin; build/ingest stages to come |
+| [`speedr/`](speedr/) | the pipeline (Python): identifiers, machine registry, run metadata, the suite pin, build settings, the sentinel, the ingest into speedR-results |
| [`drivers/`](drivers/) | the timing and profile passes, built on r-benchmarks' `rbench` and `rbench.perf` |
| [`categories/`](categories/) | the perf frame classifier from VMIL'26 (`perf-rules.R`) and the step that turns recordings into category shares |
-| [`machines/`](machines/) | one TOML file per benchmark machine ([how to add one](docs/machines.md)) |
+| [`machines/`](machines/) | one TOML file per machine: a set of identical boxes, with the sentinel's reference times |
| [`build/`](build/) | how R is built: the toolchain image (upstream GCC 16), the per-version settings ([`settings.toml`](build/settings.toml)) and the build script |
-| [`node/`](node/) | running on the benchmark machines: `speedr-node` (build, timing pass, results to the controller) and `speedr-submit` (queue it as a Slurm job) |
+| [`node/`](node/) | running on the cluster: `speedr-node` (build; sentinel and timing pass, results to the controller), `speedr-submit` (queue it as a Slurm job) and, on the controller, `speedr-publish` (ingest and push to speedR-results) |
| [`configs.toml`](configs.toml) | build configurations: default, no-bytecode, LTO, GC variants, PGO, ... |
| [`methodology/`](methodology/) | methodology versions: every run records the one it was measured under ([rules](methodology/README.md)) |
-| [`docs/`](docs/) | [benchmarking guidelines](docs/guidelines.md) (draft), [machines](docs/machines.md) |
+| [`docs/`](docs/) | [benchmarking guidelines](docs/guidelines.md) (draft) |
| [`tests/`](tests/) | Python tests, including the workflow security rules |
Related repositories:
@@ -39,23 +39,24 @@ Related repositories:
r-benchmarks is built on. speedR does not pin it separately: it uses the
commit r-benchmarks' `uv.lock` locks.
- [PRL-PRG/speedR-results](https://github.com/PRL-PRG/speedR-results): the
- results, under CC0.
+ results, under CC0 (branch `results`); every push there renders the
+ dashboard.
## How it works
```
- new R release / R-devel revision
- │
+ speedr-submit (controller) ──► Slurm ──wake──► benchmark box (Slurm prolog: booted? probe)
+ │ build R (pinned image, cached)
+ │ sentinel (R 4.5.2, against the machine)
+ │ timing pass (r-benchmarks)
+ controller spool ◄──── rsync ─────────────┘
+ │ speedr-publish (cron): ingest, commit, push
▼
- GitHub Actions (the queue) ──► scheduler (always on) ──wake──► benchmark machine
- │ build R (pinned image)
- │ timing pass (r-benchmarks)
- │ profile pass (perf)
- ◄──────── results artifact ─────┘
- scheduler validates and commits to speedR-results ──► dashboard re-render
+ speedR-results `results` ──► GitHub Actions renders the dashboard (Pages)
```
-Speedups are only computed between runs **on the same machine**. The baseline
+Speedups are only computed between runs **on the same machine** (a set of
+identical boxes, checked against each other by the probe and the sentinel). The baseline
(1×) is the R version shipped in the newest Ubuntu LTS. The details are in
[the guidelines](docs/guidelines.md) and on the dashboard's Methodology page.
@@ -92,10 +93,14 @@ From the controller:
```sh
speedr-submit build 4.5.2 devel # one build job each (devel: today's R-devel snapshot)
-speedr-submit run 4.5.2 # build if needed, then the timing pass
+speedr-submit run 4.5.2 # build if needed, then the sentinel and the timing pass
uv run speedr build-env 3.6.1 # the compilers and settings an R version is built with
```
+The controller has the same checkout as `~speedr/speedr`, a checkout of
+speedR-results' `results` branch as `~speedr/speedR-results` (a deploy key may
+push to it) and runs `node/speedr-publish` from speedr's crontab.
+
Dashboard ([Quarto](https://quarto.org) ≥ 1.11 and R ≥ 4.3):
```sh
@@ -103,7 +108,7 @@ cd site
Rscript -e 'pak::local_install_deps()' # or install the packages in site/DESCRIPTION
quarto preview # live preview
quarto render # static site in site/_site/
-SPEEDR_RESULTS=../../speedR-results/index quarto render # real data
+SPEEDR_RESULTS_ROOT=../../speedR-results ./render.sh # real data, one site per methodology
```
## Roadmap
@@ -111,9 +116,9 @@ SPEEDR_RESULTS=../../speedR-results/index quarto render # real data
| phase | what | status |
|---|---|---|
| 1 | repositories, licences, contributor guide, CI | in progress |
-| 2 | build layer: pinned images, GNU R builds 3.0.0 to R-devel | |
-| 3 | timing pass, results repository, scheduler, power management | |
-| 4 | dashboard on real data | mockup done |
+| 2 | build layer: pinned images, GNU R builds 3.0.0 to R-devel | done |
+| 3 | timing pass, results repository, scheduler, power management | done (methodology 0.2, draft) |
+| 4 | dashboard on real data | first releases |
| 5 | profiles: perf pass, categorisation, quality gates | |
| 6 | nightly R-devel and change detection | |
| 7 | backfill of 3.x releases | |
diff --git a/docs/guidelines.md b/docs/guidelines.md
index a1969c3..664b2fd 100644
--- a/docs/guidelines.md
+++ b/docs/guidelines.md
@@ -33,8 +33,8 @@ project and will be refined as the pipeline is built; sections marked
## 3. Running benchmarks
-- **Run design.** 5 separate R processes per benchmark, each running 1 warm-up
- and 4 measured iterations (r-benchmarks' own default is 3 processes of 2 + 3;
+- **Run design.** Separate R processes per benchmark (3 under methodology 0.2),
+ each running 1 warm-up and 4 measured iterations (r-benchmarks' own default is 3 processes of 2 + 3;
speedR's drivers set theirs). The process is the unit of replication: the spread
between processes is larger than the spread within one.
- **Order.** Benchmarks run in a shuffled order with a fixed seed.
diff --git a/docs/machines.md b/docs/machines.md
deleted file mode 100644
index badda10..0000000
--- a/docs/machines.md
+++ /dev/null
@@ -1,66 +0,0 @@
-# Benchmark machines
-
-A benchmark machine is a dedicated box that runs one GitHub Actions
-self-hosted runner. It sleeps (powered off) when idle; an always-on
-**scheduler** wakes it when work is queued.
-
-## Adding a machine
-
-1. Prepare the host (below for Linux).
-2. Add `machines/.toml` (copy an existing one). `name` must equal the
- file name and is also the runner label `m-`. Run
- `uv run speedr machines` to validate.
-3. Register the runner with the labels `speedr machines` prints
- (`self-hosted, speedr, m-, os-, arch-`).
-4. Store the wake secret (MAC address or BMC host) as the Actions secret named
- by `wake_secret`. Never commit it.
-5. New platforms start with `profiles = "experimental"` until their profiler is
- validated against perf on Linux x86-64.
-
-### Registry fields
-
-| field | values | meaning |
-|---|---|---|
-| `os`, `arch` | `linux`/`macos`/`windows`, `x86_64`/`aarch64` | platform |
-| `runtime` | `docker`, `native` | Docker images on Linux; native toolchains elsewhere |
-| `profiler` | `perf`, `samply`, `xctrace`, `etw`, `none` | how profiles are recorded |
-| `profiles` | `validated`, `experimental`, `none` | shown as a badge on the dashboard |
-| `wake` | `wol`, `ipmi`, `relay`, `always-on`, `manual` | how the scheduler wakes it |
-| `wake_secret` | Actions secret name | MAC (wol, relay) or BMC host (ipmi) |
-| `relay_host` | host name | for `relay`: an always-on host on the machine's subnet |
-| `cores`, `numa_node` | cpuset, node | where benchmarks are pinned |
-| `track_devel` | bool | benchmark every R-devel night |
-
-### Wake methods
-
-- **wol**: Wake-on-LAN magic packet from the scheduler. Needs the scheduler on
- the same L2 segment (or a router forwarding directed broadcasts).
-- **ipmi**: `ipmitool power on` against the board's BMC (or AMT, iDRAC, iLO).
- Routable, and also reports power state. Preferred when available.
-- **relay**: the magic packet is sent over SSH from another always-on host on
- the machine's subnet.
-- **always-on**: never sleeps.
-
-## Linux x86-64 host setup
-
-**OS:** Ubuntu Server 26.04 LTS, minimal install, no desktop, GA kernel. The
-host provides only the kernel, perf, Docker and the runner; the toolchain is in
-the images.
-
-- **Freeze:** `apt-mark hold` the kernel, `linux-tools-*` and Docker packages;
- disable `unattended-upgrades`. Update only in maintenance windows, and log
- each update as a machine change.
-- **Remove noise:** remove snapd and cloud-init; disable the apt-daily,
- man-db, fstrim, plocate and motd-news timers.
-- **Kernel command line:** `isolcpus=`, `nohz_full=` and `rcu_nocbs=` for the
- benchmark cores; keep `irqbalance` off them.
-- **BIOS:** Wake-on-LAN from S5 on; SMT off; record the BIOS version and fan
- profile. Turbo is left to `bench denoise`.
-- **NIC:** WoL `g`, persisted in netplan (`wakeonlan: true`).
-- **Storage:** a separate partition of ~300 GB for `/var/lib/docker` and
- `/var/lib/speedr` (build cache, scratch).
-- **Services:** chrony; the runner as a systemd service; a boot unit running
- `bench denoise`; the idle power-off timer (powers off after 20 min without a
- job).
-
-*(To do: an Ansible role for this, and the macOS and Windows equivalents.)*
diff --git a/drivers/timing.py b/drivers/timing.py
index 79021a9..ea85628 100644
--- a/drivers/timing.py
+++ b/drivers/timing.py
@@ -8,7 +8,7 @@
from bench import Context, Params, Thermal
# r-benchmarks' own defaults are 3 runs x 5 iterations, 2 of them warm-up.
-RUN_DESIGN = {"runs": 5, "iterations": 5, "warmups": 1}
+RUN_DESIGN = {"runs": 3, "iterations": 5, "warmups": 1} # methodology 0.2
class TimingParams(rb.RbenchHarnessParams):
diff --git a/machines/kabylake.toml b/machines/kabylake.toml
new file mode 100644
index 0000000..dcc66ca
--- /dev/null
+++ b/machines/kabylake.toml
@@ -0,0 +1,22 @@
+# The Intel Core i7-7700K boxes: Slurm partition `kabylake` of the prlprg-bench
+# cluster (MSI Z270M Mortar, BIOS 1.60, 32 GB). Their results are one series;
+# the sentinel checks each run's box against the reference below.
+name = "kabylake"
+os = "linux"
+arch = "x86_64"
+cpu = "Intel Core i7-7700K at a fixed 4.2 GHz (turbo and SMT off), 32 GB"
+cores = "3" # isolated core the benchmarks are pinned to
+runtime = "docker"
+profiler = "perf"
+profiles = "validated" # perf on x86-64 is the method VMIL'26 validated
+track_devel = true
+wake = "wol"
+
+# Reference times (ms) of the sentinel benchmarks under R 4.5.2: medians of 7
+# runs on prl-prg-bench4-ubuntu, 2026-11-20, before and after a power cycle
+# (spread under 1%). Empty: not calibrated, every run passes.
+[sentinel]
+"areWeFast/bounce" = 979.2
+"shootout/nbody/nbody" = 723.0
+"mathkernel/DoubleVecAdd-T1" = 1134.1
+"R-benchmark-25/Programmation/att3_1" = 881.4
diff --git a/machines/prl-bench-x64-1.toml b/machines/prl-bench-x64-1.toml
deleted file mode 100644
index 1254605..0000000
--- a/machines/prl-bench-x64-1.toml
+++ /dev/null
@@ -1,15 +0,0 @@
-# The reference machine: dedicated Linux x86-64 box (see docs/machines.md for
-# its host setup). Values marked TBD are filled in when the box is installed.
-name = "prl-bench-x64-1"
-os = "linux"
-arch = "x86_64"
-cpu = "TBD"
-cores = "TBD" # isolated cores the benchmarks are pinned to
-runtime = "docker"
-profiler = "perf"
-profiles = "validated" # perf on x86-64 is the method VMIL'26 validated
-track_devel = true
-# wol until we know whether the scheduler shares its L2 segment; switch to
-# ipmi if the board has a BMC, or relay via a host on its subnet.
-wake = "wol"
-wake_secret = "WAKE_PRL_BENCH_X64_1"
diff --git a/methodology/0.2.qmd b/methodology/0.2.qmd
new file mode 100644
index 0000000..f5f2603
--- /dev/null
+++ b/methodology/0.2.qmd
@@ -0,0 +1,140 @@
+## What is measured
+
+The corpus is [PRL-PRG/r-benchmarks](https://github.com/PRL-PRG/r-benchmarks),
+pinned to one commit, characterised in *What Do R Benchmarks Measure? Toward a
+Performance-Characterized Benchmark Suite for R* (VMIL'26). Each program
+defines `execute(size)` and, optionally, an untimed `setup()`. Timing,
+repetition and process management belong to the shared harness, driven by the
+[bench](https://github.com/PRL-PRG/bench) framework.
+
+- **R's recommended packages** (MASS, Matrix, lattice, ...) are built with
+ every release, as R's default build does: each R version runs with the
+ versions it shipped with.
+- Four benchmarks (`lr`, `lr_test`, `pca`, `pca-blocked`) also need
+ clusterGeneration, used only to generate their input in `setup()`. Every
+ build gets the version that was on CRAN at the date of its source; where it
+ does not install, those benchmarks are recorded as unsupported.
+
+## How R is built
+
+- **Releases** are built from the CRAN source tarballs. **R-devel** (and
+ R-patched) from the source snapshots CRAN publishes daily, which include the
+ recommended packages, identified by their SVN revision.
+- Every version is built **the way R builds by default**: a plain
+ `./configure` (only the install prefix is given) and `make`. So R chooses
+ its own flags (`-g -O2`), uses its internal BLAS and LAPACK, links into one
+ `R` binary (no shared `libR`) and builds the recommended packages.
+- **One compiler for every version:** GCC 16.2.0 as upstream builds it (the
+ official `gcc:16` container image), in an image whose libraries come from a
+ dated Ubuntu archive snapshot. A compiler change would move every number at
+ once. Upstream GCC adds no hardening by itself (distributions' GCCs add
+ `_FORTIFY_SOURCE`, stack protector, PIE and more), and its own `-O2`,
+ vectoriser included, is used for every version.
+- **Settings by version range.** A settings file adds compiler options to
+ every version or to versions up to or from a given release. A source tree is
+ placed by the version it declares, so a snapshot of R-devel gets the rules
+ of the release it leads up to, and releases after R 4.6.2 keep the current
+ settings.
+- **The C dialect of the time.** Each version gets the default C dialect of
+ the newest GCC released before it (gnu89 until GCC 4.9, gnu11 for GCC 5 to 7,
+ gnu17 for GCC 8 to 14, gnu23 from GCC 15); R's `configure` then adds its own
+ `-std` where it did at the time (`-std=gnu99` on top of gnu89, C23 from R
+ 4.5.0).
+- **Settings that change no generated code** go to every version:
+ `-fpermissive` (implicit declarations were warnings before GCC 14; without
+ it R 3.0.0's `configure` silently decides `ftell` is broken),
+ `-fallow-argument-mismatch` (Fortran, likewise before gfortran 10) and a
+ `configure` answer that lets R before 4.2 accept curl 8. For R 4.6.2,
+ `configure` decides exactly the same with and without them.
+- **`-fcommon`** (the default before GCC 10) can change the generated code, so
+ it goes only to the releases up to the newest one that does not link
+ without it: R 3.6.1 and older (found by bisection; 3.6.2 links).
+- R before 4.0 needs PCRE1, which Ubuntu no longer ships: it is built from
+ its last release (8.45) with the same compiler.
+
+## How a run is measured
+
+- Every benchmark runs in **3 separate R processes**, each doing 1 warm-up and
+ 4 measured iterations, in a fixed shuffled order, as `R --slave --vanilla`
+ under `setarch -R`. (Three processes keep a pass over a recent release to
+ about an hour; with address-space randomisation off, processes of one build
+ vary little. Whether 1.0 needs more is decided from these results.)
+- Runs execute in the build's container, pinned to one isolated CPU core, with
+ no network.
+- The machine runs a pinned kernel, with the benchmark core isolated from the
+ scheduler (`isolcpus`, `nohz_full`, `rcu_nocbs`), the performance governor,
+ turbo off and the frequency fixed, address-space randomisation off
+ system-wide, transparent huge pages off, and no power-management daemons. The
+ batch system checks all of it before every job and refuses to run otherwise.
+- **CPU temperature and thermal throttling** are sampled every second during
+ every benchmark execution, which records its hottest reading and the throttle
+ events counted during it. An execution during which the CPU came within
+ 10 °C of the limit the CPU itself declares, or throttled, is flagged as
+ possibly affected.
+- **A machine is a set of identical boxes** (same hardware, firmware settings
+ and system): their results form one series, whichever box measured them.
+ Before every run, two checks compare the box with its machine's reference,
+ measured when the machine was calibrated:
+ - the **probe**, a native program of the cluster, on the benchmark core
+ after a warm-up: integer and branch throughput, cache and memory latency,
+ memory bandwidth;
+ - the **sentinel**, a few short benchmarks of the suite on a fixed build
+ (R 4.5.2), after warm-up iterations.
+
+ Within 3% of the reference the run is fine. Beyond it the run is still
+ measured, but marked **suspect**: its results are shown with a warning and
+ never used to detect changes. Beyond 10% (twice in a row for the probe) the
+ box does not run benchmarks at all: it is taken out of service, and the job
+ waits, held, until it is fixed.
+- **A box runs a job only once fully booted:** systemd reports the boot
+ complete, no start-up jobs are pending and it has been up for a minute (it
+ is idle from about 30 s of uptime). Periodic maintenance (package updates, indexing, trims) is disabled on the
+ boxes.
+
+## Statistics
+
+- A benchmark's time on a run is the **geometric mean over processes** of
+ each process's median measured iteration. Its interval is a 95% interval
+ with the process as the unit of replication (with three processes, a rough
+ one).
+- A **speedup** is *time(A) / time(B)*: above 1× means B is faster. Speedups
+ are only ever computed between runs on the **same machine** and under the
+ **same methodology version**.
+- The **baseline** (1×) is the R version shipped in the **newest Ubuntu LTS**,
+ currently R `r BASELINE_VERSION` in Ubuntu `r UBUNTU_LTS$ubuntu[nrow(UBUNTU_LTS)]`:
+ the R most Linux users get without adding CRAN's repository. The table of
+ which R each LTS ships (`r paste0(UBUNTU_LTS$r, " in ", UBUNTU_LTS$ubuntu, collapse = ", ")`)
+ is kept in `data/ubuntu-lts.csv`. Every build checks Ubuntu's release list
+ for a newer LTS and reads the `r-base` version it shipped from Launchpad, so
+ when a new LTS is released every speedup on the site is **rescaled to its R**
+ at the next build. A machine that has not measured that release uses its oldest
+ measured release instead.
+- Suite-level numbers are **geometric means** over the benchmarks that every
+ compared run could execute. The count is always shown, because old releases
+ cannot run benchmarks that need newer R.
+- R-devel **change detection** flags a benchmark when it moves by more than
+ 2% and outside its interval relative to the previous seven good nights, and
+ the next three nights confirm it.
+
+## Profiles {#profiles}
+
+A second pass records each benchmark 5 times with
+`perf record --call-graph dwarf,32768` on the same build. Only samples
+inside `execute()` are kept, using phase markers the harness prints. Each sample
+is charged to the **innermost stack frame** a rule recognises, checked in this
+order:
+
+1. **Object rules:** frames in BLAS/LAPACK libraries are `native-blas`, and
+ frames in a package's own shared object are `native-ffi`.
+2. **Symbol rules:** a table of named interpreter functions (for example
+ `bcEval` → interpreter, `R_findVar` → lookup, `Rf_duplicate` →
+ mem-duplicate).
+3. **Shape rule:** `do_*` and `ALT*` functions inside the interpreter are
+ `primitives`, apart from the dispatch primitives (`UseMethod`,
+ `NextMethod`, `standardGeneric`).
+
+Samples no rule reaches are reported as **unattributed** and never hidden. A
+run whose unattributed share exceeds 5% fails the quality gate. The rules were
+validated (VMIL'26) on builds like these, without frame pointers. Profiles on platforms without `perf` (macOS:
+samply) are marked *experimental* until their category shares are shown to
+agree with perf.
diff --git a/methodology/versions.csv b/methodology/versions.csv
index d21481f..0c6c2cd 100644
--- a/methodology/versions.csv
+++ b/methodology/versions.csv
@@ -1,2 +1,3 @@
version,status,date,summary
0.1,draft,2026-11-19,"First measurements on the kabylake node: R's default build with GCC 16 as upstream GCC, the C dialect of each release's time, recommended packages"
+0.2,draft,2026-11-20,"Releases of every Ubuntu LTS on the kabylake machine: 3 processes per benchmark, the sentinel and probe before every run, results from r-benchmarks main"
diff --git a/node/speedr-node b/node/speedr-node
index 25f88cf..5d0e8b1 100755
--- a/node/speedr-node
+++ b/node/speedr-node
@@ -7,11 +7,16 @@
# speedr-node env|id SOURCE the build settings | the build id
# speedr-node configure SOURCE configure only; print config.h
# speedr-node build SOURCE build R (cached by build id) in $work/r/
-# speedr-node run SOURCE [timing.py args] timing pass -> $work/results/LABEL/RUN_ID/,
-# copied to the controller's spool
+# speedr-node sentinel the sentinel alone: does this box measure
+# as its machine should?
+# speedr-node run SOURCE [timing.py args] sentinel, then the timing pass ->
+# $work/results/LABEL/RUN_ID/, copied to
+# the controller's spool
#
-# SOURCE is a release (4.6.2), `devel` or `patched` (today's snapshot, kept as
-# devel-r), such a label (devel-r90937), or a source tarball. How a
+# The machine is $SPEEDR_MACHINE, by default the Slurm partition
+# (machines/.toml). SOURCE is a release (4.6.2), `devel` or `patched`
+# (today's snapshot, kept as devel-r), such a label
+# (devel-r90937), or a source tarball. How a
# version is built: build/settings.toml. Data (sources, logs, results) goes to
# $SPEEDR_WORK (~/speedr-work); this checkout needs `uv sync` once.
set -euo pipefail
@@ -27,6 +32,8 @@ cran=https://cloud.r-project.org/src/contrib
extra_pkg=clusterGeneration
# results go to the controller's spool (speedr's key can only write there)
spool=speedr@prl-prg-bench-master:
+# the node's probe result, written by the cluster's Slurm prolog before each job
+probe=/run/prlprg-bench/probe.json
mkdir -p "$work/src" "$work/results" "$work/r"
# the speedr account is in the docker group; others go through sudo
@@ -34,9 +41,9 @@ docker() { if [ -w /var/run/docker.sock ]; then command docker "$@"; else sudo -
tarball_file() { # TARBALL NAME -> first line of the top-level file NAME
# (top-level only: R's sources have more files called VERSION)
- local m; m=$(tar -tzf "$1" | awk -v n="$2" '$0 ~ "^[^/]+/" n "$" && !f { print; f = 1 }')
+ local m; m=$(tar --warning=no-unknown-keyword -tzf "$1" | awk -v n="$2" '$0 ~ "^[^/]+/" n "$" && !f { print; f = 1 }')
[ -n "$m" ] || return 0
- tar -xzOf "$1" "$m" | head -n 1
+ tar --warning=no-unknown-keyword -xzOf "$1" "$m" | head -n 1
}
snapshot() { # devel|patched -> label of today's snapshot, downloaded into src/
@@ -75,7 +82,7 @@ resolve() { # SOURCE -> label; its tarball is then $work/src/R-