<div dir="ltr">Alright. I will test it.<br><br>Thanks<br>Reddy<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 15, 2013 at 9:01 AM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@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 class="gmail_extra"><div class="gmail_quote">On Thu, Nov 14, 2013 at 3:16 PM, Dharmendar Reddy <span dir="ltr"><<a href="mailto:dharmareddy84@gmail.com" target="_blank">dharmareddy84@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">Thanks a lot.</div></blockquote><div><br></div><div>Okay, I have pushed it and put in a test at src/dm/impls/plex/examples/tutorials/ex1f90.F</div>
<div><br></div><div>I needed to update 'bfort' which makes the Fortran bindings. The easiest thing to do is grab it from</div><div>githubg (petsc/pkg-sowing) and install into your PETSC_ARCH. I will ask Satish to remake the</div>
<div>tarball, so if your install does not work you can just reconfigure after deleting externalpackage/sowing-*</div><div>and PETSC_ARCH/conf/sowing.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div>
<div><div class="h5">
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span><font color="#888888"><div>Reddy</div></font></span></div><div>
<div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 14, 2013 at 3:10 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@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 class="gmail_extra"><div class="gmail_quote"><div>On Thu, Nov 14, 2013 at 2:55 PM, Dharmendar Reddy <span dir="ltr"><<a href="mailto:dharmareddy84@gmail.com" target="_blank">dharmareddy84@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">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" target="_blank">http://www.mcs.anl.gov/petsc/petsccurrent/src/dm/impls/plex/plexsubmesh.c.html#DMPlexCreateSubmesh</a>)</div>
<div><pre width="80"><a name="1425c47f8812f9bb_1425878c8bd6b7fc_1425873465594976_1425865f6777037d_line2087">2087: </a><strong><font color="#4169E1"><a name="1425c47f8812f9bb_1425878c8bd6b7fc_1425873465594976_1425865f6777037d_DMPlexCreateSubmesh"></a><a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscErrorCode.html#PetscErrorCode" target="_blank">PetscErrorCode</a> <a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/DMPlexCreateSubmesh.html#DMPlexCreateSubmesh" target="_blank">DMPlexCreateSubmesh</a>(DM dm, const char vertexLabel[], <a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscInt.html#PetscInt" target="_blank">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" target="_blank">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></div></blockquote><div><br></div></div><div>Okay, we should just fix using DMLabel in Fortran. I will write the binding for DMPlexGetLabel(), and I will</div><div>define the necessary DMLabel stuff for Fortran. I will mail when its pushed.</div>
<div><br></div><div> Matt</div><div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Thanks</div><span><font color="#888888"><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: <a href="tel:%2B1-512-350-9082" value="+15123509082" target="_blank">+1-512-350-9082</a><br>
United States of America.<br>Homepage: <a href="https://webspace.utexas.edu/~dpr342" target="_blank">https://webspace.utexas.edu/~dpr342</a><br>
</font></span></div></div>
</blockquote></div></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>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
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></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: <a href="tel:%2B1-512-350-9082" value="+15123509082" target="_blank">+1-512-350-9082</a><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></div></blockquote></div></div></div><div><div class="h5"><br><br clear="all"><div><br></div>-- <br>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></div>
</blockquote></div><br><br clear="all"><br>-- <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>