-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrun_T21_mpi.sh
More file actions
executable file
·36 lines (23 loc) · 880 Bytes
/
run_T21_mpi.sh
File metadata and controls
executable file
·36 lines (23 loc) · 880 Bytes
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
#!/bin/bash
# This is a simple spifs run which fits on a single PC.
# OpenIFS with the T21 grid and 2 LES instances close to Barbados.
# This version uses the Amuse MPI channel.
# Demands an MPI implementation that supports comm_spawn.
# (Normally they do, Cray doesn't)
# number of GCM(OpenIFS) processes
N_GCM=1
# number of LES instances
N_LES=2
# number of LES processes per instance
LES_PROCS=1
OIFSDIR=oifs-input
DALESDIR=dales-input
OUT=output
mpiexec -n 1 python ./spmaster.py --steps 100 \
--poly 20 -50 10 -50 10 -40 20 -40 \
--gcmprocs $N_GCM --numles $N_LES --lesprocs $LES_PROCS \
--gcmdir=$OIFSDIR --gcmexp=TEST \
--lesdir=$DALESDIR --odir=$OUT --cplsurf \
--channel=mpi
# optional LES spinup: total spin-up time(s), number of steps, strength of the forcing towards the GCM profile
# --spinup 14400 --spinup_steps 16 --spinup_forcing 0.25