<div dir="ltr"><div dir="ltr">On Fri, Sep 30, 2022 at 4:14 PM Mike Michell <<a href="mailto:mi.mike1021@gmail.com">mi.mike1021@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>As a follow-up to this email thread, </div><a href="https://www.mail-archive.com/petsc-users@mcs.anl.gov/msg44070.html" target="_blank">https://www.mail-archive.com/petsc-users@mcs.anl.gov/msg44070.html</a><br><div><br></div><div>Are DMLocalToLocalBegin() and DMLocalToLocalEnd() really available for DMPlex with Fortran on the latest version of PETSc (3.17.99 from GitLab)? Matt commented that the Fortran bindings were updated so that those functions must be available in the latest version of PETSc, however, it seems still they are not working from my test with DMPlex in Fortran. Can anyone provide some comments? Probably I am missing some mandatory header file? Currently, I have headers;</div><div><br></div><div>#include "petsc/finclude/petscvec.h"</div><div><div>#include "petsc/finclude/petscdmplex.h"</div><div><div>#include "petsc/finclude/petscdmlabel.h"</div><div><div>#include "petsc/finclude/petscdm.h"</div></div></div></div></div></blockquote><div><br></div><div>The source for these functions is in</div><div><br></div><div>  src/dm/ftn-auto/dmf.c</div><div><br></div><div>Is it there for you? If not, you can run</div><div><br></div><div>  make allfortranstubs</div><div><br></div><div>Fortran functions are not declared, so the header should not matter for compilation, just the libraries for linking.</div><div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks,</div><div>Mike</div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>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><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>