Repository navigation
pyop3 compatibility - #472
connorjward wants to merge 13 commits into
Conversation
* Convert all parloops to pyop3 ones * Remove other refs to pyop2 Tests are now failing with a numerics error. Detailed debugging needed.
|
Many thanks Connor, this is extremely helpful. Happy to merge this when it passes the smoke tests and then we'll see what other tests need fixing |
|
Mostly passing but with some failures, including one that looks quite complicated. I can have a hack around on this soon-ish. |
This has exposed a bug in Firedrake that will be fixed ASAP.
|
It is merged. Hopefully final fixups are done. |
|
I have found one more fix to do. An important thing to flag: CI is now substantially slower than before. This has also been the experience in the main Firedrake repository. We are working on a number of performance fixes with the help of the G-ADOPT team, but CI performance is always going to be slower because pyop3 is more complicated than PyOP2. In principle these differences should only be setup costs, and hence amortize with full-scale runs. That said, any help to improve performance is very welcome. |
|
@stephankramer @cpjordan very pleased to say that this is finally passing tests! |
stephankramer
left a comment
There was a problem hiding this comment.
Changes all make sense. CI time is still very reasonable, so I assume the increase is just one-off compile time indeed and negligible in production runs. Many thanks @connorjward , much appreciated!
The changes needed to get Thetis working with the latest Firedrake
main. The main change was adapting all of the PyOP2 parloops into pyop3 ones. The reason this all took so long was that I found a couple of bugs in Firedrake that needed fixing first.An important thing to flag: CI is now substantially slower than before. This has also been the experience in the main Firedrake repository. We are working on a number of performance fixes with the help of the G-ADOPT team, but CI performance is always going to be slower because pyop3 is more complicated than PyOP2. In principle these differences should only be setup costs, and hence amortize with full-scale runs. That said, any help to improve performance is very welcome.