- Clone Experanto from René's fork (https://github.com/reneburghardt/experanto) and checkout branch
sensorium- This branch allows custom interpolators as parameters
- Clone this repository and move into directory.
- Build apptainer:
module load apptainerandapptainer build apptainer/sensorium.sif apptainer/sensorium.def - Set environment variables
MY_PROJECTS_DIRto root folder of Experanto and this repository andMY_DATA_DIRto root folder of data in experanto format.- Alternatively, set hardcoded paths in
scripts/run_apptainer.sh
- Alternatively, set hardcoded paths in
- Run
sh scripts/run_apptainer.sh [python file to run relative to sensorium_experanto folder] [python args]in interactive job or within sbatch script.- E.g.,
sh scripts/run_apptainer.sh src/static_train.py - To keep a running apptainer container alive, set
--keep-alive
- E.g.,
sh scripts/run_apptainer.sh codestyle
sh scripts/run_apptainer.sh lint