[petsc-dev] download problem p4est on Cori at NERSC
Tobin Isaac
tisaac at uchicago.edu
Wed Feb 15 20:58:15 CST 2017
On Wed, Feb 15, 2017 at 03:46:31PM -0600, 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/cburstedde/p4est']
> + self.download = ['git://https://github.com/cburstedde/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, the tarballs for tagged commits that github generates are not
appropriate: here is a link to the tarball to be used in the event
that git is unavailable:
https://github.com/p4est/p4est.github.io/blob/master/release/p4est-2.0.tar.gz
The "bootstrap" step is only called if `configure` isn't present,
which it should be in the tarball.
Cheers,
Toby
>
> 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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20170215/26060c51/attachment.sig>
More information about the petsc-dev
mailing list