PLaplacianTests fail with Julia 1.7.3
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- julia
調査の方向性
test/PLaplacianTests.jl の11〜13行目付近から始め、Julia 1.7.3 で失敗を再現してから、Julia 1.9.3 での成功した実行と比較します。参照されているコミットを含め、一覧にある互換性および PartitionedArrays.jl のオプションを確認し、PLaplacianTests を再実行して選択した修正を確認します。
索引モデルが issue の本文から書いたものです。
説明
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?
- 主要言語
- Julia
- スター
- 150
- フォーク
- 28
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
gridap/GridapDistributed.jl のほかの issue
-
A generic method of the abstract type DistributedDiscreteModel{Dc,Dp} directly accesses to a field name .face_gids再び着手できるかも @amartinhuertas が 123 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
gridap/GridapDistributed.jl#211 · 担当者 1 名 ·
-
Automatically add ghost cells to triangulation whenever a CellField is created out of a DistributedTriangulation再び着手できるかも @JordiManyer が 156 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
gridap/GridapDistributed.jl#209 · 担当者 2 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
gridap/GridapDistributed.jl#189 · コメント 1 件 ·
-
Issue with DG-SIP and FullyAssembledRows再び着手できるかも @amartinhuertas が 361 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
gridap/GridapDistributed.jl#186 · コメント 20 件 · 担当者 1 名 ·
-
Potential issue when interpolating DistributedCelllFields that are only defined on own cells再び着手できるかも @JordiManyer が 376 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
gridap/GridapDistributed.jl#184 · コメント 1 件 · 担当者 2 名 ·
gridap/GridapDistributed.jl の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
MagneticResonanceImaging/MRIReco.jl#332 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
chalk-lab/Mooncake.jl#1423 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 70/100
WaterLily-jl/WaterLily.jl#376 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
JuliaData/XLSX.jl#484 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信