Skip to content

Commit

Permalink
openmp implementation for the HPL benchmark (#69)
Browse files Browse the repository at this point in the history
* openmp implementation for the HPL benchmark

* Changes for ats4 hpl implementation

---------

Co-authored-by: pearce8 <[email protected]>
  • Loading branch information
rfhaque and pearce8 authored Dec 14, 2023
1 parent 73a0b8e commit 21fc295
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configs/ats4/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ spack:
spack_spec: [email protected]
blas-rocm:
spack_spec: [email protected]
blas:
spack_spec: [email protected]
lapack:
spack_spec: [email protected]
mpi-rocm-gtl:
Expand Down
2 changes: 2 additions & 0 deletions configs/cts1/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ spack:
spack_spec: [email protected]
compiler-intel:
spack_spec: [email protected]
blas:
spack_spec: [email protected]
lapack:
spack_spec: [email protected]
mpi-gcc:
Expand Down
12 changes: 12 additions & 0 deletions experiments/hpl/openmp/execute_experiment.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
{batch_nodes}
{batch_ranks}
{batch_timeout}

cd {experiment_run_dir}

{spack_setup}

{experiment_setup}

{command}
49 changes: 49 additions & 0 deletions experiments/hpl/openmp/ramble.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
ramble:
include:
- ./configs/spack.yaml
- ./configs/variables.yaml

config:
deprecated: true
spack_flags:
install: '--add --keep-stage'
concretize: '-U -f'

applications:
hpl:
workloads:
standard:
env_vars:
set:
OMP_NUM_THREADS: '{omp_num_threads}'
variables:
n_ranks: '{processes_per_node} * {n_nodes}'
N-Grids: 1
Ps: 2
Qs: 4
N-Ns: 1
Ns: 10000
N-NBs: 1
NBs: 128
experiment_setup: ''
processes_per_node: '8'
n_nodes: '1'
omp_num_threads: ['2', '4', '8']
experiments:
hpl_omp_problem1_{n_nodes}_{n_ranks}_{omp_num_threads}_{Ps}_{Qs}_{Ns}_{NBs}:
variables:
env_name: hpl-omp
matrix:
- omp_num_threads
spack:
concretized: true
packages:
hpl-omp:
spack_spec: [email protected] +openmp
compiler: default-compiler
environments:
hpl-omp:
packages:
- blas
- default-mpi
- hpl-omp

0 comments on commit 21fc295

Please sign in to comment.