-
Notifications
You must be signed in to change notification settings - Fork 0
/
submit-abyssal-backtrack.sh
30 lines (23 loc) · 1.32 KB
/
submit-abyssal-backtrack.sh
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
#!/bin/bash -l
#
#SBATCH -J aby25 # the name of your job
#SBATCH -p normal # request normal partition, job takes > 1 hour (this line can also be left out because 'normal' is the default)
#SBATCH -t 120:00:00 # time in hh:mm:ss you want to reserve for the job
#SBATCH -n 1 # the number of cores you want to use for the job, SLURM automatically determines how many nodes are needed
#SBATCH -o logs/hc13.%j.o # the name of the file where the standard output will be written to. %j will be the jobid determined by SLURM
#SBATCH -e logs/hc13.%j.e # the name of the file where potential errors will be written to. %j will be the jobid determined by SLURM
#SBATCH [email protected]
#SBATCH --mail-type=ALL
conda activate abyssal-nps
echo 'Running Backtracking Abyssal Nanoplastics simulation'
cd ${HOME}/3DModelling_SouthAtlantic/simulation
# first agument is the fragmentation timescale (int) second argument is the boolean for the fragmentation kernel
python3 backtrack_from_sampling_locations.py -ft 23000 -bm 1 -s 13 &
sleep 20
python3 backtrack_from_sampling_locations.py -ft 23000 -bm 1 -s 77 &
sleep 20
python3 backtrack_from_sampling_locations.py -ft 23000 -bm 1 -s 29 &
sleep 20
python3 backtrack_from_sampling_locations.py -ft 23000 -bm 1 -s 61
echo 'Finished computation.'
## _