16 lines
727 B
Bash
16 lines
727 B
Bash
#!/bin/bash
|
|
# Revision step 2 close-out: verifier, .tex/PDF build, regression x2 - detached, with markers.
|
|
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
|
|
~/torchenv/bin/python -u verify_article.py > ~/verify_uniform.log 2>&1
|
|
echo "verify OK $(grep -c '^ OK' ~/verify_uniform.log) BAD $(grep -c '^ BAD' ~/verify_uniform.log)"
|
|
grep '^ BAD' ~/verify_uniform.log
|
|
grep -A8 '^Traceback' ~/verify_uniform.log
|
|
~/torchenv/bin/python -u build_tex.py 2>&1 | tail -3
|
|
for pass in 1 2; do
|
|
echo "=== PASS $pass ==="
|
|
~/torchenv/bin/python -m pytest tests -q -p no:cacheprovider -n 6 2>&1 | tail -1
|
|
done
|
|
echo "=== STEP2 DONE ==="
|