[petsc-users] error with wrong tarball in path/to/package
Satish Balay
balay at mcs.anl.gov
Tue Oct 25 09:01:03 CDT 2016
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