[petsc-users] LINEAR SOLVER

Matthew Knepley knepley at gmail.com
Fri Aug 24 06:59:45 CDT 2018


On Fri, Aug 24, 2018 at 5:48 AM Savneet Kaur <Savneet.KAUR at cea.fr> wrote:

> Hello,
>
> I am having a small trouble with PETSC.
>
> I am trying to use linear solver methods: LU and CHOLESKY but unable to
> run the code. The error message which I am getting is  "See
> http://www.mcs.anl.gov/petsc/documentation/linearsolvertable.html for
> possible LU and Cholesky solvers
> [0]PETSC ERROR: Could not locate a solver package. Perhaps you must
> ./configure with --download-<package>
> [0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html
> for trouble shooting."
>
> Please do not truncate the error message. Send all output.

In order to use some other package, like MUMPS, you need

  *-pc_factor_mat_solver_type mumps*

> But while installing the PETSC, I am using this command line for the
> configuration *"./configure --with-cc=mpicc --with-fc=mpif90
> --with-cxx=mpicxx --download-scalapack --download-mumps --download-hypre
> --download-parmetis --download-metis" .. *which should eventually install
> LU and cholesky packages as i am calling them to configure it using MUMPS
> package.
>
>
> And my second question would be, I want to install the non debug version
> of the PETSC and SLEPC. If you can help me in that?
>
> Infact, I even tried configruing with *"--with-debugging=0". *But it did
> not changed anything.
>
> Perhaps you misspelled it. Please send configure.log for this build.

  Thanks,

     Matt

> Looking forward for your response.
>
>
> Thanks in advance.
>
> Regards,
>
> Savneet kaur
>


-- 
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.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180824/2682392b/attachment-0001.html>


More information about the petsc-users mailing list