[petsc-users] How to disable debugging mode?

Matthew Knepley knepley at gmail.com
Fri Dec 15 05:35:38 CST 2017


On Fri, Dec 15, 2017 at 3:41 AM, Edoardo alinovi <edoardo.alinovi at gmail.com>
wrote:

> Dear users,
>
> I would like to disable the debugging mode in petsc and turn it on when
> needed.
>
> my actual configure is:
>
>
> --prefix=/home/edo/software/petsc_3.8.1/ --with-mpi-dir=/home/edo/software/openMPI-3.0/
> &
> --download-fblaslapack=1 --download-superlu_dist --download-mumps  &
> --download-hypre --download-metis --download-parmetis --download-scalapack
>
>
> Have I only to add the flag "--with-debugging=no" to the above lines and
> re-run the configure script?
>

Yes.


> Have I to substitute "--download-libname" with --with-libname-lib=<lib>
> for each external library?
>

No.


> Sorry for the dummy question, but I really do not want to mess up the
> current working install :)
>

You do not have to. Rerun the configure like this:

  $PETSC_DIR/$PETSC_ARCH/lib/petsc/conf/reconfgiure-$PETSC_ARCH.py
--with-debugging=0 --PETSC_ARCH=arch-opt

  Thanks,

     Matt


> Thak you very much,
>
> Edoardo
>



-- 
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/20171215/48f9bba3/attachment.html>


More information about the petsc-users mailing list