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

Define MPI_Session in cython files for compatibility with current mpi4py main branch #2375

Merged
merged 1 commit into from Mar 10, 2022
Merged

Conversation

francesco-ballarin
Copy link
Member

As of 12 days ago, mpi4py has a new define MPI_Session which must be added to firedrake/cython/mpi-compat.h to prevent a error: unknown type name ‘MPI_Session’ upon compiling (at least) firedrake/cython/dmcommon.c.

Also see the blame
https://github.com/mpi4py/mpi4py/blame/80c53a02c2f85c721c8c26b202a4ab0ed4ac02fc/src/mpi4py/include/mpi4py/mpi4py.h

Requires Unidata/netcdf4-python#1156
Tested in https://github.com/fem-on-colab/fem-on-colab/actions/runs/1937787901

@francesco-ballarin
Copy link
Member Author

francesco-ballarin commented Mar 8, 2022

The netcdf4-python PR has been merged upstream, so it should now be possible to start the tests on this branch. Apparently I cannot start the tests myself since "First-time contributors need a maintainer to approve running workflows" :)

@wence- wence- enabled auto-merge March 10, 2022 15:44
Copy link
Contributor

@wence- wence- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@wence- wence- merged commit b5f8219 into firedrakeproject:master Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants