[petsc-users] Error in configure for --download-<pkg>=mydir

Santiago Serebrinsky sserebrinsky at gmail.com
Fri Apr 17 17:24:42 CDT 2020


Satish,
Thank you, it worked.
Regards,
Santiago


On Fri, Apr 17, 2020 at 5:28 PM Satish Balay <balay at mcs.anl.gov> wrote:

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


More information about the petsc-users mailing list