The best thing, of course, is to see a working example. Here are some, admittedly complicated, pointers:<div><br></div><div> a) PetFMM: <a href="http://barbagroup.bu.edu/Barba_group/PetFMM.html">http://barbagroup.bu.edu/Barba_group/PetFMM.html</a></div>
<div><br></div><div> This uses Sieve constructs to manage data and has a manual and working examples</div><div><br></div><div> 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> c) PyLith: <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> This is a very large code, but uses everything Sieve can do.</div>
<div><br></div><div> d) The tutorial examples: As soon as I fix them, they will be the best intro. The GUCASTutorialCode repo</div><div> should almost work and shows how everything should go for making an FEM code :)</div>
<div><br></div><div> Matt<br><br><div class="gmail_quote">On Wed, May 12, 2010 at 12:29 PM, Yaakoub El Khamra <span dir="ltr"><<a href="mailto:yye00@tacc.utexas.edu">yye00@tacc.utexas.edu</a>></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"><<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">
Sorry Yaakoub,<div><br></div><div> 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> Thanks,</div><div><br></div><div> 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"><<a href="mailto:yye00@tacc.utexas.edu" target="_blank">yye00@tacc.utexas.edu</a>></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<ALE::IMesh<ALE::LabelSifter<int, int, ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > > >, ALE::malloc_allocator<ALE::IMesh<ALE::LabelSifter<int, int, ALE::malloc_allocator<ALE::NewSifterDef::Arrow<int, int> > > > > >&’ from expression of type ‘ALE::Obj<ALE::Mesh, ALE::malloc_allocator<ALE::Mesh> >’</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>