[petsc-dev] master is broken with p4est

Matthew Knepley knepley at gmail.com
Tue Feb 14 11:44:43 CST 2017


On Tue, Feb 14, 2017 at 6:37 AM, Stefano Zampini <stefano.zampini at gmail.com>
wrote:

> DMSetFromOptions_NonRefinement_Plex is declared static in plexcreate.c
> and used in pforest.c
>
> mpif90 -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -g   -o ex5f
> ex5f.o -Wl,-rpath,/home/szampini/Sources/petsc/debug/lib
> -L/home/szampini/Sources/petsc/debug/lib  -lpetsc
> -Wl,-rpath,/home/szampini/Sources/petsc/debug/lib -lml
> -Wl,-rpath,/usr/lib64/mpich/lib -L/usr/lib64/mpich/lib
> -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.3
> -L/usr/lib/gcc/x86_64-redhat-linux/4.8.3 -lmpichcxx -lstdc++ -lHYPRE
> -lmpichcxx -lstdc++ -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common
> -lpord -lscalapack -lumfpack -lklu -lcholmod -lbtf -lccolamd -lcolamd
> -lcamd -lamd -lsuitesparseconfig -lpastix -llapack -lblas -lparmetis
> -lmetis -lexoIIv2for -lexodus -lnetcdf -lhdf5hl_fortran -lhdf5_fortran
> -lhdf5_hl -lhdf5 -ltriangle -lX11 -lptesmumps -lptscotch -lptscotcherr
> -lscotch -lscotcherr -lchaco -lssl -lcrypto -lp4est -lsc -lctetgen -lm
> -lmpichf90 -lgfortran -lm -lgfortran -lm -lquadmath -lm -lmpichcxx -lstdc++
> -lrt -lm -lrt -lm -lpthread -lz -Wl,-rpath,/usr/lib64/mpich/lib
> -L/usr/lib64/mpich/lib -Wl,-rpath,/usr/lib/gcc/x86_64-redhat-linux/4.8.3
> -L/usr/lib/gcc/x86_64-redhat-linux/4.8.3 -ldl -Wl,-rpath,/usr/lib64/mpich/lib
> -lmpich -lopa -lmpl -lrt -lpthread -lgcc_s -ldl
> /home/szampini/Sources/petsc/debug/lib/libpetsc.so: undefined reference
> to `DMSetFromOptions_NonRefinement_Plex'
>
>
> [szampini at KW14141 petsc]$ git grep DMSetFromOptions_NonRefinement_Plex
> src/dm/impls/forest/p4est/pforest.c:      ierr = DMSetFromOptions_
> NonRefinement_Plex(PetscOptionsObject,newPlex);CHKERRQ(ierr);
> src/dm/impls/plex/plexcreate.c:static PetscErrorCode DMSetFromOptions_
> NonRefinement_Plex(PetscOptionItems *PetscOptionsObject,DM dm)
>

Why did this not break builds? I have pushed a fix but do not know how to
test it.

  Matt


>
> --
> Stefano
>



-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20170214/b1c426a0/attachment.html>


More information about the petsc-dev mailing list