[Yt-dev] hop improvements

Britton Smith brittonsmith at gmail.com
Thu Apr 16 12:59:31 PDT 2009


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.

On Thu, Apr 16, 2009 at 1:53 PM, Stephen Skory <stephenskory at yahoo.com>wrote:

>
> Hi,
>
> I applied the patch and downloaded the .h file, and hop is segfaulting on
> Ranger:
>
> Copying arrays for 262144 particles
> Calling hop... 262144 1.600e+02
> nSmooth = 65 kd->nActive = 262144
> Building Tree...
> Segmentation fault
>
> I've removed any .yt files just to be sure. There were no errors with
> building hop with 'python setup.py install' in yt:
>
> http://paste.enzotools.org/show/98/
>
> 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
>
> -            c[i].fSplit = kd->p[m].r[d];
> +            c[i].fSplit = NP_POS(kd, m, d);
>
> 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?
>
>  _________________________________________________________
> sskory at physics.ucsd.edu           o__  Stephen Skory
> http://physics.ucsd.edu/~sskory/ <http://physics.ucsd.edu/%7Esskory/> _.>/
> _Graduate Student
> ________________________________(_)_\(_)_______________
> _______________________________________________
> Yt-dev mailing list
> Yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20090416/1dfa5c4b/attachment.htm>


More information about the yt-dev mailing list