I have also applied this patch on Ranger, but I am still waiting for the hop job to run.  Hopefully, soon I can add another data point to this.<br><br><div class="gmail_quote">On Thu, Apr 16, 2009 at 1:53 PM, Stephen Skory <span dir="ltr"><<a href="mailto:stephenskory@yahoo.com">stephenskory@yahoo.com</a>></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;"><br>
Hi,<br>
<br>
I applied the patch and downloaded the .h file, and hop is segfaulting on Ranger:<br>
<br>
Copying arrays for 262144 particles<br>
Calling hop... 262144 1.600e+02<br>
nSmooth = 65 kd->nActive = 262144<br>
Building Tree...<br>
Segmentation fault<br>
<br>
I've removed any .yt files just to be sure. There were no errors with building hop with 'python setup.py install' in yt:<br>
<br>
<a href="http://paste.enzotools.org/show/98/" target="_blank">http://paste.enzotools.org/show/98/</a><br>
<br>
Looking at hop_hop.c, it looks like it's crashing in kdBuildTree(kd) in hop_kd.c, and the only new part there is<br>
<br>
-            c[i].fSplit = kd->p[m].r[d];<br>
+            c[i].fSplit = NP_POS(kd, m, d);<br>
<br>
which refers to the new stuff in hop_numpy.h. Are there changes to setup.py that weren't in the diff? Say, having to do with _NUMPY_HOP_H?<br>
<br>
 _________________________________________________________<br>
<div><div></div><div class="h5"><a href="mailto:sskory@physics.ucsd.edu">sskory@physics.ucsd.edu</a>           o__  Stephen Skory<br>
<a href="http://physics.ucsd.edu/%7Esskory/" target="_blank">http://physics.ucsd.edu/~sskory/</a> _.>/ _Graduate Student<br>
________________________________(_)_\(_)_______________<br>
_______________________________________________<br>
Yt-dev mailing list<br>
<a href="mailto:Yt-dev@lists.spacepope.org">Yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</div></div></blockquote></div><br>