[petsc-users] SLEPc Build Error

Matthew Knepley knepley at gmail.com
Sun Jul 19 12:49:16 CDT 2020


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/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200719/5dd4b190/attachment.html>


More information about the petsc-users mailing list