[petsc-users] best way to have debug/without-debug builds side by side in petsc-dev
Jed Brown
jedbrown at mcs.anl.gov
Thu Feb 21 13:10:37 CST 2013
On Thu, Feb 21, 2013 at 1:06 PM, Geoffrey Irving <irving at naml.us> wrote:
> What's the standard way of having debug and non-debug builds side by
> side in an instance of petsc-dev? If I do
>
> ./configure --with-shared-libraries=1
> --PETSC_DIR=/Users/irving/otherlab/petsc --download-ml=yes
> --with-mpi-dir=/usr/local --with-debugging=0
>
> it defaults to PETSC_ARCH=darwin10.6.0-cxx-debug, which is the same
> PETSC_ARCH as for --with-debugging=1. I can manually change
> PETSC_ARCH, but it seems odd to have to do this.
>
I've always chosen my own PETSC_ARCHes (I have almost 50 of them at
present). I normally do
./configure PETSC_ARCH=foo --whatever-options
foo/conf/reconfigure-foo.py PETSC_ARCH=foo-opt --with-debugging=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130221/9f5eeef8/attachment.html>
More information about the petsc-users
mailing list