[yt-users] Ramses without hydro
Sam Geen
samgeen at astro.ox.ac.uk
Tue Apr 15 06:24:23 PDT 2014
Hi Marcelo,
I believe a fix has been merged into the branch yt-3.0 of the yt
repository, i.e. call:
hg pull && hg update yt-3.0
Let me know if this works for you or if it throws an exception again.
Note that I believe the particle field names have been updated recently
(e.g. particle_mass instead of ParticleMassMsun), so be careful with that.
Cheers,
Sam
On 14/04/2014 23:19, Sam Geen wrote:
> OK, my local version wasn't up to date, which is why I was confused
> before. There seems to be a check for a hydro file (line 370 of
> data_structures.py) but I don't think it'd work (it's a check against
> a string, not against an os.path.exists call), and it'd only run if
> you're checking for fields. I suspect it's a bug in the latest version
> of the RAMSES frontend, and we should check that yt doesn't throw an
> error if you try to feed it a particle-only dataset, i.e. do a check
> for a "hydro_?????.out00001" file, and only read if it exists. If I
> get time tomorrow I might try to take a look.
>
> On 14/04/14 22:59, Marcelo Vargas dos Santos wrote:
>> yt module located at:
>> /home/marcelo/Downloads/yt-x86_64/src/yt-hg
>> The supplemental repositories are located at:
>> /home/marcelo/Downloads/yt-x86_64/src/yt-supplemental
>> aviso: ignorando pai desconhecido do diretório de trabalho
>> '794b2beb2c48'!
>>
>> The current version of the code is:
>>
>> ---
>> 000000000000
>> ---
>>
>> This installation CAN be automatically updated.
>> yt dependencies were last updated on
>> Qui Abr 10 19:15:16 BRT 2014
>>
>> To update all dependencies, run "yt update --all".
>>
>>
>>
>> On 14 April 2014 17:57, Nathan Goldbaum <nathan12343 at gmail.com
>> <mailto:nathan12343 at gmail.com>> wrote:
>>
>> Hi Marcelo,
>>
>> Can you tell us the output of 'yt instinfo' run from the command
>> line? That will give more precise version information.
>>
>> -Nathan
>>
>>
>> On Mon, Apr 14, 2014 at 1:56 PM, Marcelo Vargas dos Santos
>> <marcelovsrj at gmail.com <mailto:marcelovsrj at gmail.com>> wrote:
>>
>> Sorry, i'm using the Bleeding Edge version. There's no 4.0.0
>>
>>
>> On 14 April 2014 17:55, Marcelo Vargas dos Santos
>> <marcelovsrj at gmail.com <mailto:marcelovsrj at gmail.com>> wrote:
>>
>> I'm using the yt-4.0.0.
>>
>>
>> On 14 April 2014 17:53, Sam Geen <samgeen at astro.ox.ac.uk
>> <mailto:samgeen at astro.ox.ac.uk>> wrote:
>>
>> Out of interest, Marcelo, what version are you using?
>> I just looked at the yt-3.0 code and it looks a
>> little different, and doesn't seem to rely on hydro
>> files existing as your log suggests. If you're not
>> using yt-3.0 it's definitely worth trying it for the
>> RAMSES module.
>>
>>
>> On 14/04/14 22:17, Kim, Ji-hoon wrote:
>>
>> Dear Marcelo,
>>
>> As noted by Matt, you may want to take a look at
>> the yt script that was developed and used by the
>> AGORA collaboration, to analyze the dark
>> matter-only simulations of various astrophysical
>> codes including Ramses.
>> https://bitbucket.org/mornkr/agora-analysis-script/src/655e46d0b3a06d2e6da222a0f50f79ca5da3b48f/script-Flagship-DM.py?at=default
>>
>> Thank you very much.
>>
>> Best wishes,
>> Ji-hoon
>>
>>
>> -------------------------------------------------------------------------
>> Ji-hoon Kim
>> Postdoctoral Scholar in Astrophysics at Caltech
>> www.jihoonkim.org <http://www.jihoonkim.org>
>> me at jihoonkim.org <mailto:me at jihoonkim.org> /
>> 1(650)714-2879 <tel:1%28650%29714-2879>
>> -------------------------------------------------------------------------
>>
>>
>>
>>
>> On Apr 14, 2014, at 12:57 PM, Matthew Turk
>> <matthewturk at gmail.com
>> <mailto:matthewturk at gmail.com>> wrote:
>>
>> Hi Marcelo,
>>
>> Sorry to hear you're having trouble. I
>> haven't done much with RAMSES
>> dark matter only simulations, but I think
>> that Ji-hoon Kim may have in
>> support of the AGORA project. Additionally,
>> others here might have
>> some experience.
>>
>> In general, we are happy to help get things
>> working and running --
>> this seems like a genuine bug which we will
>> need to address. Can you
>> post the full traceback?
>>
>> -Matt
>>
>> On Mon, Apr 14, 2014 at 3:45 PM, Marcelo
>> Vargas dos Santos
>> <marcelovsrj at gmail.com
>> <mailto:marcelovsrj at gmail.com>> wrote:
>>
>> I'm trying to use HaloFinders on a ramses
>> simulation without hydro. but it's
>> not working. Tha error message is:
>>
>> No such file or directory:
>> '/home/marcelo/Simulations/NBody/Ramses/branches/ramses_omp/run1/output_00001/hydro_00001.out00001'
>>
>> someone know how to fix it?
>>
>> Best.
>>
>> --
>> Marcelo Vargas dos Santos
>> Professor e Doutorando
>>
>> Sala A 318-05
>> Tel.: (21) 2562-7276
>> <tel:%2821%29%202562-7276>
>> E-mails: vargas at if.ufrj.br
>> <mailto:vargas at if.ufrj.br>,
>> marcelovsrj at gmail.com
>> <mailto:marcelovsrj at gmail.com>
>> Departamento de Física Teórica -
>> Instituto de Física
>> Universidade Federal do Rio de Janeiro
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> <mailto:yt-users at lists.spacepope.org>
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> <mailto:yt-users at lists.spacepope.org>
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> <mailto:yt-users at lists.spacepope.org>
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> <mailto:yt-users at lists.spacepope.org>
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>
>>
>>
>> --
>> Marcelo Vargas dos Santos
>> Professor e Doutorando
>>
>> Sala A 318-05
>> Tel.: (21) 2562-7276 <tel:%2821%29%202562-7276>
>> E-mails: vargas at if.ufrj.br <mailto:vargas at if.ufrj.br>,
>> marcelovsrj at gmail.com <mailto:marcelovsrj at gmail.com>
>> Departamento de Física Teórica - Instituto de Física
>> Universidade Federal do Rio de Janeiro
>>
>>
>>
>>
>> --
>> Marcelo Vargas dos Santos
>> Professor e Doutorando
>>
>> Sala A 318-05
>> Tel.: (21) 2562-7276 <tel:%2821%29%202562-7276>
>> E-mails: vargas at if.ufrj.br <mailto:vargas at if.ufrj.br>,
>> marcelovsrj at gmail.com <mailto:marcelovsrj at gmail.com>
>> Departamento de Física Teórica - Instituto de Física
>> Universidade Federal do Rio de Janeiro
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> <mailto:yt-users at lists.spacepope.org>
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org <mailto:yt-users at lists.spacepope.org>
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>
>>
>>
>> --
>> Marcelo Vargas dos Santos
>> Professor e Doutorando
>>
>> Sala A 318-05
>> Tel.: (21) 2562-7276
>> E-mails: vargas at if.ufrj.br <mailto:vargas at if.ufrj.br>,
>> marcelovsrj at gmail.com <mailto:marcelovsrj at gmail.com>
>> Departamento de Física Teórica - Instituto de Física
>> Universidade Federal do Rio de Janeiro
>>
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
>
> _______________________________________________
> 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/20140415/4bebda86/attachment.html>
More information about the yt-users
mailing list