<div dir="ltr"><div>DMSetFromOptions_NonRefinement_Plex is declared static in plexcreate.c and used in pforest.c<br></div><div><br></div><div>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 </div><div>/home/szampini/Sources/petsc/debug/lib/libpetsc.so: undefined reference to `DMSetFromOptions_NonRefinement_Plex'</div><div><br></div><div><br></div><div>[szampini@KW14141 petsc]$ git grep DMSetFromOptions_NonRefinement_Plex</div><div>src/dm/impls/forest/p4est/pforest.c:      ierr = DMSetFromOptions_NonRefinement_Plex(PetscOptionsObject,newPlex);CHKERRQ(ierr);</div><div>src/dm/impls/plex/plexcreate.c:static PetscErrorCode DMSetFromOptions_NonRefinement_Plex(PetscOptionItems *PetscOptionsObject,DM dm)</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature">Stefano</div>
</div>