[yt-users] PHOX module memory error and Derived field

John Zuhone jzuhone at gmail.com
Tue Nov 11 12:44:27 PST 2014


Hi Barbara,

Any chance you can post the script you are running the photon_simulator
analysis with? That will help me to identify any other issues.

Best,

John Z

On Mon Nov 10 2014 at 9:51:59 AM John Zuhone <jzuhone at gmail.com> wrote:

> Hi Barbara,
>
> Sorry to hear you're having trouble!
>
> Actually, you are very timely, because I was just working on this now in
> an effort to speed things up, and to use much less memory. I have an
> implementation that's almost ready, but not quite. When it is (in the next
> few days I hope), I will point you to it so that if you like you can try it
> out and see if it helps you.
>
> Also, you are correct about the docs, it should be ds.add_field--I'll also
> be fixing that. Thanks for pointing this out!
>
> Best,
>
> John Z
>
> On Mon Nov 10 2014 at 3:59:50 AM Barbara Ramirez <
> Barbara.Ramirez-Mosquera at uibk.ac.at> wrote:
>
>> Hello!
>>
>> I have recently upgraded from v2.6 to v.3 of yt and I'm having some
>> difficulties
>>
>>   1) I was trying to use the Phox module to generate an x-ray mock
>> observation from a simulated galaxy cluster, however the code gives a
>> memory error while generating "PhotonList"; when doing $top I can see
>> the code taking up to 24Gb of memory. This happens if I select a
>> spherical region bigger than 100 kpc.
>>   Simulation details: I have a 200 Mpc cosmological simulation made in
>> Flash, the smallest resolution cells are 14Kpc. Ideally, I would like to
>> generate a mock observation of at least 5mpc... is this simply not
>> possible? Any ideas how to tackle this issue?
>>
>>   2) The syntax of the first projection PHOX example is a bit strange.
>> shouldn't it be >ds.add_field instead?, Otherwise, we get NameError:name
>> 'add_field' is not defined
>>
>>   Thanks for any suggestions/help!
>>
>> Barbara L. Ramirez M. MSc.
>> Institut für Astro- und Teilchenphysik
>> University of Innsbruck
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20141111/04a43900/attachment.htm>


More information about the yt-users mailing list