[petsc-users] best way to have debug/without-debug builds side by side in petsc-dev
Satish Balay
balay at mcs.anl.gov
Thu Feb 21 13:10:06 CST 2013
On Thu, 21 Feb 2013, Geoffrey Irving 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.
Perhaps you have PETSC_ARCH set in env. If so - configure picks it up.
Satish
>
> Thanks,
> Geoffrey
>
More information about the petsc-users
mailing list