firedrake-configure options for Ubuntu 2026.04#5085
Conversation
|
Basically every package should be new enough for PETSc to use, we have started the migration to PETSc 3.25 in Debian unstable and we didn't need to update any package (except PETSc itself). If there are some packages that PETSc complains about, please let me know. |
connorjward
left a comment
There was a problem hiding this comment.
Thanks!
Unfortunately looks like it is hitting errors. I wonder if the GitHub actions runner version of Ubuntu 26.04 has slightly different libraries than the Dockerhub one.
|
Can you do the GPU change at the same time? Should be identical work |
We would be very happy if this could be PETSc policy to support latest apt packages across the board. The only package that we need that didn't work from apt with Ubuntu2024.04 was hypre, the version was slightly too old for the latest PETSc. We don't use the apt PETSc, so hopefully we won't need to start manually build things we can currently use |
I was going to do that once the regular ones are working |
…now community arch
|
I wonder if the errors are due to unsafely compiling pygraphviz. Let's drop it as a dependency for now and see what happens. If it's not that then this could be a whole can of worms. |
We found out that -O3 was leading to garbage values in tricky interpolation kernels with GCC 15 on both Ubuntu 26.04 and Arch. This will allow us to support Ubuntu 26.04.
…rake-configure-ubuntu2604
We found out that -O3 was leading to garbage values in tricky interpolation kernels with GCC 15 on both Ubuntu 26.04 and Arch. This will allow us to support Ubuntu 26.04.
…rake-configure-ubuntu2604
…lins/firedrake-configure-ubuntu2604
|
As far as I can tell the cursed combination of CUDA, Ubuntu 26.04 and GCC 15 is not yet compatible. I think we have to keep the GPU CI running on 24.04 for the moment. I will investigate the errors with the default and complex builds. |
JHopeCollins
left a comment
There was a problem hiding this comment.
Looks good to me, thanks for taking this on and finishing it up!
PETSc can't find the apt PTScotch package on it's own any more so we need to set the linking flags in the PETSc configure arguments.
Hypre apt package is now new enough for PETSc to use so we don't have to build from source.
Ubuntu26.04 uses gcc15 which seems to result in some problems in interpolation kernels for complicated elements, so we default to
-O2for this compiler, and-O1on CI.CUDA packages are not ready yet for Ubuntu26.04 so we don't provide an
Archfor that combination yet.The Ubuntu24.04 arches are now
CommunityArchso they are still available to people but we will no longer test them.