-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathn_run.sh
More file actions
17 lines (15 loc) · 804 Bytes
/
n_run.sh
File metadata and controls
17 lines (15 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
#SBATCH -J ObjectRepresentationTests # name of job
#SBATCH -p dgx2,dgxh,ampere # name of partition or queue
#SBATCH --array=1-3 # how many tasks in the array
#SBATCH -o log/LOG-%a.out # name of error file for this submission script
#SBATCH -e log/ERROR-%a.err # name of error file for this submission script
#SBATCH --mem=15G
#SBATCH --gres=gpu:1
#SBATCH --cpus-per-gpu 32
#SBATCH -t 2-00:00:00
# load any software environment module required for app (e.g. matlab, gcc, cuda)
#module load software/version
source /nfs/hpc/share/swensoni/virtual_mojo/bin/activate
# run my job (e.g. matlab, python)
srun --export=ALL python3 run_hpc_multi.py $SLURM_ARRAY_TASK_ID $SLURM_CPUS_PER_GPU