Closed e-moral-sanchez closed 3 months ago
The macOS runner now uses macOS 14 which uses the new Apple M1 silicon: https://github.com/orgs/community/discussions/102846
As a workaround, I'd suggest to change macos-latest
to macos-12
in this file:
I think Psydac support for macOS 14 is a new feature and could be addressed in a separate PR.
Thanks for the hint @kvrigor ! I tried it but the tests fail when printing the information about the MPI library. Do you know how to fix this?
My bad; I checked again and discovered that we've been using macOS-14
all along, but not exactly the same version. The last working macOS run was using macOS-14.4.1
And the failing one was using macOS-14.5
:
This means we can't downgrade and thus we have to implement a workaround for the error introduced in macOS-14.5
. I will experiment on this and share the bugfix once I find one.
@kvrigor Could you please add a couple of lines to the PR description and explain the changes to file psydac/api/settings.py
?
@kvrigor Could you please add a couple of lines to the PR description and explain the changes to file
psydac/api/settings.py
?
Not necessary anymore, as those changes were added to devel
in a separate PR, #421.
Implement a new conversion to PETSc which reduces the communication in the assembly to almost none. The converted
PETSc.Vec
andPETSc.Mat
objects locally contain the same coefficients as the localStencilVector
orStencilMatrix
/BlockLinearOperator
. This is done with an index conversion function which maps the Psydac natural multi-index to the PETSc global index.A pyccelizable kernel for computing the I,J,V format of PETSc has been added.
The conversion is not implemented for:
BlockVector
with at least a block that is not aStencilVector
.BlockLinearOperator
with at least a block that is not aStencilMatrix
.LinearOperator
s.