[petsc-dev] Error with --download-strumpack

Satish Balay balay at mcs.anl.gov
Tue Apr 24 16:04:38 CDT 2018


I have this change at:

https://bitbucket.org/petsc/petsc/pull-requests/945/strumpack-update-to-version-220/diff

Satish

On Tue, 24 Apr 2018, Satish Balay wrote:

> If upgrading petsc to strumpack-2.2.0 - you can do:
> 
> diff --git a/config/BuildSystem/config/packages/strumpack.py b/config/BuildSystem/config/packages/strumpack.py
> index e3d32666f0..62054b4fb5 100644
> --- a/config/BuildSystem/config/packages/strumpack.py
> +++ b/config/BuildSystem/config/packages/strumpack.py
> @@ -4,8 +4,9 @@ import os
>  class Configure(config.package.CMakePackage):
>    def __init__(self, framework):
>      config.package.CMakePackage.__init__(self, framework)
> -    self.gitcommit        = 'v2.1.0'
> -    self.download         = ['git://https://github.com/pghysels/STRUMPACK','http://portal.nersc.gov/project/sparse/strumpack/strumpack-2.1.0.tar.gz']
> +    self.gitcommit        = 'v2.2.0'
> +    self.download         = ['git://https://github.com/pghysels/STRUMPACK','https://github.com/pghysels/STRUMPACK/archive/'+self.gitcommit+'.tar.gz']
> +    self.downloaddirnames = ['STRUMPACK','strumpack']
>      self.functions        = ['STRUMPACK_init']
>      self.includes         = ['StrumpackSparseSolver.h']
>      self.liblist          = [['libstrumpack.a']]
> 
> 
> Satish
> 
> On Tue, 24 Apr 2018, Junchao Zhang wrote:
> 
> > Great, thanks.
> > 
> > --Junchao Zhang
> > 
> > On Tue, Apr 24, 2018 at 11:54 AM, Balay, Satish <balay at mcs.anl.gov> wrote:
> > 
> > > Ok - for https://github.com/pghysels/STRUMPACK/archive/v2.2.0.tar.gz to
> > > work - you need:
> > >
> > >
> > > diff --git a/config/BuildSystem/config/packages/strumpack.py
> > > b/config/BuildSystem/config/packages/strumpack.py
> > > index e3d32666f0..0edd9c19e0 100644
> > > --- a/config/BuildSystem/config/packages/strumpack.py
> > > +++ b/config/BuildSystem/config/packages/strumpack.py
> > > @@ -6,6 +6,7 @@ class Configure(config.package.CMakePackage):
> > >      config.package.CMakePackage.__init__(self, framework)
> > >      self.gitcommit        = 'v2.1.0'
> > >      self.download         = ['git://https://github.com/pghysels/STRUMPACK
> > > ','http://portal.nersc.gov/project/sparse/strumpack/strumpack-2.1.0.tar.gz
> > > ']
> > > +    self.downloaddirnames = ['STRUMPACK','strumpack']
> > >      self.functions        = ['STRUMPACK_init']
> > >      self.includes         = ['StrumpackSparseSolver.h']
> > >      self.liblist          = [['libstrumpack.a']]
> > >
> > > Are you updating petsc-master to use v2.2.0 of strumpack?
> > >
> > > Satish
> > >
> > > On Tue, 24 Apr 2018, Satish Balay wrote:
> > >
> > > > You can use:
> > > >
> > > > --download-strumpack=1 --download-strumpack-commit=v2.2.0
> > > >
> > > > Currently the tarball URL used is
> > > > http://portal.nersc.gov/project/sparse/strumpack/strumpack-2.1.0.tar.gz
> > > > - and it uses the notation:
> > > >
> > > > strumpack-2.1.0/
> > > >
> > > > But https://github.com/pghysels/STRUMPACK/archive/v2.2.0.tar.gz would
> > > > be using a different notation for 'dirname' - so configure can't find
> > > > it.
> > > >
> > > > Satish
> > > >
> > > > On Tue, 24 Apr 2018, Junchao Zhang wrote:
> > > >
> > > > > Hi, Satish,
> > > > >  This configure option --download-strumpack=
> > > > > https://github.com/pghysels/STRUMPACK/archive/v2.2.0.tar.gz does not
> > > work. It
> > > > > looks it is because the package uses upper case for its name.
> > > > >
> > > > > ************************************************************
> > > *******************
> > > > >          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log
> > > for
> > > > > details):
> > > > > ------------------------------------------------------------
> > > -------------------
> > > > > Error during download/extract/detection of STRUMPACK:
> > > > >
> > > > > Looking for STRUMPACK at git.strumpack, hg.strumpack or a directory
> > > > > starting with ['strumpack']
> > > > >
> > > > > --Junchao Zhang
> > > > >
> > > >
> > > >
> > >
> > >
> > 
> 
> 



More information about the petsc-dev mailing list