Evaluate Python MPI testing strategy #3193
Labels
I: No breaking change
Previously written code will work as before, no one should note anything changing (aside the fix)
S: Normal
Handle this with default priority
stale
Automatic marker for inactivity, please have another look here
T: Enhancement
New functionality, model or documentation
We currently perform MPI-based tests under Python in two different ways
mpirun -np N python -m pytest ...
on thepytest/mpi/{2,3,4}
directories (direct approach)pytest
as in the tests insli2py_mpi
(indirect approach)Direct approach
test_issue_3108.py
), the number of threads used can become large an execution slow. Correct errors in slicing of node collections #3132 provides rough filtering for this, but more fine-grained filtering (e.g. skip tests with more than 6 threads in total) could be useful.Indirect approach
mpirun -np N python test_...
and collects results from files afterwards.We should see if both approaches can be integrated, simplified and made more robust. Code from the following two projects may be useful to consider:
For selective test skipping/marking, material from the following page may be useful
The text was updated successfully, but these errors were encountered: