On Fri, Apr 7, 2023 at 10:06 AM Astor Piaz <appiazzo...@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? > You should configure using --with-threadsafety Thanks, Matt > Thank you! > -- > Astor > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>