<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">Hi all,<br><br>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.<br><br>Is this where I should start: <a href="http://enzo.readthedocs.org/en/latest/user_guide/EmbeddedPython.html">http://enzo.readthedocs.org/en/latest/user_guide/EmbeddedPython.html</a> ?<br><br>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?<br><br><div><br></div><div>Thank you!</div><div>Yuan</div></div>