From 73a0b8e7398f7eae141aade1f0f697cc37e77242 Mon Sep 17 00:00:00 2001 From: Riyaz Haque <5333387+rfhaque@users.noreply.github.com> Date: Thu, 14 Dec 2023 10:11:17 -0800 Subject: [PATCH] stream openmp implementation (#68) stream openmpp implementation --- .../stream/openmp/execute_experiment.tpl | 10 +++++ experiments/stream/openmp/ramble.yaml | 44 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100755 experiments/stream/openmp/execute_experiment.tpl create mode 100644 experiments/stream/openmp/ramble.yaml diff --git a/experiments/stream/openmp/execute_experiment.tpl b/experiments/stream/openmp/execute_experiment.tpl new file mode 100755 index 000000000..07a2c3dde --- /dev/null +++ b/experiments/stream/openmp/execute_experiment.tpl @@ -0,0 +1,10 @@ +#!/bin/bash +{batch_nodes} +{batch_ranks} +{batch_timeout} + +cd {experiment_run_dir} + +{spack_setup} + +{command} diff --git a/experiments/stream/openmp/ramble.yaml b/experiments/stream/openmp/ramble.yaml new file mode 100644 index 000000000..533a5574e --- /dev/null +++ b/experiments/stream/openmp/ramble.yaml @@ -0,0 +1,44 @@ +ramble: + include: + - ./configs/spack.yaml + - ./configs/variables.yaml + + config: + deprecated: true + spack_flags: + install: '--add --keep-stage' + concretize: '-U -f' + + variables: + n_times: ['20', '35'] + array_size: ['80000000', '1280000000'] + + applications: + streamc: + workloads: + streamc: + env_vars: + set: + OMP_NUM_THREADS: '{n_threads}' + variables: + n_ranks: '1' + experiments: + stream_{array_size}_{n_times}_{n_threads}: + variables: + env_name: 'stream_{array_size}_{n_times}' + processes_per_node: '1' + n_nodes: '1' + n_threads: ['8', '16', '32'] + matrix: + - n_threads + + spack: + concretized: true + packages: + stream_{array_size}_{n_times}: + spack_spec: 'stream@5.10 +openmp stream_array_size={array_size} ntimes={n_times} cflags="-mcmodel=medium -Ofast -flto"' + compiler: default-compiler + environments: + stream_{array_size}_{n_times}: + packages: + - stream_{array_size}_{n_times}