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

Matthew Turk matthewturk at gmail.com
Thu May 14 06:00:38 PDT 2015


Hi Yuan,

Looks like it's a simple mistake -- you should be using Python 2.7
everywhere.  :)

On Wed, May 13, 2015 at 12:49 PM, Yuan Li <yuan at astro.columbia.edu> wrote:
> 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
>
> _______________________________________________
> 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




More information about the yt-users mailing list