Hello,<br><br>I am on a Mac, and I didn&#39;t use &quot;--with-shared=0&quot; when I configured PETSc originally, but I just re-ran it with that option and got the same error.&nbsp; I even completely deleted and re-installed PETSc because I wasn&#39;t positive it had overwritten itself properly.&nbsp; It still crashed at exactly the same place.&nbsp; I&#39;ve attached configure_vars for you.<br>

<br>The particle tracker slipped my mind in the last email, but it&#39;s definitely in the top three... this is why I want to get the profiler working!<br><br>Thanks again,<br><br>Neil<br><br><div class="gmail_quote">On Tue, Jan 13, 2009 at 3:49 PM, Walter Landry <span dir="ltr">&lt;<a href="mailto:walter@geodynamics.org" target="_blank">walter@geodynamics.org</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>&quot;Neil de Laplante&quot; &lt;<a href="mailto:neildlp@mit.edu" target="_blank">neildlp@mit.edu</a>&gt; wrote:<br>



&gt; Hello Walter,<br>
&gt;<br>
&gt; I got the previous problem figured out; it was actually a PETSc issue hidden<br>
&gt; in not having the correct fortran compiler installed, making for a pretty<br>
&gt; cryptic error message. &nbsp;Anyway, I have a new problem:<br>
&gt;<br>
&gt; When I run &quot;make -d&quot; in the Gale home directory, it crashes when it can&#39;t find<br>
&gt; a StGermain file deep in the code (I think):<br>
<br>
</div>I do not think the &quot;-d&quot; option has any effect, since it is not passed<br>
on to scons.<br>
<div><br>
&gt; — unknown option: -rpath=/Users/oeit/Documents/NdLp_CUDA/PETSc/petsc-2.3.2-p10<br>
&gt; /lib/darwin9.6.0-c-debug<br>
&gt; collect2: ld returned 1 exit status<br>
&gt; scons: *** [build/StGermain/Base/FlattenXML/src/FlattenXML] Error 1<br>
&gt; scons: building terminated because of errors.<br>
&gt; Reaping losing child 0x001095f0 PID 28833<br>
&gt; make: *** [all] Error 2<br>
&gt; Removing child 0x001095f0 PID 28833 from chain.<br>
&gt;<br>
&gt; Sure enough, there&#39;s no /src/FlattenXML directory or file, so I don&#39;t know<br>
&gt; what it was looking for or why. &nbsp;Any suggestions?<br>
<br>
</div>It looks like it does not like the &quot;-rpath&quot; option. &nbsp;I am guessing<br>
that you are using a Mac? &nbsp;Did you configure petsc with the option<br>
&quot;--with-shared=0&quot;? &nbsp;Can I see a copy of &quot;configure_vars&quot; in your Gale<br>
directory?<br>
<div><br>
&gt; For a bit of context, I&#39;m trying to recompile it myself to add debugging flags<br>
&gt; so that I can profile the code. &nbsp;Once I&#39;ve got that figured out I&#39;m going to<br>
&gt; port the bottlenecks, which I&#39;m guessing are the finite element integrals and<br>
&gt; matrix solvers, to compute on Graphics Processing Units (GPUs) using CUDA.<br>
<br>
</div>Actually, I think the biggest bottlenecks are particle calculations<br>
and matrix assembly. &nbsp;But I have not done a rigorous analysis.<br>
<div><div></div><div><br>
Cheers,<br>
Walter Landry<br>
<a href="mailto:walter@geodynamics.org" target="_blank">walter@geodynamics.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Neil de Laplante<br><br>PhD Candidate in Geophysics<br>Earth, Atmospheric and Planetary Sciences<br>Massachusetts Institute of Technology<br>77 Massachusetts Ave 54-615<br>


Cambridge, MA, USA 02139<br>(617) 999-6528<br><a href="mailto:neildlp@mit.edu" target="_blank">neildlp@mit.edu</a><br>