-
Notifications
You must be signed in to change notification settings - Fork 27
/
tutorial_8_mpi_config.yaml
54 lines (52 loc) · 1.44 KB
/
tutorial_8_mpi_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
# 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:
n_ranks: '{processes_per_node}*{n_nodes}'
batch_submit: '{execute_experiment}'
mpi_command: mpirun -n {n_ranks}
platform: [platform1, platform2]
processes_per_node: [16, 18]
mpi_name: [intel-mpi, openmpi]
zips:
platform_config:
- platform
- processes_per_node
applications:
wrfv4:
workloads:
CONUS_12km:
experiments:
scaling_{n_nodes}_{platform}:
variables:
n_nodes: [1, 2]
matrix:
- platform_config
- n_nodes
software:
packages:
gcc9:
pkg_spec: [email protected]
intel-mpi:
pkg_spec: [email protected]
compiler: gcc9
openmpi:
pkg_spec: [email protected] +orterunprefix
wrfv4:
pkg_spec: [email protected] build_type=dm+sm compile_type=em_real nesting=basic ~chem
~pnetcdf
compiler: gcc9
environments:
wrfv4-{mpi_name}:
packages:
- '{mpi_name}'
- wrfv4