Thanks, Jose, Works fine.
Thanks, Fande, On Thu, Mar 22, 2018 at 2:43 AM, Jose E. Roman <jro...@dsic.upv.es> wrote: > Fixed > https://bitbucket.org/slepc/slepc/commits/464bcc967aa18470486aba71868e0a > e158c3fe49 > > > > El 22 mar 2018, a las 3:23, Satish Balay <ba...@mcs.anl.gov> escribió: > > > > The primary change is - DESTDIR in petscvariables is replaced with > PREFIXDIR > > > > i.e: > > > > diff --git a/config/packages/petsc.py b/config/packages/petsc.py > > index e89779e15..f2577e4c6 100644 > > --- a/config/packages/petsc.py > > +++ b/config/packages/petsc.py > > @@ -90,8 +90,8 @@ class PETSc(package.Package): > > self.precision = v > > elif k == 'MAKE': > > self.make = v > > - elif k == 'DESTDIR': > > + elif k == 'PREFIXDIR': > > self.destdir = v > > elif k == 'BFORT': > > self.bfort = v > > elif k == 'TEST_RUNS': > > > > But then 'self.destdir' should be replaced by a more appropriate name > > 'self.prefixdir' [and update its usage from other source files] > > > > Satish > > > > > > On Thu, 22 Mar 2018, Jed Brown wrote: > > > >> Yes, DESTDIR is something that is only used during "make install". If > >> you had a prefix install of PETSc, it should get PETSC_DIR (set to that > >> prefix) and empty PETSC_ARCH. > >> > >> "Kong, Fande" <fande.k...@inl.gov> writes: > >> > >>> Hi All, > >>> > >>> ~/projects/slepc]> PETSC_ARCH=arch-darwin-c-debug-master ./configure > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> *Checking environment...Traceback (most recent call last): File > >>> "./configure", line 10, in <module> > >>> execfile(os.path.join(os.path.dirname(__file__), 'config', > >>> 'configure.py')) File "./config/configure.py", line 206, in <module> > >>> log.write('PETSc install directory: '+petsc.destdir)AttributeError: > PETSc > >>> instance has no attribute 'destdir'* > >>> > >>> > >>> > >>> SLEPc may be needed to synchronized for new changes in PETSc. > >>> > >>> Thanks, > >>> > >>> Fande Kong > >> > > > >