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

Compatibility with 20220411.0 #18

Merged
merged 4 commits into from
Apr 27, 2022

Conversation

jcallaham
Copy link
Contributor

Fixes for compatibility with the current Firedrake/PyOP2 versions - see #17.

Aside from the assembly_type kwarg, the rest of the call signature in firedrake.assemble looks the same to me, so I think just removing the kwarg works. That fixed 6/7 of the failed tests.

The other test failure (examples/cahn-hillard.py) is related to an updated interface to par_loop in PyOP2. I don't totally understand the changes to par_loop, but seems like a simple fix is to move the user_code to the kernel_kwargs dict. All the tests are now passing with my configuration.

@IvanYashchuk IvanYashchuk self-requested a review April 26, 2022 08:37
Copy link
Owner

@IvanYashchuk IvanYashchuk left a comment

Choose a reason for hiding this comment

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

Thank you!

@IvanYashchuk IvanYashchuk reopened this Apr 27, 2022
@IvanYashchuk IvanYashchuk merged commit a2a83dd into IvanYashchuk:master Apr 27, 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.

2 participants