-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.taskfarmer
More file actions
executable file
·39 lines (31 loc) · 1.02 KB
/
run.taskfarmer
File metadata and controls
executable file
·39 lines (31 loc) · 1.02 KB
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
#!/usr/bin/env bash
#SBATCH --job-name=TMMFARMER
#SBATCH --partition=batch
#SBATCH --nodes=1
#SBATCH --tasks-per-node=16
#SBATCH --time=24:00:00
#SBATCH --mail-type=END
#SBATCH --mail-user=jrhm21@bath.ac.uk #Change this to your email!
#SBATCH --account=re-ce1100
# -- Set up the environment
module purge
module load slurm
module load group ce-molsim stack
module load gnuplot
module load openmpi
module load taskfarmer
#locate the experiment directory
dt=$(date '+%d/%m/%Y %H:%M:%S');
echo "$(date '+%d/%m/%Y %H:%M:%S')"
# -- Run
echo "Starting scans on $(date '+%d/%m/%Y %H:%M:%S')"
mpiexec -np 16 taskfarmer -f taskfarm.scan1
bash tm_combine_1.sh
echo "Starting scan2 on $(date '+%d/%m/%Y %H:%M:%S')"
mpiexec -np 16 taskfarmer -f taskfarm.scan2
bash tm_combine_2.sh
echo "Finished scans. Starting exploit simulations on $(date '+%d/%m/%Y %H:%M:%S')"
mpiexec -np 16 taskfarmer -f taskfarm.exploit
bash tm_combine_3.sh
echo "Finished exploits. Starting final simulation on $(date '+%d/%m/%Y %H:%M:%S')"
bash dlmonte.sh finalcombine