[petsc-users] Pardiso in PETSc

Matthew Knepley knepley at gmail.com
Wed Mar 2 16:17:08 CST 2016


On Wed, Mar 2, 2016 at 4:09 PM, Vasileios Kalantzis <kalan019 at umn.edu>
wrote:

> Hi everyone,
>
> I have read some previous posts on combining PARDISO
> with PETSc but still I am not sure on how to combine the
> two libraries. So I thought of asking what is the best approach.
> I tried to separately install PARDISO and use it in my PETSc
> program but the compiling could not complete because of
> the openmp flags that I pass (at least that is my understanding).
>

If there is a problem, you have to mail or we do not know what happened.


> Should I try to find a workaround for the above problem or
> there is a simpler way? I have MKL installed in my system
> and re-configured with --with-mkl-pardiso-dir="$MKLROOT"
> where MKLROOT is MKL's installation directory.
>
> Any possible hint is much appreciated!
>

If you configured with it, then you can just use

  -pc_factor_mat_solver_package mkl_pardiso -pc_type lu

  Thanks,

     Matt

-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160302/ee16e68a/attachment.html>


More information about the petsc-users mailing list