-
-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial MPI unit tests implementation #418
Conversation
Co-authored-by: Bruno Maugars <[email protected]>
Please feel free to refactor / criticize the development. Some points to note :
|
Ah yes : the tests are failing because the new MPI test build requires, logically, the MPI package, which seems to not be present by default on the CI machine. I guess there is three possible correction to this problem:
|
I'll try to review this whenever possible |
Awesome feature, looking forward to this! Regarding the Github CI you could install OpenMPI on the fly like I do here |
The MPI package has been made optionnal for regular tests. The solution of @philbucher allows to have mpi, but then the mpi test fails because the doctest test executable must be launched with "mpirun -np 3", and we don't know how to do it. But I think @onqtam will be able to fix it easily. Anyway, rather than failing the CI because of this missing "mpirun -np 3", the openmpi installation in the ci file are there but commented out |
from my experience running (Open)MPI in the CI:
|
I should mention that I definitely haven't forgotten about this - I'll be leaving my company pretty soon and will devote some time to doctest by the end of this month. |
Ok take your time ;) If it can help, we could set up a quick video call to present the why, how and what remains to be done. |
…I_Comm_create_group
Sorry for the late reply. I merged it last week and just pushed a few small fixes - I played with it a bit locally and overall it looks good. I won't be messing with the TODO roadmap and have not tried to get openmpi installed on the CI but I did fix up a bit the There's 1 other suggestion I have in mind: perhaps we should embed Thanks again for the contribution - future responses will be swifter! |
Great! Thanks for the merge and the |
Description
Adds an mpi extension for testing mpi-distributed unit tests
GitHub Issues
Implements the feature described in #413