-
Notifications
You must be signed in to change notification settings - Fork 28
/
tutorial_11_new_exec_config.yaml
55 lines (53 loc) · 1.56 KB
/
tutorial_11_new_exec_config.yaml
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
48
49
50
51
52
53
54
55
# Copyright 2022-2024 The Ramble Authors
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
# https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
# <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
# option. This file may not be copied, modified, or distributed
# except according to those terms.
ramble:
variants:
package_manager: spack
env_vars:
set:
OMP_NUM_THREADS: '{n_threads}'
variables:
processes_per_node: 16
n_ranks: '{processes_per_node}*{n_nodes}'
batch_submit: '{execute_experiment}'
mpi_command: mpirun -n {n_ranks}
applications:
wrfv4:
workloads:
CONUS_12km:
experiments:
scaling_{n_nodes}:
internals:
custom_executables:
start_time:
template:
- date +%s
redirect: '{experiment_run_dir}/start_time'
use_mpi: false
end_time:
template:
- date +%s
redirect: '{experiment_run_dir}/end_time'
use_mpi: false
variables:
n_nodes: [1, 2]
software:
packages:
gcc9:
pkg_spec: [email protected]
intel-mpi:
pkg_spec: [email protected]
compiler: gcc9
wrfv4:
pkg_spec: [email protected] build_type=dm+sm compile_type=em_real nesting=basic ~chem
~pnetcdf
compiler: gcc9
environments:
wrfv4:
packages:
- intel-mpi
- wrfv4