You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 DebugArray and MPIArray in 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) and copy!(b::PSparseMatrix,a::PSparseMatrix) work with latest PartitonedArrays.jl.
The error is
ERROR: Scalar indexing on DebugArray is not allowed for performance reasons.
and it occurs at this lineWith 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 indexeddst
directly in v1.7.3, see here, whereas it callscopyto!
in v1.9.3, see herePossible solutions I see:
DebugArray
andMPIArray
in PartitionedArrays.jlcopy(a::PSparseMatrix)
andcopy!(b::PSparseMatrix,a::PSparseMatrix)
work with latest PartitonedArrays.jl.@fverdugo , @amartinhuertas , @JordiManyer any thoughts?
The text was updated successfully, but these errors were encountered: