<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">BTW, if I move the source file to:</p>
<p style="margin-top:0;margin-bottom:0"><span>petsc-3.10.2/src/dm/impls/plex/examples/tutorials</span><br>
</p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0">Using the makefile there, it compiles just fine.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Ling</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> petsc-users <petsc-users-bounces@mcs.anl.gov> on behalf of Ling Zou <Ling.Zou@inl.gov><br>
<b>Sent:</b> Wednesday, October 10, 2018 10:35:37 AM<br>
<b>To:</b> PETSc users list<br>
<b>Subject:</b> [petsc-users] error: ‘DMSetSection’ was not declared in this scope</font>
<div> </div>
</div>
<meta content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0; margin-bottom:0">Hi All,</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">I am starting playing with DMPlex, but get this error:</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0"><span>error: ‘DMSetSection’ was not declared in this scope</span><br>
</p>
<p style="margin-top:0; margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0; margin-bottom:0"><span>However, other DMPlex basic functions work just fine, e.g.,</span></p>
<p style="margin-top:0; margin-bottom:0"><span><span>DMPlexCreateFluentFromFile</span><br>
</span></p>
<p style="margin-top:0; margin-bottom:0"><span><span><span>DMPlexCheckSymmetry</span><br>
</span></span></p>
<p style="margin-top:0; margin-bottom:0"><span><span><span><span>DMPlexCheckSkeleton</span><br>
</span></span></span></p>
<p style="margin-top:0; margin-bottom:0"><span><span><span><span><span>DMPlexCheckFaces</span><br>
</span></span></span></span></p>
<p style="margin-top:0; margin-bottom:0"><span><span><span><span><span><span>DMPlexGetChart</span><br>
</span></span></span></span></span></p>
<p style="margin-top:0; margin-bottom:0"><span><span><span><span><span><span><span>DMPlexGetHeightStratum</span><br>
</span></span></span></span></span></span></p>
<p style="margin-top:0; margin-bottom:0"><span><span><span><span><span><span><span><br>
</span></span></span></span></span></span></span></p>
<p style="margin-top:0; margin-bottom:0"><span><span><span><span><span><span><span>Is this function somewhat special?</span></span></span></span></span></span></span></p>
<p style="margin-top:0; margin-bottom:0"><span><span><span><span><span><span><span><br>
</span></span></span></span></span></span></span></p>
<p style="margin-top:0; margin-bottom:0"><span><span><span><span><span><span><span>PS: I am using cmake, and followed Jed's <span>FindPETSc.cmake at <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jedbrown_cmake-2Dmodules_blob_master_FindPETSc.cmake&d=DwMF-g&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=kuHHom1yjd94zUrBWecnYg&m=wpRJMLiF6hRbwE2a_dsAXp55Rw-IkQ-HAOQwTBee_cU&s=sOlqf87CtrvIcZleo9WzSyUDpHYbuat53hrtySkIzIo&e=" class="x_OWAAutoLink" id="LPlnk960232">https://github.com/jedbrown/cmake-modules/blob/master/FindPETSc.cmake</a></span></span></span></span></span></span></span></span></p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Ling<br>
<span><span><span><span><span><span><span><span></span></p>
<div id="LPBorder_GT_15391893120740.6151844150034251" style="margin-bottom:20px; overflow:auto; width:100%; text-indent:0px">
<table id="LPContainer_15391893120710.22221012984867738" cellspacing="0" style="width:90%; background-color:rgb(255,255,255); overflow:auto; padding-top:20px; padding-bottom:20px; margin-top:20px; border-top:1px dotted rgb(200,200,200); border-bottom:1px dotted rgb(200,200,200)">
<tbody>
<tr valign="top" style="border-spacing:0px">
<td id="x_ImageCell_15391893120720.638546929383814" colspan="1" style="width:250px; display:table-cell; padding-right:20px">
<div id="LPImageContainer_15391893120720.7112108199960252" style="background-color:rgb(255,255,255); height:250px; margin:auto; display:table; width:250px">
<a id="LPImageAnchor_15391893120720.8022167056576983" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jedbrown_cmake-2Dmodules_blob_master_FindPETSc.cmake&d=DwMF-g&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=kuHHom1yjd94zUrBWecnYg&m=wpRJMLiF6hRbwE2a_dsAXp55Rw-IkQ-HAOQwTBee_cU&s=sOlqf87CtrvIcZleo9WzSyUDpHYbuat53hrtySkIzIo&e=" target="_blank" style="display:table-cell; text-align:center"><img id="LPThumbnailImageID_15391893120720.21629010370962365" width="250" height="250" style="display:inline-block; max-width:250px; max-height:250px; height:250px; width:250px; border-width:0px; vertical-align:bottom" src="https://avatars1.githubusercontent.com/u/3303?s=400&v=4"></a></div>
</td>
<td id="x_TextCell_15391893120720.973553904638436" colspan="2" style="vertical-align:top; padding:0px; display:table-cell">
<div id="LPRemovePreviewContainer_15391893120720.8721972661915522"></div>
<div id="LPTitle_15391893120730.5471475874878033" style="top:0px; color:rgb(0,120,215); font-weight:400; font-size:21px; font-family:wf_segoe-ui_light,"Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height:21px">
<a id="LPUrlAnchor_15391893120730.002929639828563424" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jedbrown_cmake-2Dmodules_blob_master_FindPETSc.cmake&d=DwMF-g&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=kuHHom1yjd94zUrBWecnYg&m=wpRJMLiF6hRbwE2a_dsAXp55Rw-IkQ-HAOQwTBee_cU&s=sOlqf87CtrvIcZleo9WzSyUDpHYbuat53hrtySkIzIo&e=" target="_blank" style="text-decoration:none">jedbrown/cmake-modules
 - GitHub</a></div>
<div id="LPMetadata_15391893120730.6656254255705742" style="margin:10px 0px 16px; color:rgb(102,102,102); font-weight:400; font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size:14px; line-height:14px">
github.com</div>
<div id="LPDescription_15391893120730.4330807592685737" style="display:block; color:rgb(102,102,102); font-weight:400; font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size:14px; line-height:20px; max-height:100px; overflow:hidden">
CMake modules for some scientific libraries. Contribute to jedbrown/cmake-modules development by creating an account on GitHub.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
</span></span></span></span></span></span></span>
<p></p>
</div>
</div>
</body>
</html>