[petsc-users] error with wrong tarball in path/to/package

Satish Balay balay at mcs.anl.gov
Tue Oct 25 09:51:17 CDT 2016


>>>
                    Looking for ML at git.ml, hg.ml or a directory starting with petsc-pkg-ml
                    Could not locate an existing copy of ML:
                      ['ml-6.2']
<<<

So configure was looking for something with 'petsc-pkg-ml' - and it
did not find it. [there was 'ml-6.2' - but configure doesn't know what
it is..]

Yeah the message could be more fine-grained - will chek.

Satish

On Tue, 25 Oct 2016, Klaij, Christiaan wrote:

> Satish,
> 
> Fair enough, thanks for explaining. 
> 
> As far as I can tell the configure log (attached) gives the same error.
> 
> If the current version/format is not found, why not just say so
> in the error message? Saying "unable to download" suggests
> something's wrong with the internet connection, or file path.
> 
> Chris
> ________________________________________
> From: Satish Balay <balay at mcs.anl.gov>
> Sent: Tuesday, October 25, 2016 4:01 PM
> To: Klaij, Christiaan
> Cc: petsc-users at mcs.anl.gov
> Subject: Re: [petsc-users] error with wrong tarball in path/to/package
> 
> Always look in configure.log to see the exact error.
> 
> No - configure does not do checksums - but it expcects the package to
> be in a certain format [and this can change between petsc versions].
> So if you are using a url from petsc-3.5 - with 3.7 -- it might not
> work..
> 
> So for any version of petsc - its always best to use the default
> externalpacakge URLs [for some externalpacakges - different versions
> might work - but usually thats not tested].
> 
> configure attempts to determine the exact error - and attempts to
> print appropriate message - but thats not always possible to figureout
> - so its best to check configure.log to see the exact issue..
> 
> Note: to print the 'wrong version message' - it needs to know & keep
> track of the previous versions [and formats - if any] - and thats not
> easy.. All it can do is check for - current version/format is found or
> not..
> 
> Satish
> 
> On Tue, 25 Oct 2016, Klaij, Christiaan wrote:
> 
> >
> > Here is a small complaint about the error message "unable to
> > download" that is given when using
> > --download-PACKAGENAME=/PATH/TO/package.tar.gz with the wrong
> > tarball. For example, for my previous install, I was using
> > petsc-3.5.3 with:
> >
> > --download-ml=/path/to/ml-6.2-win.tar.gz
> >
> > Using the same file with 3.7.4 gives this error message
> >
> > *******************************************************************************
> >          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
> > -------------------------------------------------------------------------------
> > Unable to download ML
> > Failed to download ML
> > *******************************************************************************
> >
> > My guess from ml.py is that I should now download:
> >
> > https://bitbucket.org/petsc/pkg-ml/get/v6.2-p4.tar.gz
> >
> > and that you are somehow checking that the file specified in the
> > path matches this file (name, hash, ...)?
> >
> > If so, "unable to download" is a bit confusing, I wasted some
> > time looking at the file system and the file:// protocol, and
> > annoyed the sysadmins... May I suggest to replace the message
> > with "wrong version" or something?
> >
> > Chris
> >
> >
> > dr. ir. Christiaan Klaij  | CFD Researcher | Research & Development
> > MARIN | T +31 317 49 33 44 | mailto:C.Klaij at marin.nl | http://www.marin.nl
> >
> > MARIN news: http://www.marin.nl/web/News/News-items/Workshop-Optimaliseren-is-ook-innoveren-15-november.htm
> >
> >
> 
> 



More information about the petsc-users mailing list