#!/usr/bin/env bash # BETA_FIXEDCFG build: table json/md/tex -> beta_fixed_config.pdf -> rebuttal_tables (R1-R5[/R6]) pdf. Compute node only. set -uo pipefail ROOT=/proj/dmfexp/zwhong/rsm_rise PY=/gpfs/ess6000-1/optshare/share/miniforge/bin/python3 export TECTONIC_CACHE_DIR=$ROOT/.tectonic_cache cd $ROOT/docs/rebuttal || exit 1 $PY $ROOT/scripts/beta_fixedcfg_table.py || { echo "BFC_TABLE_FAIL"; exit 1; } $PY $ROOT/scripts/beta_fixedcfg_table.py --repro || echo "BFC_REPRO_TABLE_FAIL" $PY $ROOT/scripts/beta_fixedcfg_loto.py || { echo "BFC_LOTO_FAIL"; exit 1; } /u/zwhong/.local/bin/tectonic -X compile beta_fixed_config.tex > build_beta_fixed_config.log 2>&1 && echo "BFC_TEX_OK" || { echo "BFC_TEX_FAIL"; tail -30 build_beta_fixed_config.log; } grep -E "Overfull|Undefined|rror" build_beta_fixed_config.log | head bash build_rebuttal_tables.sh echo "BFC_BUILD_DONE $(date -u)"