Vorflop-exakt AWS: probe run (SB/BB to gap 0.005, 4-player probe, full 6-max 2 iterations) with its own lagen file and user data, both in the bundle

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Marc Mintel
2026-12-05 17:56:15 +01:00
co-authored by Claude Opus 5.5
parent 447aa664fc
commit 526ee89534
3 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ P="$BAU/paket"; mkdir -p "$P/quelle"
# Skripte (ohne probe/) und Motor-Quelle aus dem Commit
git -C "$REPO" archive "$COMMIT" "$AWS_DIR" | tar -x -C "$BAU"
for f in start.sh treiber.py lagen.txt userdata.sh.vorlage; do cp "$BAU/$AWS_DIR/$f" "$P/"; done
for f in start.sh treiber.py lagen.txt lagen-probe.txt userdata.sh.vorlage userdata-probe.sh.vorlage; do cp "$BAU/$AWS_DIR/$f" "$P/"; done
[ -n "${LAGEN:-}" ] && cp "$LAGEN" "$P/lagen.txt"
git -C "$REPO" archive "$COMMIT" entscheiden/motor | tar -x -C "$BAU"
mv "$BAU/entscheiden/motor" "$P/quelle/motor"
@@ -0,0 +1,7 @@
# Probelauf AWS (05.12.): Zeit je Iteration auf c7a.32xlarge fuer die Hochrechnung. Felder wie lagen.txt.
# 1. SB gegen BB bis Luecke 0,005 bb (2 Spieler, exakt).
sechs100 4 nl2 0.005 faeden=32 gb=8
# 2. probe4: 4 Spieler (folds 2), 6 Iterationen, feste Bretter B=1000 (wie Farm-Auftrag gpukern-vorflopexakt-probe4).
sechs100 2 nl2 0 iter=6 halt=2 boards=1000 boards_auto=0 faeden=128 gb=200
# 3. voller 6-max-Baum (folds 0), 2 Iterationen: Zeit je Iteration und Speicher des vollen Laufs.
sechs100 0 nl2 0 iter=2 halt=1 boards=1000 boards_auto=0 faeden=128 gb=200
@@ -0,0 +1,9 @@
#!/bin/bash
# User-Data PROBE exakter Vorflop (lagen-probe.txt, 2 h) (Amazon Linux 2023 x86_64; aws-cli, python3 dabei). Je Maschine eine Kopie mit eigener MASCHINE (0..VON-1).
# <EIMER>, <LAUF> (z. B. v1) und <I> ersetzen. Instanzrolle pokerfreak-rechner darf nur s3://<EIMER>/flopref/...: alles liegt unter flopref/vorflop/.
# Start: c7a.32xlarge Spot, eu-central-1b, --instance-initiated-shutdown-behavior terminate, Hoechstpreis 2,10 $/h (siehe KOSTEN-PLAN.md).
# Spot-Ruecknahme: dieselbe Vorlage mit gleicher <I> und gleichem <LAUF> neu starten; Stand und Fertiges kommen aus S3.
set -u
mkdir -p /opt/vorflop && cd /opt/vorflop
aws s3 cp --only-show-errors s3://<EIMER>/flopref/vorflop/vorflop-aws.tar.gz . && tar -xzf vorflop-aws.tar.gz
MAX_STUNDEN=2 LAGEN=lagen-probe.txt S3=s3://<EIMER>/flopref/vorflop/probe-<LAUF> EINGABE=s3://<EIMER>/flopref/vorflop/eingabe MASCHINE=<I> VON=1 FAEDEN=32 GB=16 ./start.sh