<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Oct 10, 2017 at 9:48 AM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I never understood --host option of autoconf - and it would rarely<br>
work for me.<br></blockquote><div><br></div><div>I do not understand this option either. Jed, what does it do?</div><div><br></div><div>  Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
For packages where '--with-batch --download-package' did not work -<br>
our suggstion so far was to install them manually.<br>
<br>
I'm hesitant to add this patch [it might work on one setup - but not<br>
the other?] - but Matt/Jed might have better suggestions.<br>
<br>
cc:ing petsc-dev<br>
<br>
Satish<br>
<br>
On Tue, 10 Oct 2017, Stefano Zampini wrote:<br>
<br>
> Satish,<br>
><br>
> today I had some problems installing PETSc with --download-hypre in batched<br>
> mode. Here is my fix<br>
><br>
> diff --git a/config/BuildSystem/config/<wbr>packages/hypre.py<br>
> b/config/BuildSystem/config/<wbr>packages/hypre.py<br>
> index e374532..3c607c9 100644<br>
> --- a/config/BuildSystem/config/<wbr>packages/hypre.py<br>
> +++ b/config/BuildSystem/config/<wbr>packages/hypre.py<br>
> @@ -49,6 +49,9 @@ class Configure(config.package.<wbr>GNUPackage):<br>
>      libs = ' '.join(libs)<br>
>      args.append('--with-MPI-libs="<wbr>'+libs+'"')<br>
><br>
> +    if self.argDB['with-batch']:<br>
> +      args.append('--host')<br>
> +<br>
>      # tell hypre configure not to look for blas/lapack [and not use<br>
> hypre-internal blas]<br>
><br>
>  args.append('--with-blas-lib="<wbr>'+self.libraries.toString(<wbr>self.blasLapack.dlib)+'"')<br>
>      args.append('--with-lapack-<wbr>lib=" "')<br>
><br>
><br>
><br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.caam.rice.edu/~mk51/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div>
</div></div>