<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Feb 14, 2017 at 6:37 AM, Stefano Zampini <span dir="ltr"><<a href="mailto:stefano.zampini@gmail.com" target="_blank">stefano.zampini@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>DMSetFromOptions_<wbr>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/<wbr>Sources/petsc/debug/lib -L/home/szampini/Sources/<wbr>petsc/debug/lib  -lpetsc -Wl,-rpath,/home/szampini/<wbr>Sources/petsc/debug/lib -lml -Wl,-rpath,/usr/lib64/mpich/<wbr>lib -L/usr/lib64/mpich/lib -Wl,-rpath,/usr/lib/gcc/x86_<wbr>64-redhat-linux/4.8.3 -L/usr/lib/gcc/x86_64-redhat-<wbr>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/<wbr>lib -L/usr/lib64/mpich/lib -Wl,-rpath,/usr/lib/gcc/x86_<wbr>64-redhat-linux/4.8.3 -L/usr/lib/gcc/x86_64-redhat-<wbr>linux/4.8.3 -ldl -Wl,-rpath,/usr/lib64/mpich/<wbr>lib -lmpich -lopa -lmpl -lrt -lpthread -lgcc_s -ldl </div><div>/home/szampini/Sources/petsc/<wbr>debug/lib/libpetsc.so: undefined reference to `DMSetFromOptions_<wbr>NonRefinement_Plex'</div><div><br></div><div><br></div><div>[szampini@KW14141 petsc]$ git grep DMSetFromOptions_<wbr>NonRefinement_Plex</div><div>src/dm/impls/forest/p4est/<wbr>pforest.c:      ierr = DMSetFromOptions_<wbr>NonRefinement_Plex(<wbr>PetscOptionsObject,newPlex);<wbr>CHKERRQ(ierr);</div><div>src/dm/impls/plex/plexcreate.<wbr>c:static PetscErrorCode DMSetFromOptions_<wbr>NonRefinement_Plex(<wbr>PetscOptionItems *PetscOptionsObject,DM dm)</div></div></blockquote><div><br></div><div>Why did this not break builds? I have pushed a fix but do not know how to test it.</div><div><br></div><div>  Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-8392856500351938080gmail_signature">Stefano</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</div></div>