-
Notifications
You must be signed in to change notification settings - Fork 125
Build failure on Fedora 37 and Debian 12 in GitHub Actions #651
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
Comments
I don't see how this can be a problem in mpi4py. The only thing I can think off is that the builds are using the recent Cython 3.1, and the released mpi4py was never tested in that Cython version. Can you try |
I don't think it's Cython related, as the original CI uses version 3.0.12 (see for instance the logs of the original CI here).
Apparently that works (see this run)! Very curious that it happens only on specific versions of Fedora and Debian though. In any case, feel free to close this as there is a workaround for the issue. |
We hit (probably) the same issue regarding OOM while building in a Debian 12 docker container ( We could solve this by either
My guess is that the C compiler attempts to perform complex optimizations that gcc 12 can only solve using enormous amounts of memory. |
The specific versions of GCC's optimizer are most likely running out of memory when building mpi4py in the CI, see discussion in mpi4py/mpi4py#651.
We've recently been experiencing build failures for mpi4py on Fedora 37 and Debian 12 when using GitHub Actions containers. I am actually not sure if this is an issue with limited resources on GitHub Actions (since the issue appears to be OOM-related), or a problem with mpi4py.
The run in question can be found at: https://github.com/neuronsimulator/nrn-build-ci/actions/runs/15250855499
Since the logs are ephemeral, I am attaching them here.
The traceback on Fedora is:
while on Debian it is:
The version of mpi4py affected is 4.0.3, though I have not tried using others. The workflow and the scripts used for running the workflow can be found here (I tried to cut down on the noise to provide an MWE).
The text was updated successfully, but these errors were encountered: