#!/bin/bash # Two regression passes on the server with the compiled library on the path, 6 workers # (40% of the free cores measured before the run), BLAS pinned to one thread per worker. export OMP_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1 MKL_NUM_THREADS=1 export PYTHONPATH="$HOME/simbracket_build/site:." cd "$HOME/sim-numerics" || exit 1 for pass in 1 2; do echo "=== PASS $pass ===" ~/torchenv/bin/python -m pytest tests -q -p no:cacheprovider -n 6 2>&1 | tail -4 done echo "=== REGRESSION DONE ==="