#!/bin/sh set -eu : "${CORE_DIR:?CORE_DIR must be set}" export NUMBA_NUM_THREADS=1 export NUMBA_CACHE_DIR="$PWD/.numba-cache" export MPLCONFIGDIR="$PWD/.matplotlib" mkdir -p "$NUMBA_CACHE_DIR" "$MPLCONFIGDIR" exec python3 "$(dirname "$0")/method.py" "$1" "$2"