-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace JSON configuration with YAML file (#15)
Switch from JSON to YAML configuration for improved readability (#15) This change replaces the JSON configuration files with YAML files, which are more human-readable. This update is related to issue #13.
- Loading branch information
1 parent
c38adb5
commit 88c20fb
Showing
4 changed files
with
55 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
metadata: | ||
description: I/O benchmarks | ||
version: "1.0" | ||
runs: 2 | ||
timeout: 600 | ||
input_file: random_numbers.bin | ||
omp-tasks: | ||
bench_path: benchs/omp-tasks | ||
env: | ||
CC: gcc | ||
CXX: g++ | ||
build_instructions: | ||
- command: mkdir -p build | ||
cwd: "{{bench_path}}" | ||
- command: cmake .. -DCMAKE_BUILD_TYPE=Release | ||
cwd: "{{bench_path}}/build" | ||
- command: make -j | ||
cwd: "{{bench_path}}/build" | ||
command: | ||
template: "{{bench_path}}/build/lustre1 -t {{tasks}} -r {{read_step}} -f {{input_file}}" | ||
mpi-io: | ||
bench_path: benchs/mpi-io | ||
env: | ||
CC: mpicc | ||
CXX: mpicxx | ||
build_instructions: | ||
- command: mkdir -p build | ||
cwd: "{{bench_path}}" | ||
- command: cmake .. -DCMAKE_BUILD_TYPE=Release | ||
cwd: "{{bench_path}}/build" | ||
- command: make -j | ||
cwd: "{{bench_path}}/build" | ||
command: | ||
template: "mpirun -np {{procs}} -ppn {{ppn}} -hosts {{hosts}} {{bench_path}}/build/mpi_io_count {{input_file}} {{read_step}}" | ||
|
||
omp-tasks: | ||
tasks: | ||
- 1 | ||
- 2 | ||
read_step: | ||
- 100 | ||
- 101 | ||
|
||
mpi-io: | ||
nodes: | ||
- 1 | ||
procs: | ||
- 1 | ||
- 2 | ||
read_step: | ||
- 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters