[petsc-users] Pardiso in PETSc

Satish Balay balay at mcs.anl.gov
Wed Mar 2 16:21:21 CST 2016


You can check config/examples/arch-pardiso.py on how we build petsc with pardiso.

And run targerts runex2_mkl_pardiso_lu runex2_mkl_pardiso_cholesky in
ksp/ksp/examples/tutorials/makefile

Satish

On Wed, 2 Mar 2016, Matthew Knepley wrote:

> 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
> 
> 



More information about the petsc-users mailing list