-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathjob_wrf.sh
37 lines (25 loc) · 897 Bytes
/
job_wrf.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
#!/bin/bash
##############################################################################################
### How to run:
### sbatch job_wrf.sh f_Thompson_MYJ 2016-09-28_18:00:00 2016-09-30_06:00:00 N
### With N in {2..8}
###
#################################### Slurm configuration #####################################
### Samples of job scripts in /usr/share/doc/mendieta/
#SBATCH --mail-type=ALL
#SBATCH [email protected]
#SBATCH --job-name=WRF
#SBATCH --partition=multi
#SBATCH --exclusive
#SBATCH --nodes=2
#SBATCH --ntasks-per-node=20
### Execution Time. Format: days-hours:minutes. Max time: Four days.
#SBATCH --time 0-3:30
### Environment setup
. /etc/profile
################################# WRF Configuration ###################################
### $1: Ensamble name
### $2 Start Date
### $3: End Date
### $4: Amount of nodes
./run_wrf_model.sh $1 $2 $3 $4