Skip to content
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

Improve test coverage by unconditionally installing mpi4py #2827

Merged
merged 6 commits into from
Jun 14, 2023

Conversation

jougs
Copy link
Contributor

@jougs jougs commented Jun 13, 2023

Some background first: Importing mpi4py establishes an MPI context consisting of a bunch of environment variables. These variables confuse the MPI launcher detection detection mechanism in certain situations. As a workaround, dfcb7b1 made the installation of MPI4Py conditional on the use of MPI for the compilation of NEST.

This PR fixes the detection of MPI launcher contexts from within NEST by also checking the number of set MPI processes and undoes the conditional installation of MPI4Py to re-enable the full functionality of regressiontests/issue-1703.py (which was skipped with the conditional installation in place).

I think a single reviewer for sanity checking is sufficient for this PR.

@jougs jougs added S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation. I: Internal API Changes were introduced in basic internal workings of the simulator that developers need to know labels Jun 13, 2023
@jougs jougs requested a review from clinssen June 13, 2023 08:27
@jougs jougs added this to To do in Build system and CI via automation Jun 13, 2023
@jougs jougs self-assigned this Jun 13, 2023
@clinssen clinssen merged commit c7ccba5 into nest:master Jun 14, 2023
20 checks passed
Build system and CI automation moved this from To do to Done Jun 14, 2023
@jougs jougs deleted the separated-checks branch August 31, 2023 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: Internal API Changes were introduced in basic internal workings of the simulator that developers need to know S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation.
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants