#!/bin/bash # Climbs of q3_target.py with the seeds 1 to 4 (IIS-Q-0003). The files target/target_L*_S*.txt # are the input of run_target.sh, run_signtest.sh and run_tight.sh. run_tight.sh adds the seeds # 21 to 24. The climbs need the standard library of Python only; they do not use the binary. # I wrote this script after the first run of this command. The run with this script gives the # same files as the first run. # usage (from the root of the workspace): /bin/bash -c '. work/lean_env.sh && bash work/capset/q0003/run_target_climbs.sh' W=$(cd "$(dirname "$0")/../../.." && pwd) # the root of the workspace; this script is in work/capset/q0003 D=$W/work/capset/q0003 T=$D/target mkdir -p "$T" for LAYER in 0 1; do for S in 1 2 3 4; do python3 -I "$D/q3_target.py" "$LAYER" "$S" 150 20000 60 "$T/target_L${LAYER}_S$S.txt" > "$T/target_L${LAYER}_S$S.log" 2>&1 & done done wait