[petsc-users] MPI+OpenMP+MKL

Junchao Zhang junchao.zhang at gmail.com
Fri Apr 7 09:57:35 CDT 2023


> OpenMP threads are able to spawn MPI processes

I am curious why you have this usage.  Is it because that you want a pure
OpenMP code (i.e., not MPI capable) to call petsc?

--Junchao Zhang


On Fri, Apr 7, 2023 at 9:06 AM Astor Piaz <appiazzolla at gmail.com> wrote:

> Hello petsc-users,
> I am trying to use a code that is parallelized with a combination of
> OpenMP and MKL parallelisms, where OpenMP threads are able to spawn MPI
> processes.
> I have carefully scheduled the processes such that the right amount is
> launched, at the right time.
> When trying to use my code inside a MatShell (for later use in an FGMRES
> KSPSolver), MKL processes are not being used.
>
> I am sorry if this has been asked before.
> What configuration should I use in order to profit from MPI+OpenMP+MKL
> parallelism?
>
> Thank you!
> --
> Astor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230407/54e2bed1/attachment.html>


More information about the petsc-users mailing list