Skip to content

SolverInterface with MPI.COMM_WORLD not working #59

@BenjaminRodenberg

Description

@BenjaminRodenberg

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:

def test_constructor_custom_mpi_comm(self):
solver_interface = precice.Interface("test", "dummy.xml", 0, 1, MPI.COMM_WORLD)
self.assertTrue(True)

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions