Skip to content

Commit

Permalink
Use environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed Apr 24, 2024
1 parent 9413b1d commit b7f4f1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test_package_openmpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
PETSC_ARCH: "linux-gnu-real64-32"
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
PRTE_MCA_rmaps_default_mapping_policy: :oversubscribe

strategy:
matrix:
Expand Down Expand Up @@ -74,4 +75,4 @@ jobs:
- name: Run tests in parallel
run: |
mpirun -n 4 --map-by :OVERSUBSCRIBE coverage run --rcfile=.coveragerc -m mpi4py -m pytest -xvs ./tests/
mpirun -n 4 coverage run --rcfile=.coveragerc -m mpi4py -m pytest -xvs ./tests/

0 comments on commit b7f4f1d

Please sign in to comment.