<div dir="ltr">Thank you Satish for your kind help :)</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 28, 2018 at 8:51 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I guess you would have to switch to AIJ format for superlu_dist.<br>
<br>
[superlu_dist internally has its own format - so there is a conversion there anyway]<br>
<span class="HOEnZb"><font color="#888888"><br>
Satish<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Mon, 28 May 2018, Najeeb Ahmad wrote:<br>
<br>
> Thanks a lot Satish for your prompt reply.<br>
> <br>
> I just checked that SuperLU_dist package works only for matrices of type<br>
> aij. and uses lu preconditioner. I am currently working with baij matrix.<br>
> What is the best preconditioner choice for baij matrices on parallel<br>
> machines?<br>
> <br>
> Thanks<br>
> <br>
> On Mon, May 28, 2018 at 8:23 PM, Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br>
> <br>
> > On Mon, 28 May 2018, Najeeb Ahmad wrote:<br>
> ><br>
> > > Hi All,<br>
> > ><br>
> > > I have Petsc release version 3.9.2 configured with the following options:<br>
> > ><br>
> > > Configure options --with-cc=mpiicc --with-cxx=mpiicpc --with-fc=mpiifort<br>
> > > --download-fblaslapack=1<br>
> > ><br>
> > > Now I want to use PCILU in my code and when I set the PC type to PCILU in<br>
> > > the code, I get the following error:<br>
> > ><br>
> > > [0]PETSC ERROR: --------------------- Error Message<br>
> > > ------------------------------<wbr>------------------------------<wbr>--<br>
> > > [0]PETSC ERROR: See<br>
> > > <a href="http://www.mcs.anl.gov/petsc/documentation/linearsolvertable.html" rel="noreferrer" target="_blank">http://www.mcs.anl.gov/petsc/<wbr>documentation/<wbr>linearsolvertable.html</a> for<br>
> > > possible LU and Cholesky solvers<br>
> > > [0]PETSC ERROR: Could not locate a solver package. Perhaps you must<br>
> > > ./configure with --download-<package><br>
> > > [0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" rel="noreferrer" target="_blank">http://www.mcs.anl.gov/petsc/<wbr>documentation/faq.html</a><br>
> > for<br>
> > > trouble shooting.<br>
> > > [0]PETSC ERROR: Petsc Release Version 3.9.2, unknown<br>
> > > [0]PETSC ERROR: ./main on a arch-linux2-c-debug named Karachi by nahmad<br>
> > Mon<br>
> > > May 28 17:52:41 2018<br>
> > > [0]PETSC ERROR: Configure options --with-cc=mpiicc --with-cxx=mpiicpc<br>
> > > --with-fc=mpiifort --download-fblaslapack=1<br>
> > > [0]PETSC ERROR: #1 MatGetFactor() line 4318 in<br>
> > > /home/nahmad/PETSc/petsc/src/<wbr>mat/interface/matrix.c<br>
> > > [0]PETSC ERROR: #2 PCSetUp_ILU() line 142 in<br>
> > > /home/nahmad/PETSc/petsc/src/<wbr>ksp/pc/impls/factor/ilu/ilu.c<br>
> > > [0]PETSC ERROR: #3 PCSetUp() line 923 in<br>
> > > /home/nahmad/PETSc/petsc/src/<wbr>ksp/pc/interface/precon.c<br>
> > > [0]PETSC ERROR: #4 KSPSetUp() line 381 in<br>
> > > /home/nahmad/PETSc/petsc/src/<wbr>ksp/ksp/interface/itfunc.c<br>
> > > [0]PETSC ERROR: #5 KSPSolve() line 612 in<br>
> > > /home/nahmad/PETSc/petsc/src/<wbr>ksp/ksp/interface/itfunc.c<br>
> > > [0]PETSC ERROR: #6 SolveSystem() line 60 in<br>
> > > /home/nahmad/Aramco/petsc/<wbr>petsc/BlockSolveTest/src/main.<wbr>c<br>
> > ><br>
> > ><br>
> > > I assume that I am missing LU package like SuperLU_dist for instance and<br>
> > I<br>
> > > need to download and configure it with Petsc.<br>
> ><br>
> > yes - petsc has sequential LU - but you need superlu_dist/mumps for<br>
> > parallel lu.<br>
> ><br>
> > ><br>
> > > I am wondering what is the best way to reconfigure Petsc to download and<br>
> > > use the appropriate package to support PCILU?<br>
> ><br>
> > Rerun configure with the additional option --download-superlu_dist=1.<br>
> ><br>
> > You can do this with current PETSC_ARCH you are using [i.e reinstall<br>
> > over the current build] - or use a different PETSC_ARCH - so both<br>
> > builds exist and useable.<br>
> ><br>
> > Satish<br>
> ><br>
> > ><br>
> > > You advice is highly appreciated.<br>
> > ><br>
> > ><br>
> ><br>
> ><br>
> <br>
> <br>
> <br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div></div><font size="2"><b><span style="color:rgb(7,55,99)"><i>Najeeb Ahmad</i></span></b></font></div><div><font size="2"><b><font color="#073763"><i><br></i></font></b></font><div dir="ltr" style="font-size:small"><div><font size="2"><b><span style="color:rgb(120,63,4)">Research and Teaching Assistant</span><br></b></font></div><div><font size="2"><b><font color="#000000">PARallel and MultiCORE Computing Laboratory (ParCoreLab)</font><span style="color:rgb(120,63,4)"> </span></b></font></div><font size="2"><b>Computer Science and Engineering<br></b></font></div><div style="font-size:small"><font size="2"><b>Koç University, Istanbul, Turkey</b></font></div></div></div></div><div><font size="2"><b><br></b></font></div></div></div></div></div></div></div></div>
</div>