On Tue, Feb 14, 2017 at 6:37 AM, Stefano Zampini <[email protected]> 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@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
