[petsc-users] SLEPc download error

Eda Oktay eda.oktay at metu.edu.tr
Tue Jul 28 04:59:52 CDT 2020


Thanks so much!

Eda

Satish Balay <balay at mcs.anl.gov>, 28 Tem 2020 Sal, 04:46 tarihinde şunu yazdı:
>
> [balay at pj01 petsc]$ curl -O https://gitlab.com/slepc/slepc/-/archive/v3.13.3/slepc-v3.13.3.tar.gz
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100 1253k    0 1253k    0     0  16.1M      0 --:--:-- --:--:-- --:--:-- 16.1M
> [balay at pj01 petsc]$ file slepc-v3.13.3.tar.gz
> slepc-v3.13.3.tar.gz: gzip compressed data, from Unix, original size modulo 2^32 7690240
> [balay at pj01 petsc]$ python
> Python 3.7.7 (default, Jun  4 2020, 15:43:14)
> [GCC 9.3.1 20200408 (Red Hat 9.3.1-2)] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from urllib.request import urlretrieve
> >>> urlretrieve('https://gitlab.com/slepc/slepc/-/archive/v3.13.3/slepc-v3.13.3.tar.gz','x.tar.gz')
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib64/python3.7/urllib/request.py", line 247, in urlretrieve
>     with contextlib.closing(urlopen(url, data)) as fp:
>   File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
>     return opener.open(url, data, timeout)
>   File "/usr/lib64/python3.7/urllib/request.py", line 531, in open
>     response = meth(req, response)
>   File "/usr/lib64/python3.7/urllib/request.py", line 641, in http_response
>     'http', request, response, code, msg, hdrs)
>   File "/usr/lib64/python3.7/urllib/request.py", line 569, in error
>     return self._call_chain(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
>     result = func(*args)
>   File "/usr/lib64/python3.7/urllib/request.py", line 649, in http_error_default
>     raise HTTPError(req.full_url, code, msg, hdrs, fp)
> urllib.error.HTTPError: HTTP Error 403: Forbidden
> >>>
> [balay at pj01 petsc]$ python2
> Python 2.7.18 (default, Apr 20 2020, 00:00:00)
> [GCC 9.3.1 20200408 (Red Hat 9.3.1-2)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from urllib import urlretrieve
> >>> urlretrieve('https://gitlab.com/slepc/slepc/-/archive/v3.13.3/slepc-v3.13.3.tar.gz','x.tar.gz')
> ('x.tar.gz', <httplib.HTTPMessage instance at 0x7f48125cbd20>)
> >>>
> [1]+  Stopped                 python2
> [balay at pj01 petsc]$ cat x.tar.gz
> error code: 1010[balay at pj01 petsc]$ file x.tar.gz
> x.tar.gz: ASCII text, with no line terminators
> [balay at pj01 petsc]$
>
> On Mon, 27 Jul 2020, Satish Balay via petsc-users wrote:
>
> > Looks like python urlretrive() is failing on glitab tarball urls [but its working with wget etc. I don't know why.
> >
> > Perhaps its best to have git installed - so that git-urls work..
> >
> > Satish
> >
> > On Tue, 28 Jul 2020, Eda Oktay wrote:
> >
> > > Hi all,
> > >
> > > I am trying to download Petsc with Slepc a linux computer (probably
> > > ubuntu, I don't know because I am using it via ssh) but I am getting
> > > the following error:
> > >
> > > *******************************************************************************
> > >          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log
> > > for details):
> > > -------------------------------------------------------------------------------
> > > Error during download/extract/detection of SLEPC:
> > > Unable to download package SLEPC from:
> > > https://gitlab.com/slepc/slepc/-/archive/v3.13.2/slepc-v3.13.2.tar.gz
> > > * If URL specified manually - perhaps there is a typo?
> > > * If your network is disconnected - please reconnect and rerun ./configure
> > > * Or perhaps you have a firewall blocking the download
> > > * You can run with --with-packages-download-dir=/adirectory and
> > > ./configure will instruct you what packages to download manually
> > > * or you can download the above URL manually, to
> > > /yourselectedlocation/slepc-v3.13.2.tar.gz
> > >   and use the configure option:
> > >   --download-slepc=/yourselectedlocation/slepc-v3.13.2.tar.gz
> > > *******************************************************************************
> > >
> > > I attached configure.log.
> > >
> > > Then, I downloaded slepc and used
> > > --download-slepc=/yourselectedlocation/slepc-v3.13.2.tar.gz.
> > >
> > > Since I used WinSCP, tar.gz file was uploaded to my user as "eda" and
> > > I used   --download-slepc=/home/eda/eda and ran configure again.
> > >
> > > However, I got the following error:
> > > *******************************************************************************
> > >          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log
> > > for details):
> > > -------------------------------------------------------------------------------
> > > Error during download/extract/detection of SLEPC:
> > > Unknown compression type in URL: file:///home/eda/eda
> > > *******************************************************************************
> > > I also attached this confiigure.log as 2configure.log.
> > >
> > > When I tried to untar eda, I could and I got slepc. So I don't
> > > understand why I am getting this error. This is the third computer I
> > > am building Petsc with Slepc but this is the first time I am getting
> > > such an error.
> > >
> > > Can you help me with this problem?
> > >
> > > Thanks!
> > > Eda
> > >
> >
>


More information about the petsc-users mailing list