[petsc-dev] download problem p4est on Cori at NERSC
Satish Balay
balay at mcs.anl.gov
Wed Feb 15 15:46:31 CST 2017
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
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?
> >
>
More information about the petsc-dev
mailing list