GridapDistributed.jl
GridapDistributed.jl copied to clipboard
PLaplacianTests fail with Julia 1.7.3
The error is ERROR: Scalar indexing on DebugArray is not allowed for performance reasons. and it occurs at this line
With Julia 1.9.3 it runs sucessfully
The reason for this behavior is the change in the implementation of copy!(dst::AbstractVector, src::AbstractVector) which indexed dst directly in v1.7.3, see here, whereas it calls copyto! in v1.9.3, see here
Possible solutions I see:
- increase compat
- implement copy! for
DebugArrayandMPIArrayin PartitionedArrays.jl - eliminate this overload which is not required after the this commit to PartitionedArrays.jl (although the test will fail with previous releases). I verified that
copy(a::PSparseMatrix)andcopy!(b::PSparseMatrix,a::PSparseMatrix)work with latest PartitonedArrays.jl.
@fverdugo , @amartinhuertas , @JordiManyer any thoughts?