-
Notifications
You must be signed in to change notification settings - Fork 27
/
tutorial_11_exec_injection_config.yaml
59 lines (57 loc) · 1.75 KB
/
tutorial_11_exec_injection_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
56
57
58
59
# 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
variables:
processes_per_node: 4
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
executable_injection:
- name: start_time
order: before
relative_to: execute
- name: end_time
order: after
relative_to: execute
variables:
n_nodes: [1, 2, 4]
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