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

Satish Balay balay at mcs.anl.gov
Tue Apr 24 11:54:18 CDT 2018


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