Hi @JordiManyer, we are having an error when precompiling with julia@1.11. It is complaining about the function num_fields beign overwritten:
GridapSolvers → IterativeSolversExt
│ WARNING: Method definition num_fields(GridapDistributed.DistributedFESpace) in module GridapDistributed at /home/pmanyerfuertes/.julia/packages/GridapDistributed/raCar/src/MultiField.jl:95 overwritten in module BlockSolvers at /home/pmanyerfuertes/.julia/packages/GridapSolvers/gwyZl/src/BlockSolvers/StaggeredFEOperators.jl:27.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.
Commenting out this line
|
MultiField.num_fields(space::DistributedFESpace) = 1 |
works.
Is this line there for a specific reason?
Hi @JordiManyer, we are having an error when precompiling with julia@1.11. It is complaining about the function
num_fieldsbeign overwritten:Commenting out this line
GridapSolvers.jl/src/BlockSolvers/StaggeredFEOperators.jl
Line 27 in a163a1e
Is this line there for a specific reason?