[petsc-users] Debug build fails

Matthew Knepley knepley at gmail.com
Sat Oct 3 10:27:51 CDT 2020


On Sat, Oct 3, 2020 at 11:11 AM Zane Charles Jakobs <
Zane.Jakobs at colorado.edu> wrote:

> Hi PETSc devs,
>
> I just pulled the latest version of PETSc on master, and while my
> optimized build works fine, my debug build fails with the message
>
> make[1]: *** No rule to make target 'src/sys/logging/examples/makefile'.
> Stop.
> make: *** [GNUmakefile:17: src/sys/logging/examples/makefile] Error 2
>
> Doing
> ls src/sys/logging/examples
>

Remove this directory. It is not in the repository, and its presence is
confusing the automatic detection for the build.

  Thanks,

     Matt


> shows a file named `index.html` and a directory named `tutorials`, but no
> makefile. My configure line is
>
> ./configure PETSC_ARCH=arch-linux-c-debug --with-cc=clang
> --with-cxx=clang++ COPTFLAGS="-O3 -march=native -mtune=native -fPIC"
> CXXOPTFLAGS="-O3 -march=native -mtune=native -fPIC" FOPTFLAGS="-O3
> -march=native -mtune=native -fPIC" --with-avx2=1 --download-mpich
> --download-hypre --download-scalapack --download-mumps --with-debugging=yes
> --with-blaslapack-dir=/opt/intel/mkl --download-zlib --download-libpng
> --download-giflib --download-libjpeg --download-slepc --download-eigen
>
> To reiterate, doing the exact same configure, but changing
> '-with-debugging=yes' to '-with-debugging=no' (and changing the PETSC_ARCH
> name to 'arch-linux-c-debug') and then building the non-debugging version
> of PETSc works as normal. Any ideas what could be going on?
>
> Thanks!
>
> -Zane Jakobs
>


-- 
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/20201003/3717d9dd/attachment.html>


More information about the petsc-users mailing list