#!/bin/bash # Produce the hermite-fem solutions of both cymbal2 challenges, crash then flat, 8 mm then 5 mm (a quarter of an hour per 8 mm run on the office GPU, # under an hour at 5 mm). Run locally on the GPU workstation, never on the vault runner: # nohup bash run_chain.sh > chain.log 2>&1 < /dev/null & disown # Progress: solutions//hermite-fem/.progress.json and .partial.wav, rewritten every minute. set -e here="$(cd "$(dirname "$0")" && pwd)" spec="$1" py="${PYTHON:-/home/magland/src/vault1/challenges/cymbal-env/bin/python}" run() { # challenge spacing_m out="$here/../../solutions/$1/hermite-fem" mkdir -p "$out" "$py" "$here/fem_shell.py" "$spec/challenges/$1/challenge.json" "$out" --spacing "$2" --device cuda --fields --report 60 } run cymbal2-crash-v1 0.008 run cymbal2-crash-v1 0.005 run cymbal2-flat-v1 0.008 run cymbal2-flat-v1 0.005