Skip to content

Commit

Permalink
OpenMPI: Oversubscribe
Browse files Browse the repository at this point in the history
One test, `example_r2c`, likes to run with 4 processes.
  • Loading branch information
ax3l committed Aug 29, 2024
1 parent d79d2ff commit f91595e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes/heffte/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@

set -eu -x -o pipefail

# OpenMP
export OMP_NUM_THREADS=2

# OpenMPI
export OMPI_MCA_plm=^rsh
export PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe

# Build and run tests
cmake \
-S ${PREFIX}/share/heffte/testing \
-B build_test \
Expand Down

0 comments on commit f91595e

Please sign in to comment.