igneum/tools/attack/adv-cache-3/queue/95-adv-cache-3-image-w2.sh
2026-10-07 19:31:57 +00:00

12 lines
1 KiB
Bash
Executable file

#!/usr/bin/env bash
# adv-cache-3 (owner), queue 90 (4): the exhaustive image census at w = 2 (every one of 2^32 states per step), depth 64,
# and the no-feedforward plant (a permutation: the image must stay 2^32) at depth 6. Runs ON build box 2.
set -u
BIN=/srv/builds/_adv-cache-3/bin/adv-cache-3; D=/srv/builds/_adv-cache-3/logs; mkdir -p $D
T=${THREADS:-48}
# main's rule of 20:1x BST, 7 October 2026: every sweep starts through the build-server lane's lease pool, never by hand
run() { tag=$1; shift; echo "$(date -u +%FT%TZ) start $tag" >> $D/ledger.txt; /srv/builds/_bin/lease pool $T --min 16 --label "adv-cache-3 $tag" --owner adv-cache-3 -- $BIN "$@" > $D/$tag.log 2>&1; rc=$?; echo "$(date -u +%FT%TZ) end $tag rc=$rc" >> $D/ledger.txt; echo "$tag rc=$rc"; }
echo $$ > $D/image-batch.pid
run image-w2-r6-d64 image --w 2 --rounds 6 --depth 64 --threads {cores}
run image-w2-plant-noff image --w 2 --rounds 6 --depth 6 --plant no-feedforward --threads {cores}
echo "image-batch done $(date -u +%FT%TZ)"