#!/bin/bash #SBATCH --job-name=EHD_RETHR #SBATCH --nodes=1 #SBATCH --ntasks=1 #SBATCH --cpus-per-task=20 #SBATCH --time=04:00:00 #SBATCH --output=/home/tanpv/Progs/claude/HW/logs/rethres_%j.out #SBATCH --error=/home/tanpv/Progs/claude/HW/logs/rethres_%j.err set -euo pipefail ROOT=/home/tanpv/Progs/claude/HW PY=/home/tanpv/.conda/envs/ehd/bin/python cd "$ROOT" export OMP_NUM_THREADS=4 MKL_NUM_THREADS=4 OPENBLAS_NUM_THREADS=4 NUMEXPR_NUM_THREADS=4 # Tx90p is unchanged by the max -> min switch, so only the parts of the AI store # that read Tx_thres are rebuilt: derived (sv_mod, ev_mod), target and static. echo "=== rebuild AI targets from Tx_thres = min(Tx90p, 35) ===" $PY src/build_ai_inputs.py --jobs 20 --skip-z echo "=== done ==="