[petsc-users] Is OpenMP still available for PETSc?

Lawrence Mitchell lawrence.mitchell at imperial.ac.uk
Mon Jul 3 09:25:39 CDT 2017


> On 3 Jul 2017, at 15:23, Damian Kaliszan <damian at man.poznan.pl> wrote:
> 
> Hi,
> 
> 
>>> 1) You can call Bcast on PETSC_COMM_WORLD
> 
> To  be  honest  I  can't find Bcast method in petsc4py.PETSc.Comm (I'm
> using petsc4py)

Use PETSc.COMM_WORLD.tompi4py() to get an mpi4py communicator that supports all the things you want.

Lawrence


More information about the petsc-users mailing list