You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mpi4py in a Github runner seems to have stopped being able to allocate multiple threads. We have tests that need exactly 4 threads to pass and mpi4py from setup-mpi seems to have stopped allocating anything other then 1, even tho it will still execute a given script n times. For an example I am attaching a runner script, a sample mpi4py test, the incorrect, and the expected outputs.
Hello, World! I am process 0 of 1 on fv-az1308-741.
Hello, World! I am process 0 of 1 on fv-az1308-741.
Hello, World! I am process 0 of 1 on fv-az1308-741.
Hello, World! I am process 0 of 1 on fv-az1308-741.
1
1
1
1
The expected output (commands run on a local machine configured with mpi4py)
Hello, World! I am process 0 of 4 on
Hello, World! I am process 1 of 4 on
Hello, World! I am process 2 of 4 on
Hello, World! I am process 3 of 4 on
4
4
4
4
The text was updated successfully, but these errors were encountered:
There is nothing I can do about it. The root issue is the broken MPICH package in Ubuntu 24.04, six month after and the issue is still unresolved. IIRC, the required fix is available in 24.10, but it has not been backported to the 24.04 LTS release. This issue effectively renders MPICH unusable on Ubuntu 22.04.
cf. https://bugs.launchpad.net/ubuntu/+source/mpich/+bug/2072338
The only thing you can do for the time being is replacing ubuntu-latest -> ubuntu-22.04 in your workflow file.
mpi4py in a Github runner seems to have stopped being able to allocate multiple threads. We have tests that need exactly 4 threads to pass and mpi4py from
setup-mpi
seems to have stopped allocating anything other then 1, even tho it will still execute a given scriptn
times. For an example I am attaching a runner script, a sample mpi4py test, the incorrect, and the expected outputs.For some more background see our issue tracking this problem
Thanks in advance!
mpi_error.yml
test_mpi.py
output when github runner CI is used
The expected output (commands run on a local machine configured with mpi4py)
The text was updated successfully, but these errors were encountered: