[petsc-users] Two variants of PETSc, debugging on and off
Luc Berger-Vergiat
lb2653 at columbia.edu
Fri Jan 23 17:32:20 CST 2015
Configure once with $PETSC_ARCH=arch-dbg, --with-debugging=1 and once
with $PETSC_ARCH=arch-opt, --with-debugging=0
Then you can switch environment variables approprately
Best,
Luc
On 01/23/2015 06:26 PM, Justin Chang wrote:
> Hi all,
>
> How do I make it so that I have two variants of PETSc on your machine,
> one --with-debugging=0 and the other --with-debugging=1. Because I
> find it cumbersome when I have to reconfigure each time I want to switch.
>
> I see that on the installation page there's a way to install two
> variants of petsc, one with gnu and the other with intel compilers, so
> I am wondering if I can do something similar for debugging.
>
> Thanks,
> Justin
More information about the petsc-users
mailing list