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