-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathslurm_steering_dardel.sh
47 lines (35 loc) · 1.12 KB
/
slurm_steering_dardel.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/bash -l
# Include your account in your cluster.
#SBATCH --account=snic2021-3-15
# The name of the job in the queue
#SBATCH --job-name=steered
#SBATCH --partition main
# Output file names for stdout and stderr
#SBATCH --error=slurm_out/steered.err
#SBATCH --output=slurm_out/steered.out
# Add your email below.
# Receive e-mails when your job fails
#SBATCH [email protected]
#SBATCH --mail-type=ALL
#SBATCH --time=0:30:00
# Total number of nodes and MPI tasks
###################### MODIFY ###############################
# Number of nodes and number of MPI tasks per node
#SBATCH --nodes=2
# In slurm jargon tasks is like MPI-ranks
#SBATCH --ntasks-per-node=128
# Choose version of gromacs
ml PDC
ml GROMACS/2020.5-cpeCray-21.11
ml Anaconda3/2021.05
# Path to string-method repository
path_string_method=../../../string-method-swarms-trajectories
###################### DO NOT MODIFY ###############################
cmd=" `which python` ${path_string_method}/stringmethod/main.py --config_file=config_steered.json --start_mode=steered"
echo "Command Run:"
echo $cmd
echo "Started at:"
date
$cmd
echo "Finished at:"
date