From 26898a62154a8e90e4acd34794618160a34cb047 Mon Sep 17 00:00:00 2001 From: Riyaz Haque <5333387+rfhaque@users.noreply.github.com> Date: Mon, 18 Dec 2023 15:33:23 -0800 Subject: [PATCH 1/2] openmp implementation for HPCG (#77) * openmp implementation for HPCG * copyright * copyright --------- Co-authored-by: Riyaz Haque Co-authored-by: pearce8 --- .../hpcg/openmp/execute_experiment.tpl | 15 ++++++ experiments/hpcg/openmp/ramble.yaml | 51 +++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100755 experiments/hpcg/openmp/execute_experiment.tpl create mode 100644 experiments/hpcg/openmp/ramble.yaml diff --git a/experiments/hpcg/openmp/execute_experiment.tpl b/experiments/hpcg/openmp/execute_experiment.tpl new file mode 100755 index 000000000..11bf418a9 --- /dev/null +++ b/experiments/hpcg/openmp/execute_experiment.tpl @@ -0,0 +1,15 @@ +# Copyright 2023 Lawrence Livermore National Security, LLC and other +# Benchpark Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: Apache-2.0 + +#!/bin/bash +{batch_nodes} +{batch_ranks} +{batch_timeout} + +cd {experiment_run_dir} + +{spack_setup} + +{command} diff --git a/experiments/hpcg/openmp/ramble.yaml b/experiments/hpcg/openmp/ramble.yaml new file mode 100644 index 000000000..10a212ea0 --- /dev/null +++ b/experiments/hpcg/openmp/ramble.yaml @@ -0,0 +1,51 @@ +# Copyright 2023 Lawrence Livermore National Security, LLC and other +# Benchpark Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: Apache-2.0 + +ramble: + include: + - ./configs/spack.yaml + - ./configs/variables.yaml + + config: + deprecated: true + spack_flags: + install: '--add --keep-stage' + concretize: '-U -f' + + applications: + hpcg: + workloads: + standard: + env_vars: + set: + OMP_NUM_THREADS: '{n_threads}' + variables: + n_ranks: '1' + mx: '104' + my: '104' + mz: '104' + matrix_size: '{mx} {my} {mz}' + iterations: '60' + n_threads: ['8', '16'] + processes_per_node: '1' + n_nodes: '1' + experiments: + hpcg_standard_{mx}_{my}_{mz}_{iterations}_{n_ranks}_{n_threads}: + variables: + env_name: hpcg-omp + matrix: + - n_threads + + spack: + concretized: true + packages: + hpcg-omp: + spack_spec: 'hpcg@3.1 +openmp' + compiler: default-compiler + environments: + hpcg-omp: + packages: + - default-mpi + - hpcg-omp From 6a4621eda0c39d4fb9b9db489668e54dab0f8699 Mon Sep 17 00:00:00 2001 From: Riyaz Haque <5333387+rfhaque@users.noreply.github.com> Date: Mon, 18 Dec 2023 15:36:03 -0800 Subject: [PATCH 2/2] mpi-only implementation for md-test (#78) * openmp implementation for md-test * copyright * copyright --------- Co-authored-by: Riyaz Haque Co-authored-by: pearce8 --- .../md-test/mpi-only/execute_experiment.tpl | 17 +++++++ experiments/md-test/mpi-only/ramble.yaml | 46 +++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100755 experiments/md-test/mpi-only/execute_experiment.tpl create mode 100644 experiments/md-test/mpi-only/ramble.yaml diff --git a/experiments/md-test/mpi-only/execute_experiment.tpl b/experiments/md-test/mpi-only/execute_experiment.tpl new file mode 100755 index 000000000..f2026d0e2 --- /dev/null +++ b/experiments/md-test/mpi-only/execute_experiment.tpl @@ -0,0 +1,17 @@ +# Copyright 2023 Lawrence Livermore National Security, LLC and other +# Benchpark Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: Apache-2.0 + +#!/bin/bash +{batch_nodes} +{batch_ranks} +{batch_timeout} + +cd {experiment_run_dir} + +{spack_setup} + +{experiment_setup} + +{command} diff --git a/experiments/md-test/mpi-only/ramble.yaml b/experiments/md-test/mpi-only/ramble.yaml new file mode 100644 index 000000000..dd6ac11a4 --- /dev/null +++ b/experiments/md-test/mpi-only/ramble.yaml @@ -0,0 +1,46 @@ +# Copyright 2023 Lawrence Livermore National Security, LLC and other +# Benchpark Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: Apache-2.0 + +ramble: + include: + - ./configs/spack.yaml + - ./configs/variables.yaml + + config: + deprecated: true + spack_flags: + install: '--add --keep-stage' + concretize: '-U -f' + + applications: + md-test: + workloads: + multi-file: + variables: + n_ranks: ['1', '2', '4', '8'] + n_nodes: '1' + experiment_setup: '' + experiments: + mdtest_multifile_{num-objects}_{iterations}_{additional-args}_{n_nodes}_{n_ranks}: + variables: + env_name: mdtest + num-objects: '1000' + iterations: '10' + additional-args: '' + spack: + concretized: true + packages: + ior: + spack_spec: ior@3.3.0 + compiler: default-compiler + mdtest: + spack_spec: mdtest@1.9.3 + compiler: default-compiler + environments: + mdtest: + packages: + - default-mpi + - ior + - mdtest