SPB Git

spb/wp40_uqo

Public MIT
873 B · 13 lines shellscript
1#!/bin/bash2# E7: ship the self-contained bundle to each node (home directory only, nothing installed), run, collect results.3# Usage: e7_run_nodes.sh [nodes...]  (default = generation sweep; FinData/Ka/gateway hosts excluded by design)4set -uo pipefail5cd "$(dirname "$0")/../.."6NODES="${*:-M2M32c M2U64 M3BA24 M3U96b M4M64c m4mm m4md M5M36 m5ma m6ma m2m8a}"7OUT=experiments/results/raw/e7; mkdir -p $OUT8for n in $NODES; do9  ( scp -q -o ConnectTimeout=15 build/raid-e7-bundle.tgz $n:/tmp/raid-e7-bundle.tgz && ssh -o ConnectTimeout=15 $n 'mkdir -p ~/raid-e7 && tar -C ~/raid-e7 -xzf /tmp/raid-e7-bundle.tgz && cd ~/raid-e7/e7-bundle && bash run_e7.sh' > $OUT/$n.log 2>&1; echo "== $n: exit=$? | $(grep -E "exit=" $OUT/$n.log | tr '\n' ' ')"; mkdir -p $OUT/$n && scp -q -r "$n:~/raid-e7/e7-bundle/results_*" $OUT/$n/ 2>/dev/null ) &10done11wait12echo "collected into $OUT"13
Files · ae5a4e6ff6df81cef716eacbb5d51143a008d45b
Menu

Theme