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

Devin Silvia devin.silvia at gmail.com
Fri Sep 7 10:09:15 PDT 2012


Hi Stephen,

I'm running 10.8 and I just ran through your outlined process of
installing Forthon and making the kdtree directory.  My import
commands appears to work just fine.  Hope that's useful.

-Devin

On Thu, Sep 6, 2012 at 3:15 PM, Stephen Skory <s at skory.us> wrote:
> 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)
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



-- 
"I'm here to fight for truth, and justice, and the American way."



More information about the yt-users mailing list