Re: [petsc-users] slepc-master does not configure correctly
Thanks, Jose, Works fine. Thanks, Fande, On Thu, Mar 22, 2018 at 2:43 AM, Jose E. Roman wrote: > Fixed > https://bitbucket.org/slepc/slepc/commits/464bcc967aa18470486aba71868e0a > e158c3fe49 > > > > El 22 mar 2018, a las 3:23, Satish Balay 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" 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 > >>> execfile(os.path.join(os.path.dirname(__file__), 'config', > >>> 'configure.py')) File "./config/configure.py", line 206, in > >>> 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 > >> > > > >
Re: [petsc-users] slepc-master does not configure correctly
Fixed https://bitbucket.org/slepc/slepc/commits/464bcc967aa18470486aba71868e0ae158c3fe49 > El 22 mar 2018, a las 3:23, Satish Balay 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" 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 >>> execfile(os.path.join(os.path.dirname(__file__), 'config', >>> 'configure.py')) File "./config/configure.py", line 206, in >>> 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 >> >
Re: [petsc-users] slepc-master does not configure correctly
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" 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 > > execfile(os.path.join(os.path.dirname(__file__), 'config', > > 'configure.py')) File "./config/configure.py", line 206, in > > 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 >
Re: [petsc-users] slepc-master does not configure correctly
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" 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 > execfile(os.path.join(os.path.dirname(__file__), 'config', > 'configure.py')) File "./config/configure.py", line 206, in > 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
[petsc-users] slepc-master does not configure correctly
Hi All, ~/projects/slepc]> PETSC_ARCH=arch-darwin-c-debug-master ./configure *Checking environment...Traceback (most recent call last): File "./configure", line 10, in execfile(os.path.join(os.path.dirname(__file__), 'config', 'configure.py')) File "./config/configure.py", line 206, in 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