[petsc-users] Hybrid MPI/OpenMP PETSc

Barry Smith bsmith at mcs.anl.gov
Wed Jul 1 15:24:33 CDT 2015


> On Jul 1, 2015, at 2:26 PM, W. Miah <wadud.miah at gmail.com> wrote:
> 
> Hello,
> 
> What is the status of hybrid PETSc (MPI/OpenMP)? Imperial College
> developed a hybrid port and was wondering whether this has been merged
> with the PETSc trunk.

   At the moment we don't have any support for mixed MPI/OpenMP.

   What do you need it for? Have you known cases where the performance would be much higher with mixed MPI/OpenMP? We've never seen fully open source software where mixed MPI/OpenMP performs much better (or even any better) than pure MPI.


> Also, is the
> MatSetValues subroutine thread safe, namely could it be called within
> an OpenMP thread region (not simd)?

   This will very likely never work.

  Barry

> 
> Best regards,
> Wadud.



More information about the petsc-users mailing list