Skip to content

Commit

Permalink
stream openmp implementation (#68)
Browse files Browse the repository at this point in the history
stream openmpp implementation
  • Loading branch information
rfhaque authored Dec 14, 2023
1 parent 6a175a8 commit 73a0b8e
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
10 changes: 10 additions & 0 deletions experiments/stream/openmp/execute_experiment.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
{batch_nodes}
{batch_ranks}
{batch_timeout}

cd {experiment_run_dir}

{spack_setup}

{command}
44 changes: 44 additions & 0 deletions experiments/stream/openmp/ramble.yaml
Original file line number Diff line number Diff line change
@@ -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: '[email protected] +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}

0 comments on commit 73a0b8e

Please sign in to comment.