Skip to content

Commit

Permalink
Set a few more OMPI parameters related to 'oversubscribe'.
Browse files Browse the repository at this point in the history
  • Loading branch information
rainwoodman committed May 13, 2019
1 parent f9563af commit 97dc356
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtests/mpi/tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,8 @@ def _launch_mpisub(self, args, site_dir):
# see the faq:
# https://www.open-mpi.org/faq/?category=running#oversubscribing
os.environ['OMPI_MCA_rmaps_base_oversubscribe'] = '1'
os.environ['OMPI_MCA_rmaps_base_no_oversubscribe'] = '0'
os.environ['OMPI_MCA_mpi_yield_when_idle'] = '1'

os.execvp(mpirun[0], mpirun + cmdargs + additional)

Expand Down

0 comments on commit 97dc356

Please sign in to comment.