#!/usr/bin/env bash # Paper figures and auto-generated tables (CPU). Submit from the repo root: sbatch paper/scripts/make_figures.slurm #SBATCH --job-name=paper-figs #SBATCH --partition=cpu #SBATCH --cpus-per-task=2 #SBATCH --mem=8G #SBATCH --time=00:20:00 #SBATCH --output=paper/scripts/make_figures-%j.out set -euo pipefail cd -- "$SLURM_SUBMIT_DIR" export PYTHONDONTWRITEBYTECODE=1 MPLCONFIGDIR="$PWD/.local/matplotlib" ${PYTHON:-python3} paper/scripts/make_figures.py ls -la paper/figures paper/tables paper/scripts