[petsc-users] configure: Include urlopen exception string in download failure message
Matthew Knepley
knepley at gmail.com
Thu Jan 16 11:15:31 CST 2025
I have it now in
https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/merge_requests/8084__;!!G_uCfscf7eWS!cKrZN0dJCyXrvXadbuLpdlFXwX7jY7azDUF16w935Yv2owAqaOnimvOe-1N7eQJERKCYiStKgwzXrG-B_wbg$
Thanks,
Matt
On Tue, Jan 14, 2025 at 11:10 AM Aagaard, Brad T via petsc-users <
petsc-users at mcs.anl.gov> wrote:
> I am using Python 3.12. The exception (SSL certificate issue) error string
> is not showing up in stdout (below) or the configure.log (attached).
> Relying on the error string to just show up seems fragile.
>
>
>
>
>
>
> =============================================================================================
>
> Trying to download
>
>
> https://web.cels.anl.gov/projects/petsc/download/externalpackages/f2cblaslapack-3.8.0.q2.tar.gz
>
> for F2CBLASLAPACK
>
>
> =============================================================================================
>
>
>
>
> *********************************************************************************************
>
> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for
> details):
>
>
> ---------------------------------------------------------------------------------------------
>
> Error during download/extract/detection of F2CBLASLAPACK:
>
> Unable to download package F2CBLASLAPACK from:
>
>
> https://web.cels.anl.gov/projects/petsc/download/externalpackages/f2cblaslapack-3.8.0.q2.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/f2cblaslapack-3.8.0.q2.tar.gz
>
> and use the configure option:
>
>
> --download-f2cblaslapack=/yourselectedlocation/f2cblaslapack-3.8.0.q2.tar.gz
>
>
> *********************************************************************************************
>
>
>
>
>
>
>
>
>
> *From: *Satish Balay <balay.anl at fastmail.org>
> *Date: *Tuesday, January 14, 2025 at 8:51 AM
> *To: *Aagaard, Brad T <baagaard at usgs.gov>
> *Cc: *petsc-users at mcs.anl.gov <petsc-users at mcs.anl.gov>
> *Subject: *[EXTERNAL] Re: [petsc-users] configure: Include urlopen
> exception string in download failure message
>
>
>
> This email has been received from outside of DOI - Use caution before
> clicking on links, opening attachments, or responding.
>
>
>
> Last I visited this issue - its a python version issue. i.e newer versions
> [3.8+? 3.10+?] don't suppress this message - so it comes up in configure
> printed message.
>
> Perhaps you can verify if this true for the issue you are seeing.
>
> Satish
>
> On Tue, 14 Jan 2025, Aagaard, Brad T via petsc-users wrote:
>
> > The current implementation of Retrival.tarballRetrieve() does not
> capture the error string from an exception raised in a call to urlopen().
> This makes it difficult to diagnose download failures. Can you add the
> error string from the exception to the download failure message (maybe as
> an optional argument to getDownloadFailureMessage())? This is at lines
> 205-208 of config/BuildSystem/retrieval.py.
> >
> > Thanks,
> > Brad
> >
> >
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
https://urldefense.us/v3/__https://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!cKrZN0dJCyXrvXadbuLpdlFXwX7jY7azDUF16w935Yv2owAqaOnimvOe-1N7eQJERKCYiStKgwzXrM0RqqSx$ <https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!cKrZN0dJCyXrvXadbuLpdlFXwX7jY7azDUF16w935Yv2owAqaOnimvOe-1N7eQJERKCYiStKgwzXrMii7Pwr$ >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250116/78fe9410/attachment-0001.html>
More information about the petsc-users
mailing list