File: oversubscribe_tests

package info (click to toggle)
pytest-mpi 0.6-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 368 kB
  • sloc: python: 2,056; makefile: 28
file content (14 lines) | stat: -rw-r--r-- 400 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Michael R. Crusoe <crusoe@debian.org>
Description: Allow the tests to oversubscribe the available number of cores
Forwarded: not-needed
--- pytest-mpi.orig/tests/conftest.py
+++ pytest-mpi/tests/conftest.py
@@ -5,7 +5,7 @@
 import pytest
 
 log = getLogger(__name__)
-MPI_ARGS = ("mpirun", "-n")
+MPI_ARGS = ("mpirun", "--oversubscribe", "-n")
 PYTEST_ARGS = (sys.executable, "-mpytest")