[yt-users] yt inline (feed information to Enzo)

Yuan Li yuan at astro.columbia.edu
Wed May 13 10:49:19 PDT 2015


Hi all,

I am trying to calculate the mass flux through a sphere and modify a
simulation parameter accordingly. I heard that it is possible to use yt to
extract information from an Enzo simulation and feed it back to Enzo, but I
was having a hard time finding an example.

Is this where I should start:
http://enzo.readthedocs.org/en/latest/user_guide/EmbeddedPython.html ?

If not, please direct me to the right place. If that is what I should be
looking at, I am having trouble compiling Enzo with "make python-yes". I
tried to use the python 2.7 that comes with yt2.x, but got an error message
related to "architecture x86_64" on my macbook (I am able to compile Enzo
with python-no). I looked at the example Make.mach.orange.
LOCAL_INCLUDES_PYTHON is using python2.7, but LOCAL_LIBS_PYTHON is using
python2.6. I am confused: is that how it is supposed to be done? Do I have
to install a python2.6 separately?


Thank you!
Yuan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150513/481fd22a/attachment.htm>
-------------- next part --------------
_______________________________________________
yt-users mailing list
yt-users at lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org


More information about the yt-users mailing list