Skip to content

Commit

Permalink
Set Openmp thread affinity to cores
Browse files Browse the repository at this point in the history
  • Loading branch information
Riyaz Haque committed Feb 17, 2024
1 parent c065093 commit b8ca5a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions experiments/gromacs/cuda/ramble.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ramble:
env_vars:
set:
OMP_PROC_BIND: close
OMP_PLACES: threads
OMP_PLACES: cores
OMP_NUM_THREADS: '{omp_num_threads}'
variables:
experiment_setup: ''
Expand Down Expand Up @@ -46,16 +46,16 @@ ramble:
packages:
gromacs:
spack_spec: [email protected] +mpi+openmp+cuda~hwloc~double cuda_arch=={cuda_arch}
compiler: compiler-clang
compiler: default-compiler
cuda:
spack_spec: cuda@{default_cuda_version}+allow-unsupported-compilers
compiler: compiler-clang
compiler: default-compiler
environments:
gromacs:
packages:
- cuda
- blas
- lapack
- mpi-clang
- default-mpi
- fftw
- gromacs
2 changes: 1 addition & 1 deletion experiments/gromacs/openmp/ramble.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ramble:
env_vars:
set:
OMP_PROC_BIND: close
OMP_PLACES: threads
OMP_PLACES: cores
OMP_NUM_THREADS: '{omp_num_threads}'
variables:
experiment_setup: ''
Expand Down

0 comments on commit b8ca5a2

Please sign in to comment.