forked from xiaorongjun000/Self-Rectification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjob.sbatch
22 lines (17 loc) · 756 Bytes
/
job.sbatch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash -l
#
#SBATCH --job-name=selfRecJob # Job name
#SBATCH --gres=gpu:a100:1 # Request 1 A100 GPU
#SBATCH --partition=a100 # Run on the A100 partition
#SBATCH --time=6:00:00 # Set maximum run time to 6 hours
#SBATCH --ntasks=1 # Single task
#SBATCH --output=logs/%x_%j.out # Save stdout to logs/jobname_jobid.out
#SBATCH --error=logs/%x_%j.err # Save stderr to logs/jobname_jobid.err
#SBATCH --export=NONE
unset SLURM_EXPORT_ENV
export http_proxy=http://proxy:80
export https_proxy=http://proxy:80
module load python
module load cuda/12.6.1
source activate selfRec
python main.py