[yt-users] Fortran kD tree on Mac OS X 10.8

Stephen Skory s at skory.us
Thu Sep 6 14:15:06 PDT 2012


Hi all,

I have received a report that the Fortran kD tree does not build
correctly on Mac OS X 10.8. For Brian Crosby, when he runs:

from yt.utilities.kdtree import fKD

he gets:

ImportError: dlopen(/Users/crosby/yt-x86_64/lib/python2.7/site-packages/yt-2.5dev-py2.7-macosx-10.4-x86_64.egg/yt/utilities/kdtree/fKDpy.so,
2): Symbol not found: _fkdgetpointerchunk_tags_
  Referenced from:
/Users/crosby/yt-x86_64/lib/python2.7/site-packages/yt-2.5dev-py2.7-macosx-10.4-x86_64.egg/yt/utilities/kdtree/fKDpy.so
  Expected in: flat namespace

I'm wondering if any other users of 10.8 can run the import command
above, and tell me what you get? I'd like to narrow this down to
Brian's 10.8, or 10.8 in general. If you get an error like
"ImportError: No module named fKD", I'd like you to please try the
following:

- Make sure you have Forthon installed. Try "Forthon" from the command
line, if it prints some stuff, you're set. If not, you can get it here
http://hifweb.lbl.gov/Forthon/

- Go to your yt install directory, and navigate to the
src/yt-hg/yt/utilities/kdtree directory. In there, please type "make".

- Navigate up three levels (cd ../../..) and type "python setup.py install"

with this done, please try the first import command above again, and
if you get an interesting error message, please send it back.

Thanks!

-- 
Stephen Skory
s at skory.us
http://stephenskory.com/
510.621.3687 (google voice)



More information about the yt-users mailing list