diff --git a/tests/setup/README.md b/tests/setup/README.md new file mode 100644 index 00000000..b93490ce --- /dev/null +++ b/tests/setup/README.md @@ -0,0 +1,4 @@ +1. Create self-hosted runer. Follow the instructions to config runner. +1. Move `run.sb` under the action runner folder. +1. Create `slurm_history` folder under the action runner folder +1. Finally, submit job via `sbatch run.sb` diff --git a/tests/setup/run.sb b/tests/setup/run.sb new file mode 100644 index 00000000..d6ff99f7 --- /dev/null +++ b/tests/setup/run.sb @@ -0,0 +1,15 @@ +#!/bin/bash --login + +#SBATCH -N 1 +#SBATCH -c 12 +#SBATCH -t 3:55:00 +#SBATCH --mem=128GB # need at least 80GB due to joint_embedding-dcca +#SBATCH --gres=gpu:v100:1 +#SBATCH -A cmse +#SBATCH -o slurm_history/slurm-%A.out + +# module load GCC/8.3.0 CUDA/10.2.89 +module load CUDA/11.8 + +cd $SLURM_SUBMIT_DIR +./run.sh