Generally its good to tell configure what to do [instead of it guessing]. In this case that would mean specifying PETSC_ARCH as an option to configure.
Satish On Thu, 21 Feb 2013, Geoffrey Irving wrote: > Yep, that was the problem. Thanks, and apologies for the noise. > > Geoffrey > > On Thu, Feb 21, 2013 at 11:10 AM, Satish Balay <balay at mcs.anl.gov> wrote: > > 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 > >> > > >
