A fix for this should be in master now.

Johan

On Mon, Nov 3, 2014 at 3:52 PM, Øyvind Evju <[email protected]> wrote:

> When petsc4py is installed, the mpi_comm_world-function returns a
> petsc4py.PETSc.Comm-object. I guess this is true for all MPI communicators.
> When writing an extension module using a MPI_Comm as argument, this fails.
>
> MWE:
>
>
>
>
>
>
> *from dolfin import *cpp_module="""void foo(MPI_Comm comm)
> {}"""compiled_module =
> compile_extension_module(cpp_module)compiled_module.foo(mpi_comm_world())*
>
> I guess this is related to this:
> https://bitbucket.org/fenics-project/dolfin/issue/195/petsc4py-applies-own-typemap-for-mpi_comm
>
> Any way to work with this?
>
>
> -Øyvind
>
>
> _______________________________________________
> fenics mailing list
> [email protected]
> http://fenicsproject.org/mailman/listinfo/fenics
>
>
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to