Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

SolverInterface with MPI.COMM_WORLD not working

オープン
#59 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
api, testing

調査の方向性

まず、mpi4py と MPI.COMM_WORLD を使って、示されている SolverInterface の呼び出しを再現します。次に、リンク先のテストにある test/test_bindings_module.pyx を調べ、モックされた preCICE のバージョンによって失敗が隠されることなく binding を実行する方法を確認します。MPI ケースで segfault が発生しなくなり、テストがリグレッションを検出できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug

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 はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

precice/python-bindings のほかの issue

precice/python-bindings の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。