interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / evidence / q38-stress-gb10-20261120T143359Z / prepare-run.sh

22 lines · 1367 bytes Raw Blame History
1#!/bin/bash
2set -euo pipefail
3out=$1
4src=/tmp/osc-literal.1JF35k/landing-plain
5old=$HOME/handoffs/omega-stress-repeat-20261120-WI3xzN
6mkdir -p "$out/paged"
7ln -s "$src" "$out/source"
8cd "$src"
9rev=$(git rev-parse HEAD)
10test "$rev" = 371a882a5dc8509809abd9d4bbdf1316963f9d51
11test -z "$(git status --porcelain)"
12test "$(git -C /tmp/physics-pin rev-parse HEAD)" = "$(cat physics.lock)"
13test -z "$(git -C /tmp/physics-pin status --porcelain -uno)"
14cp "$old/q38_stress_bench.c" "$out/"
15nice -n 10 make -j4 PHYSICS_DIR=/tmp/physics-pin build/gpu_q38_graph_test build/gpu_q38_stroke_exact_test build/gpu_attention_test > "$out/build.log" 2>&1
16cc -O2 -ffp-contract=off -Isrc "$out/q38_stress_bench.c" build/libomega_gpu.a -lpthread -lm -o "$out/q38_stress_bench"
17sha256sum build/gpu_attention_test build/gpu_q38_graph_test build/gpu_q38_stroke_exact_test build/libomega_gpu.a seed/out/omc > "$out/build.sha256"
18(cd "$out"; sha256sum q38_stress_bench q38_stress_bench.c >> build.sha256)
19{ hostname; uname -srmo; echo "$rev"; cat physics.lock; cc --version | head -1; nvidia-smi --query-gpu=name,driver_version --format=csv; echo "$old"; } > "$out/provenance.txt"
20for f in run.sh paged/run.sh; do sed -e "s/c9fe0f228095e70b2ff5e48f9e0a7b3fdcccf721/$rev/g" -e "s/c9fe0f228/371a882a5/g" "$old/$f" > "$out/$f"; done
21bash "$out/run.sh" "$out"
22bash "$out/paged/run.sh" "$out/paged"