[petsc-users] Debug build fails

Zane Charles Jakobs Zane.Jakobs at colorado.edu
Sat Oct 3 10:42:26 CDT 2020


Thanks, Matt and Satish! Everything seems like it's working now.

On Sat, Oct 3, 2020 at 8:34 AM Satish Balay <balay at mcs.anl.gov> wrote:

> Can use 'git status' to figure out what files are not in the repo.
>
> And a 'git clean -f -d -x' will delete everything except for the files in
> the repo [so use with care].
>
> Satish
>
> On Sat, 3 Oct 2020, Matthew Knepley wrote:
>
> > 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
> > >
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20201003/4a401ec6/attachment.html>


More information about the petsc-users mailing list