<div dir="ltr"><div>Satish,</div><div>Thank you, it worked.</div><div>Regards,</div><div>Santiago</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 17, 2020 at 5:28 PM Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">You might want to check my previous reply more closely.<br>
<br>
On Fri, 17 Apr 2020, <a href="mailto:san.temporal@gmail.com" target="_blank">san.temporal@gmail.com</a> wrote:<br>
<br>
> The point is that I cannot go through a proxy to simply use<br>
> --download-<pkg1> --download-<pkg2> ...<br>
> <br>
> So I would:<br>
> 1. Run configure with --download-<pkg1> ...<br>
> 2. Wait until configure complains about the missing package and get the URL<br>
> 3. wget the package<br>
<br>
Configure complaint [in step 2 above] would have listed either or both:<br>
<br>
git://<a href="https://bitbucket.org/petsc/pkg-fblaslapack" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/pkg-fblaslapack</a><br>
<a href="https://bitbucket.org/petsc/pkg-fblaslapack/get/v3.4.2-p3.tar.gz" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/pkg-fblaslapack/get/v3.4.2-p3.tar.gz</a><br>
<br>
However - you are attempting to use: --download-fblaslapack=/home/santiago/Documents/installers/petsc/fblaslapack-3.4.2.tar.gz<br>
<br>
This is not the same tarball as what configure has instructed you to use.<br>
<br>
Satish<br>
<br>
> 4. Add the local file name to --download-<pkg1>=...<br>
> Repeat one package after the other until I have all the packages locally.<br>
> <br>
> I guess this should work. But then I get the error reported, starting with<br>
> 3.12.<br>
> <br>
> I am attaching configure.log<br>
> <br>
> Thanks!<br>
> Santiago<br>
> <br>
> <br>
> <br>
> On Fri, Apr 17, 2020 at 12:04 PM Satish Balay <<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>> wrote:<br>
> <br>
> > Some package names have changed [when using git repos for both git and<br>
> > tarballs] - so its best to use the tarballs [or git repos] that are<br>
> > appropriate for the current petsc release.<br>
> ><br>
> > balay@sb /home/balay/petsc (maint=)<br>
> > $ ./configure --with-packages-download-dir=$HOME/tmp<br>
> > --download-fblaslapack --download-mumps --download-scalapack<br>
> ><br>
> > ===============================================================================<br>
> > Configuring PETSc to compile on your system<br>
> ><br>
> ><br>
> > ===============================================================================<br>
> > Download the following packages to /home/balay/tmp<br>
> ><br>
> > fblaslapack ['git://<a href="https://bitbucket.org/petsc/pkg-fblaslapack" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/pkg-fblaslapack</a>', '<br>
> > <a href="https://bitbucket.org/petsc/pkg-fblaslapack/get/v3.4.2-p3.tar.gz" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/pkg-fblaslapack/get/v3.4.2-p3.tar.gz</a>']<br>
> > mumps ['git://<a href="https://bitbucket.org/petsc/pkg-mumps.git" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/pkg-mumps.git</a>', '<br>
> > <a href="https://bitbucket.org/petsc/pkg-mumps/get/v5.2.1-p2.tar.gz" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/pkg-mumps/get/v5.2.1-p2.tar.gz</a>']<br>
> > scalapack ['git://<a href="https://bitbucket.org/petsc/pkg-scalapack" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/pkg-scalapack</a>', '<br>
> > <a href="https://bitbucket.org/petsc/pkg-scalapack/get/v2.1.0-p1.tar.gz" rel="noreferrer" target="_blank">https://bitbucket.org/petsc/pkg-scalapack/get/v2.1.0-p1.tar.gz</a>']<br>
> ><br>
> > Then run the script again<br>
> ><br>
> > balay@sb /home/balay/petsc (maint=)<br>
> > $<br>
> ><br>
> > Satish<br>
> > On Fri, 17 Apr 2020, <a href="mailto:san.temporal@gmail.com" target="_blank">san.temporal@gmail.com</a> wrote:<br>
> ><br>
> > > Dear all,<br>
> > ><br>
> > > For 3.12 and 3.13, I get<br>
> > ><br>
> > > $ export PETSC_DIR=/home/user1/installers/petsc/petsc-3.13.0<br>
> > > $ export PETSC_ARCH=linux-gnu-opt<br>
> > > $ ./configure --with-cc=mpicc --with-fc=mpif90 -with-cxx=mpicxx<br>
> > > --prefix=/home/user1/usr/local --with-make-np=10 --with-shared-libraries<br>
> > ><br>
> > --download-fblaslapack=/home/user1/installers/petsc/fblaslapack-3.4.2.tar.gz<br>
> > > --download-mumps=/home/user1/installers/petsc/v5.1.2-p2.tar.gz<br>
> > > --download-scalapack=/home/user1/installers/petsc/scalapack-2.0.2.tgz<br>
> > > --with-debugging=0 COPTFLAGS='-O -O3 -march=native -mtune=native'<br>
> > > FOPTFLAGS='-O -O3 -march=native -mtune=native' CXXOPTFLAGS='-O -O3<br>
> > > -march=native -mtune=native'<br>
> > ><br>
> > ===============================================================================<br>
> > > Configuring PETSc to compile on your system<br>
> > ><br>
> > ===============================================================================<br>
> > ><br>
> > ===============================================================================<br>
> > > Trying to download<br>
> > > file:///home/user1/installers/petsc/fblaslapack-3.4.2.tar.gz for<br>
> > > FBLASLAPACK<br>
> > ><br>
> > ===============================================================================<br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > *******************************************************************************<br>
> > > UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for<br>
> > > details):<br>
> > ><br>
> > -------------------------------------------------------------------------------<br>
> > > Error during download/extract/detection of FBLASLAPACK:<br>
> > > Could not locate downloaded package FBLASLAPACK in<br>
> > > /home/user1/installers/petsc/petsc-3.13.0/linux-gnu-opt/externalpackages<br>
> > ><br>
> > *******************************************************************************<br>
> > ><br>
> > > Up to 3.11, these commands worked fine.<br>
> > ><br>
> > > Am I doing anything wrong?<br>
> > ><br>
> > > Thanks a lot!<br>
> > ><br>
> ><br>
> ><br>
> <br>
<br>
</blockquote></div>