[petsc-users] LINEAR SOLVER

Matthew Knepley knepley at gmail.com
Sun May 5 15:51:45 CDT 2019

On Sun, May 5, 2019 at 11:23 AM Qiyue Lu via petsc-users <
petsc-users at mcs.anl.gov> wrote:

> Hello, Savneet:
> For the --with-debugging=0 issue, maybe you can try add --COPTFLAGS="-O"
> --CXXOPTFLAGS="-O" --FOPTFLAGS="-O", because in version of 3.10.3, the
> default flags are "-g -O". If -g is there, --with-debugging=0 won't work.

1) This is not correct. If you have a problem with --with-debugging=0, then
send in the configure.log.

2) LU is supported by MUMPS. Send your configure.log and complete error
message when trying to use it.



> I tried this in my installation and it works.
> Thanks,
> Qiyue Lu
> On Fri, Aug 24, 2018 at 4: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."
>> 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.
>> 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.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190505/5f6ff6bc/attachment.html>

More information about the petsc-users mailing list