[Yt-dev] hop improvements
Matthew Turk
matthewturk at gmail.com
Mon Apr 20 10:43:08 PDT 2009
Hi guys,
So I think the consensus here is that it doesn't fix the memory
issues, but it does not give bad results. I'm going to commit, but we
can roll back if necessary.
-Matt
On Thu, Apr 16, 2009 at 4:32 PM, Britton Smith <brittonsmith at gmail.com> wrote:
> I just tried it in serial on Stephen's data and it worked. I'll queue it up
> for the larger data. I intend to try a few different processor
> configurations to get some information on the ram usage.
>
> Britton
>
> On Thu, Apr 16, 2009 at 5:19 PM, Matthew Turk <matthewturk at gmail.com> wrote:
>>
>> Guys,
>>
>> What seems to be happening was a floating point comparison issue. It
>> must just be something with the way the particles were aligned in the
>> new dataset compared to the old. Changing the type of 'fm' on line 59
>> of hop_kd.c from 'float' to 'npy_float64' fixed it for me; the loop
>> was never converging as a result, so it ran off the end and segfaulted
>> when it was unable to locate any more data points insie the process's
>> memory. There may be other places that this needs to happen, and I
>> will look for them, but if you could test with this change that'd be
>> awesome.
>>
>> Let me know if that fixes it? And if the memory improves?
>>
>> -Matt
>>
>> On Thu, Apr 16, 2009 at 1:55 PM, Stephen Skory <stephenskory at yahoo.com>
>> wrote:
>> >
>> >> I can replicate the error with D0065 on my laptop. I'll figure it out
>> >> and fix it... Not sure why it's not working with DD0065, but is with
>> >> RD0005. All the dtypes seem the same.
>> >
>> > As a follow-up, yt-hop works fine on this dataset on Ranger with r1252.
>> >
>> > _______________________________________________________
>> > sskory at physics.ucsd.edu o__ Stephen Skory
>> > http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student
>> > ________________________________(_)_\(_)_______________
>> > _______________________________________________
>> > Yt-dev mailing list
>> > Yt-dev at lists.spacepope.org
>> > http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>> >
>> _______________________________________________
>> Yt-dev mailing list
>> Yt-dev at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
>
> _______________________________________________
> Yt-dev mailing list
> Yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
>
More information about the yt-dev
mailing list