From 15e0d994e3e64d74171d86da06045fefca6851be Mon Sep 17 00:00:00 2001 From: Mohsen Hariri Date: Fri, 28 Jul 2023 14:38:47 -0400 Subject: [PATCH] hpc init script --- hpc.init | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 hpc.init diff --git a/hpc.init b/hpc.init new file mode 100644 index 0000000..d3427d1 --- /dev/null +++ b/hpc.init @@ -0,0 +1,21 @@ +#!/bin/bash + +# SLRUM job script + +echo "Job ID: $SLURM_JOB_ID" + +module purge +module load Python/3.10.8-GCCcore-12.2.0 + +DIRNAME="$(basename "$(pwd)")" + +cp -pR $PWD $PFSDIR/ +cd $PFSDIR/$DIRNAME + +make switch-env hpc +make env-local +make test +make check +make pia + +# Run Makefile targets \ No newline at end of file