-
Notifications
You must be signed in to change notification settings - Fork 0
/
streak_length.slurm
58 lines (33 loc) · 1.29 KB
/
streak_length.slurm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/bash
## Job Name
#SBATCH --job-name=streak_lengths
## Allocation Definition
## On mox and ikt, the account and partition options should be the same.
#SBATCH --account=astro
#SBATCH --partition=astro
## Resources
## Nodes
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=28
## Walltime (hours:min:sec) Do not specify a walltime substantially more than your job needs.
#SBATCH --time=5-48:00:00
## Memory per node. It is important to specify the memory since the default memory is very small.
## For mox, --mem may be more than 100G depending on the memory of your nodes.
## For ikt, --mem may be 58G or more depending on the memory of your nodes.
## See above section on "Specifying memory" for choices for --mem.
#SBATCH --mem=500G
## Specify the working directory for this job
#SBATCH --chdir=/gscratch/scrubbed/yoachim/satellite-dodging
##turn on e-mail notification
#SBATCH --mail-type=ALL
#SBATCH [email protected]
## export all your environment variables to the batch job session
#SBATCH --export=all
## Set up the evironment
source ~/anaconda3/etc/profile.d/conda.sh
conda activate sat-env
export OPENBLAS_NUM_THREADS=1
cd /gscratch/scrubbed/yoachim/satellite-dodging
## run all the baseline commands in parallel
module load parallel-20170722
cat run_lengths.sh | parallel -j 28