SolverInterface with MPI.COMM_WORLD not working
还没有人认领这个 Issue。
评估
调研方向
首先使用 mpi4py 和 MPI.COMM_WORLD 重现所示的 SolverInterface 调用。然后检查链接测试中的 test/test_bindings_module.pyx,并确定如何执行该 binding,而不会让被 mock 的 preCICE 版本掩盖故障。完成标准是 MPI 场景不再发生 segfault,并且测试能够检测回归。
由索引模型根据 Issue 内容生成。
描述
I just tried to run the following script:
import precice
from mpi4py import MPI
solver_interface = precice.Interface("SolverOne", "precice-config.xml", 0, 1, MPI.COMM_WORLD)
It unfortunately resulted in a segmentation fault.
Note that we actually have a test for this case:
https://github.com/precice/python-bindings/blob/8463bf1160a734f0de76fc53090f779a4a6cae5a/test/test_bindings_module.pyx#L21-L23
However, it is not actually testing what we want it to test. I assume this is due to the mocked up preCICE version that we use for testing hiding problems with MPI.
- 主要语言
- Cython
- 星标
- 30
- 派生
- 19
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
precice/python-bindings 的其他 Issue
-
documentation
难度 2/5 1-3 小时 新手友好度 68/100
precice/python-bindings#258 · 1 个 reaction ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
precice/python-bindings#175 · 2 条评论 ·
-
难度 5/5 一周以上 新手友好度 20/100
precice/python-bindings#255 ·
-
good first issue
难度 3/5 1-2 天 新手友好度 68/100
precice/python-bindings#248 ·
-
难度 3/5 1-2 天 新手友好度 38/100
precice/python-bindings#238 · 6 条评论 ·
查看 precice/python-bindings 的全部 Issue
相似的 Issue
-
Area: Excel support
难度 2/5 1-3 小时 新手友好度 75/100
orbeon/orbeon-forms#7893 ·
-
essnmx good first issue
难度 1/5 1 小时以内 新手友好度 95/100
-
难度 2/5 1-3 小时 新手友好度 75/100
yeti-platform/yeti#1380 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
modelcontextprotocol/python-sdk#3566 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
griptape-ai/griptape#2353 ·