<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>I have been asked the same thing multiple times.</div><div><br></div><div><br></div><div>I just talked to Yaakoub. We are going to start writing a set of simple example demonstrating how to use sieve to parallelize a simple FE code using sieve.</div><div>This is something Matt and I have discussed for a while but never had time to do. When the code is cleaned up and working, we'll contribute it into petsc documentation</div><div><br></div><div>Blaise</div><div><br></div><div><br></div><div><br><div><div>On May 12, 2010, at 11:24 AM, Matthew Knepley wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">The best thing, of course, is to see a working example. Here are some, admittedly complicated, pointers:<div><br></div><div>&nbsp;&nbsp;a) PetFMM:&nbsp;<a href="http://barbagroup.bu.edu/Barba_group/PetFMM.html">http://barbagroup.bu.edu/Barba_group/PetFMM.html</a></div>
<div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp;This uses Sieve constructs to manage data and has a manual and working examples</div><div><br></div><div>&nbsp;&nbsp;b) Blaise's code: This sets up an FEM problem using Sieve through F90, which is a little painful, but short</div>
<div><br></div><div>&nbsp;&nbsp;c) PyLith:&nbsp;<a href="http://www.geodynamics.org/cig/software/packages/short/pylith">http://www.geodynamics.org/cig/software/packages/short/pylith</a></div><div><br></div><div>&nbsp;&nbsp; &nbsp; This is a very large code, but uses everything Sieve can do.</div>
<div><br></div><div>&nbsp;&nbsp;d) The tutorial examples: As soon as I fix them, they will be the best intro. The GUCASTutorialCode repo</div><div>&nbsp;&nbsp; &nbsp; &nbsp;should almost work and shows how everything should go for making an FEM code :)</div>
<div><br></div><div>&nbsp;&nbsp; Matt<br><br><div class="gmail_quote">On Wed, May 12, 2010 at 12:29 PM, Yaakoub El Khamra <span dir="ltr">&lt;<a href="mailto:yye00@tacc.utexas.edu">yye00@tacc.utexas.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br clear="all">That is perfectly understandable. I am hoping to get started with sieve, so if there is a better starting point please do let me know. Andy was kind enough to provide the Sieve intro slides which made the terminology much clearer.<br>


<div><br>Regards<br><font color="#888888">Yaakoub El Khamra</font><div><div></div><div class="h5"><br><br>
<br><br><div class="gmail_quote">On Wed, May 12, 2010 at 11:14 AM, Matthew Knepley <span dir="ltr">&lt;<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Sorry Yaakoub,<div><br></div><div>&nbsp;&nbsp;All the examples are indeed broken, which shows how many people use them.</div><div>I will fix them on the weekend. The problem is that the main Sieve users (PyLith,</div><div>Blaise, PetFMM) required changes, and do not use any of the examples.</div>



<div><br></div><div>&nbsp;&nbsp;Thanks,</div><div><br></div><div>&nbsp;&nbsp; &nbsp;Matt<div><div></div><div><br><br><div class="gmail_quote">On Wed, May 12, 2010 at 10:43 AM, Yaakoub El Khamra <span dir="ltr">&lt;<a href="mailto:yye00@tacc.utexas.edu" target="_blank">yye00@tacc.utexas.edu</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div>So I am trying to build the sieve examples and have run into interesting errors. I only managed to get the watson example to compile but it segfaults when I run it. All others refuse to compile with varying errors ranging from missing header files to:<div>





error: invalid initialization of reference of type ‘ALE::Obj&lt;ALE::IMesh&lt;ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt; &gt;, ALE::malloc_allocator&lt;ALE::IMesh&lt;ALE::LabelSifter&lt;int, int, ALE::malloc_allocator&lt;ALE::NewSifterDef::Arrow&lt;int, int&gt; &gt; &gt; &gt; &gt; &gt;&amp;’ from expression of type ‘ALE::Obj&lt;ALE::Mesh, ALE::malloc_allocator&lt;ALE::Mesh&gt; &gt;’</div>





<div><br></div><div>I did compile with fiat and the generator but obviously I am missing something. Any thoughts/recommendations are greatly appreciated.<div><br></div><div><br>Regards<br>Yaakoub El Khamra<br><br>
</div></div>
</blockquote></div><br><br clear="all"><br></div></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<br>

</div>
</blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <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<br>

</div>
</blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--&nbsp;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Department of Mathematics and Center for Computation &amp; Technology</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Louisiana State University, Baton Rouge, LA 70803, USA</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Tel. +1 (225) 578 1612, Fax&nbsp;&nbsp;+1 (225) 578 4276 <a href="http://www.math.lsu.edu/~bourdin">http://www.math.lsu.edu/~bourdin</a></div><div><br class="khtml-block-placeholder"></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></div></span></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>