[petsc-users] LINEAR SOLVER

Qiyue Lu qiyuelu1 at gmail.com
Sun May 5 10:22:12 CDT 2019


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


More information about the petsc-users mailing list