[yt-users] Fortran kD Tree Setup and Clumps

Matthew Turk matthewturk at gmail.com
Thu Aug 30 10:26:31 PDT 2012


On Thu, Aug 30, 2012 at 1:24 PM, Stephen Skory <s at skory.us> wrote:
> Hi Francia & Matt,
>
>> On Thu, Aug 30, 2012 at 12:38 PM, Francia F. Riesco <ff2214 at columbia.edu> wrote:
>>>   Everybody good afternoon,
>>>     about Fortran kD Tree Setup, just to keep thread with my fix.
>>>     1) I downloaded the YT-DEV version and it didn't fix my problem.
>>>     However, when I downloaded Forthon-0.8.7.tgz it did the trick.
>>
>> Stephen, Geoffrey -- what's the summary of why this is still a
>> problem?  If we know that Forthon-0.8.7 fixes the issue, why can't we
>> just revert to that in the install script?
>
> The issue is that right now a user still needs to manually cd into the
> yt/utilities/kdtree directory and run "make", and then do "python
> setup.py install" at the top level, in order for the fortran shared
> object to work. Starting from a completely clean install of yt-dev
> (from the install_script.sh), I just now verified that this is what
> needs to be done to make things work. Is there a way to have "make"
> called from the setup process?

Not without mucking about with subprocess, I think.  What about
contacting the author and asking if he could modify the way that
forthon calls distutils so that we could add it as a subpackage, like
we do for Cython code.

Or, alternately, why not just do this in the install script?

-Matt

>
> --
> 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



More information about the yt-users mailing list