<div dir="ltr">Hello,<div>         Looks like there is a change in the DMPlexCreateSubMesh interface. </div><div><br></div><div>My code was running fine with petsc 3.4.3 but when i switched petsc to next. I am getting runtime error due to DMPlexCreateSubMesh..</div>
<div><br></div><div>The interface changed from: </div><div><div>(<a href="http://www.mcs.anl.gov/petsc/petsccurrent/src/dm/impls/plex/plexsubmesh.c.html#DMPlexCreateSubmesh">http://www.mcs.anl.gov/petsc/petsccurrent/src/dm/impls/plex/plexsubmesh.c.html#DMPlexCreateSubmesh</a>)</div>
<div><pre width="80"><a name="line2087">2087: </a><strong><font color="#4169E1"><a name="DMPlexCreateSubmesh"></a><a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</a> <a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/DMPlexCreateSubmesh.html#DMPlexCreateSubmesh">DMPlexCreateSubmesh</a>(DM dm, const char vertexLabel[], <a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscInt.html#PetscInt">PetscInt</a> value, DM *subdm)</font></strong></pre>
</div><div><br></div><div>to </div><div>(<a href="https://bitbucket.org/petsc/petsc/src/1d94116c89ca7d6e640482ce2684b8b52bac7dff/src/dm/impls/plex/plexsubmesh.c?at=next#cl-2468">https://bitbucket.org/petsc/petsc/src/1d94116c89ca7d6e640482ce2684b8b52bac7dff/src/dm/impls/plex/plexsubmesh.c?at=next#cl-2468</a>)</div>
<div><br></div><div><pre>PetscErrorCode DMPlexCreateSubmesh(DM dm, DMLabel vertexLabel, PetscInt value, DM *subdm)</pre><pre><br></pre><pre><font face="arial, helvetica, sans-serif">How should i change my code to make use of the new interface ? I have had issue using DMLabel related function from my fortran code.  </font></pre>
</div><div><br></div><div>Thanks</div><div>Reddy</div>-- <br>-----------------------------------------------------<br>Dharmendar Reddy Palle<br>Graduate Student<br>Microelectronics Research center,<br>University of Texas at Austin,<br>
10100 Burnet Road, Bldg. 160<br>MER 2.608F, TX 78758-4445<br>e-mail: <a href="mailto:dharmareddy84@gmail.com" target="_blank">dharmareddy84@gmail.com</a><br>Phone: +1-512-350-9082<br>United States of America.<br>Homepage: <a href="https://webspace.utexas.edu/~dpr342" target="_blank">https://webspace.utexas.edu/~dpr342</a><br>

</div></div>