[petsc-dev] download problem p4est on Cori at NERSC

Mark Adams mfadams at lbl.gov
Wed Feb 15 18:26:36 CST 2017


OK, that did not work. It says something about --host now.

On Wed, Feb 15, 2017 at 5:06 PM, Mark Adams <mfadams at lbl.gov> wrote:

> 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.
> Thanks,
>
> On Wed, Feb 15, 2017 at 4:59 PM, Satish Balay <balay at mcs.anl.gov> wrote:
>
>> Sorry - this won't work - as p4est appears to require git [submodules?]..
>>
>> >>>>>>>>>>>> p4est.py <<<<<<<<<<<<<
>>   def updateGitDir(self):
>>     config.package.GNUPackage.updateGitDir(self)
>>     Dir = self.getDir()
>>     try:
>>       libsc = self.libsc
>>     except AttributeError:
>>       try:
>>         self.executeShellCommand([self.sourceControl.git, 'submodule',
>> 'update', '--init'], cwd=Dir, log=self.log)
>>         import os
>>         if os.path.isfile(os.path.join(Dir,'sc','README')):
>>           self.libsc = os.path.join(Dir,'sc')
>>         else:
>>           raise RuntimeError
>>       except RuntimeError:
>>         raise RuntimeError('Could not initialize sc submodule needed by
>> p4est')
>>     return
>> <<<<<<
>>
>> Satish
>>
>> On Wed, 15 Feb 2017, Satish Balay wrote:
>>
>> > batch won't help here. its git vs tarball - and p4est curently doesn't
>> have a taball.
>> >
>> > The following should give you a tarball - if you don't have git.
>> >
>> > diff --git a/config/BuildSystem/config/packages/p4est.py
>> b/config/BuildSystem/config/packages/p4est.py
>> > index 4735ff4..1f9507c 100644
>> > --- a/config/BuildSystem/config/packages/p4est.py
>> > +++ b/config/BuildSystem/config/packages/p4est.py
>> > @@ -4,7 +4,7 @@ class Configure(config.package.GNUPackage):
>> >    def __init__(self, framework):
>> >      config.package.GNUPackage.__init__(self, framework)
>> >      self.gitcommit         = 'v2.0'
>> > -    self.download          = ['git://https://github.com/cbu
>> rstedde/p4est']
>> > +    self.download          = ['git://https://github.com/cbu
>> rstedde/p4est','https://github.com/cburstedde/p4est/archive/
>> '+self.gitcommit+'.tar.gz']
>> >      self.functions         = ['p4est_init']
>> >      self.includes          = ['p4est_bits.h']
>> >      self.liblist           = [['libp4est.a', 'libsc.a']]
>> >
>> > I  can push this to master.
>> >
>> > Satish
>> >
>> > On Wed, 15 Feb 2017, Mark Adams wrote:
>> >
>> > > Oh, this is because git does not work on KNL. Maybe I should do
>> > > with-batch=1,
>> > >
>> > >
>> > > On Wed, Feb 15, 2017 at 4:36 PM, Mark Adams <mfadams at lbl.gov> wrote:
>> > >
>> > > > I get this error on the KNL partition at NERSC.  P4est works on the
>> > > > Haswell partition and other downloads seem to work on the KNL
>> partition.
>> > > > Any ideas?
>> > > >
>> > >
>> >
>> >
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20170215/3b8c747f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 3414065 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20170215/3b8c747f/attachment.obj>


More information about the petsc-dev mailing list