<div dir="ltr">OK, that did not work. It says something about --host now.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 15, 2017 at 5:06 PM, Mark Adams <span dir="ltr"><<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I think this will work because I have git when I configure on a login node (Haswell). I build KNL by submitting a batch script (it takes to long to fit in 30 minutes of an interactive session). That fails because git is not available (can I just load the module ...) on a KNL compute node. It is reconfiguring now, I'll let you know if it fails.<div>Thanks,</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 15, 2017 at 4:59 PM, 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">Sorry - this won't work - as p4est appears to require git [submodules?]..<br>
<br>
>>>>>>>>>>>> p4est.py <<<<<<<<<<<<<<br>
def updateGitDir(self):<br>
config.package.GNUPackage.upda<wbr>teGitDir(self)<br>
Dir = self.getDir()<br>
try:<br>
libsc = self.libsc<br>
except AttributeError:<br>
try:<br>
self.executeShellCommand([self<wbr>.sourceControl.git, 'submodule', 'update', '--init'], cwd=Dir, log=self.log)<br>
import os<br>
if os.path.isfile(os.path.join(Di<wbr>r,'sc','README')):<br>
self.libsc = os.path.join(Dir,'sc')<br>
else:<br>
raise RuntimeError<br>
except RuntimeError:<br>
raise RuntimeError('Could not initialize sc submodule needed by p4est')<br>
return<br>
<<<<<<<br>
<span class="m_3251857033572646671HOEnZb"><font color="#888888"><br>
Satish<br>
</font></span><div class="m_3251857033572646671HOEnZb"><div class="m_3251857033572646671h5"><br>
On Wed, 15 Feb 2017, Satish Balay wrote:<br>
<br>
> batch won't help here. its git vs tarball - and p4est curently doesn't have a taball.<br>
><br>
> The following should give you a tarball - if you don't have git.<br>
><br>
> diff --git a/config/BuildSystem/config/pa<wbr>ckages/p4est.py b/config/BuildSystem/config/pa<wbr>ckages/p4est.py<br>
> index 4735ff4..1f9507c 100644<br>
> --- a/config/BuildSystem/config/pa<wbr>ckages/p4est.py<br>
> +++ b/config/BuildSystem/config/pa<wbr>ckages/p4est.py<br>
> @@ -4,7 +4,7 @@ class Configure(config.package.GNUPa<wbr>ckage):<br>
> def __init__(self, framework):<br>
> config.package.GNUPackage.__in<wbr>it__(self, framework)<br>
> self.gitcommit = 'v2.0'<br>
> - self.download = ['git://<a href="https://github.com/cburstedde/p4est" rel="noreferrer" target="_blank">https://github.com/cbu<wbr>rstedde/p4est</a>']<br>
> + self.download = ['git://<a href="https://github.com/cburstedde/p4est" rel="noreferrer" target="_blank">https://github.com/cbu<wbr>rstedde/p4est</a>','<a href="https://github.com/cburstedde/p4est/archive/'+self.gitcommit+'.tar.gz" rel="noreferrer" target="_blank">https://github<wbr>.com/cburstedde/p4est/archive/<wbr>'+self.gitcommit+'.tar.gz</a>']<br>
> self.functions = ['p4est_init']<br>
> self.includes = ['p4est_bits.h']<br>
> self.liblist = [['libp4est.a', 'libsc.a']]<br>
><br>
> I can push this to master.<br>
><br>
> Satish<br>
><br>
> On Wed, 15 Feb 2017, Mark Adams wrote:<br>
><br>
> > Oh, this is because git does not work on KNL. Maybe I should do<br>
> > with-batch=1,<br>
> ><br>
> ><br>
> > On Wed, Feb 15, 2017 at 4:36 PM, Mark Adams <<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>> wrote:<br>
> ><br>
> > > I get this error on the KNL partition at NERSC. P4est works on the<br>
> > > Haswell partition and other downloads seem to work on the KNL partition.<br>
> > > Any ideas?<br>
> > ><br>
> ><br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>