-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_dfs.sh
More file actions
16 lines (15 loc) · 1.02 KB
/
run_dfs.sh
File metadata and controls
16 lines (15 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
### sbatch config parameters must start with #SBATCH and must precede any other command. to ignore just add another # - like so ##SBATCH
#SBATCH --partition main ### specify partition name where to run a job
##SBATCH --time 7-00:00:00 ### limit the time of job running. Format: D-H:MM:SS
#SBATCH --job-name run_dfs ### name of the job. replace my_job with your desired job name
#SBATCH --output run_dfs.out ### output log for running job - %J is the job number variable
#SBATCH --mail-user=tomya@post.bgu.ac.il ### users email for sending job status notifications replace with yours
#SBATCH --mail-type=BEGIN,END,FAIL ### conditions when to send the email. ALL,BEGIN,END,FAIL, REQUEU, NONE
#SBATCH --mem=64G ### total amount of RAM
#SBATCH --ntasks=4
#SBATCH --cpus-per-task=12 ##. You may reduce that number to 6 and get double the RAM per thread
### Start you code below ####
module load anaconda ### load anaconda module
source activate bpjs_wrapper
~/.conda/envs/bpjs_wrapper/bin/python ~/repos/BPjsPythonWrapper/dfs_main.py