<div dir="ltr"><div>from <a href="https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Hosts-and-Cross_002dCompilation.html">https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Hosts-and-Cross_002dCompilation.html</a></div><div><div>....</div><div>Now, configure enters cross-compilation mode if and only if --host is passed.<br></div><div>....</div><div><br></div><div>So, you just tell configure that the host where you are going to run the code is different from the building CPU, but you do not specify a string associated with it, which should be fine</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-10-10 16:53 GMT+03:00 Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">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></span><div>I do not understand this option either. Jed, what does it do?</div><div><br></div><div> Matt</div><div><div class="h5"><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/pa<wbr>ckages/hypre.py<br>
> b/config/BuildSystem/config/pa<wbr>ckages/hypre.py<br>
> index e374532..3c607c9 100644<br>
> --- a/config/BuildSystem/config/pa<wbr>ckages/hypre.py<br>
> +++ b/config/BuildSystem/config/pa<wbr>ckages/hypre.py<br>
> @@ -49,6 +49,9 @@ class Configure(config.package.GNUPa<wbr>ckage):<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(self<wbr>.blasLapack.dlib)+'"')<br>
> args.append('--with-lapack-lib<wbr>=" "')<br>
><br>
><br>
><br>
<br>
</blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_8352871741637248271gmail_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/~<wbr>knepley/</a><br></div></div></div></div></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Stefano</div>
</div>