[petsc-users] SLEPc Build Error

Eda Oktay eda.oktay at metu.edu.tr
Mon Jul 20 05:00:17 CDT 2020


Thank you so much, I will try them!

Eda

Jose E. Roman <jroman at dsic.upv.es>, 20 Tem 2020 Pzt, 10:59 tarihinde şunu yazdı:
>
> I tried to reproduce this on Fedora 25 (with GCC 6.4.1), but the compilation went through without errors.
>
> My recommendation is that if you are using a PETSc tarball, use also a SLEPc tarball, and install it with the usual procedure described in SLEPc's documentation, not with --download-slepc
>
> However, the case of a tarball PETSc with --download-slepc should also work. From the messages in slepc.log, SLEPc has installed Sowing and it fails when generating the Fortran stubs. Maybe installation of Sowing was not successful. To find out, you will have to look at SLEPc logs, and also at Sowing logs under arch-linux2-c-debug/externalpackages/git.slepc/arch-linux2-c-debug/externalpackages/pkg-sowing/
>
> Jose
>
>
> > El 19 jul 2020, a las 19:49, Matthew Knepley <knepley at gmail.com> escribió:
> >
> > On Sun, Jul 19, 2020 at 11:01 AM Eda Oktay <eda.oktay at metu.edu.tr> wrote:
> > Hi all,
> >
> > I am trying to install petsc 3.13.2 to my computer (fedora 25) with
> > slepc and some other libraries by using the following code:
> >
> > ./configure --with-cc=gcc --with-cxx=g++ --download-mpich
> > --download-openblas --download-slepc --download-metis
> > --download-parmetis --download-chaco --with-X=1
> >
> > Although I installed exact same things to an other computer with
> > fedora 25, this time, after configuration, when I am asked to use
> > "make PETSC_DIR=/home/eda/petsc-3.13.2 PETSC_ARCH=arch-linux2-c-debug
> > all", I got an Slepc error:
> >
> > PETSc thinks you are installing from a tarball, rather than from a Git clone, because it cannot
> > find the $PETSC_DIR/lib/petsc/bin/maint directory, which we remove from the tarball. The tarball
> > also contains the Fortran stubs, so we do not install Sowing in this case. When SLEPc is being
> > installed, it needs to generate the Fortran stubs, since it was cloned.
> >
> > At bottom, you cannot install SLEPc automatically unless you install PETSc from a Git clone.
> >
> >   Thanks,
> >
> >      Matt
> >
> > *** Building slepc ***
> > **************************ERROR*************************************
> > Error building slepc. Check arch-linux2-c-debug/lib/petsc/conf/slepc.log
> > ********************************************************************
> > /home/eda/petsc-3.13.2/arch-linux2-c-debug/lib/petsc/conf/petscrules:32:
> > recipe for target 'slepcbuild' failed
> > gmake[2]: *** [slepcbuild] Error 1
> > **************************ERROR*************************************
> >   Error during compile, check arch-linux2-c-debug/lib/petsc/conf/make.log
> >   Send it and arch-linux2-c-debug/lib/petsc/conf/configure.log to
> > petsc-maint at mcs.anl.gov
> > ********************************************************************
> > makefile:33: recipe for target 'all' failed
> > make[1]: *** [all] Error 1
> > GNUmakefile:9: recipe for target 'all' failed
> > make: *** [all] Error 2
> >
> > I attached slepc.log, make.log and configure.log. What is the problem?
> > Can you help me please?
> >
> > Thanks a lot!
> >
> > Eda
> >
> >
> > --
> > 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://www.cse.buffalo.edu/~knepley/
>


More information about the petsc-users mailing list