Skip to content

Commit

Permalink
Add gromacs openmp config (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfhaque authored Nov 30, 2023
1 parent acce1d6 commit 720b176
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 0 deletions.
5 changes: 5 additions & 0 deletions configs/ats4/auxiliary_software_files/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,11 @@ packages:
buildable: false
hypre:
variants: amdgpu_target=gfx90a
hwloc:
externals:
- spec: [email protected]
prefix: /usr
buildable: false
mpi:
buildable: false
cray-mpich:
Expand Down
10 changes: 10 additions & 0 deletions configs/cts1/auxiliary_software_files/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ packages:
- spec: [email protected]
prefix: /usr/tce/backend/installations/linux-rhel8-x86_64/intel-19.0.4/intel-oneapi-mkl-2022.1.0-sksz67twjxftvwchnagedk36gf7plkrp
buildable: false
hwloc:
externals:
- spec: [email protected]
prefix: /usr
buildable: false
fftw:
externals:
- spec: [email protected]
prefix: /usr/tce/packages/fftw/fftw-3.3.10
buildable: false
mpi:
externals:
- spec: [email protected]
Expand Down
12 changes: 12 additions & 0 deletions experiments/gromacs/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}
50 changes: 50 additions & 0 deletions experiments/gromacs/openmp/ramble.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
ramble:
include:
- ./configs/spack.yaml
- ./configs/variables.yaml

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

applications:
gromacs:
workloads:
water_gmx50:
env_vars:
set:
OMP_NUM_THREADS: '{omp_num_threads}'
variables:
n_ranks: '{processes_per_node} * {n_nodes}'
size: ['1536', '3072']
experiment_setup: ''
processes_per_node: ['8', '4']
n_nodes: ['1', '2']
threads_per_node_core: ['2', '4']
omp_num_threads: '{threads_per_node_core} * {n_nodes}'
experiments:
gromacs_omp_water_gmx50_{n_nodes}_{omp_num_threads}_{size}:
variables:
env_name: gromacs-omp
matrices:
- size_threads:
- size
- threads_per_node_core
spack:
concretized: true
packages:
fftw-omp:
spack_spec: [email protected] +mpi+openmp
compiler: default-compiler
gromacs-omp:
spack_spec: gromacs@main +mpi+openmp~hwloc
compiler: default-compiler
environments:
gromacs-omp:
packages:
- lapack
- default-mpi
- fftw-omp
- gromacs-omp

0 comments on commit 720b176

Please sign in to comment.