<div>For me, what works is using an older version of Forthon at:</div><div><a href="http://hifweb.lbl.gov/Forthon/Forthon-0.8.7.tgz">http://hifweb.lbl.gov/Forthon/Forthon-0.8.7.tgz</a></div><div>I just copied the download link from the official site and changed the 0.8.10 to 0.8.7.  I believe Stephen has asked the Forthon author to fix the installation issue but I have not attempted to use the latest.</div>
<div> </div><div>From</div><div>G.S.<br><br></div><div class="gmail_quote">On Wed, Aug 29, 2012 at 10:05 AM, Francia F. Riesco <span dir="ltr"><<a href="mailto:ff2214@columbia.edu" target="_blank">ff2214@columbia.edu</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">   Dear All,<br>
   First, thank you for the previous help that I got from the ML. Now I<br>
    have another issue.<br>
    Traceback (most recent call last):<br>
       File "/astro/py/halo_finder.py", line 14, in <module><br>
         hp = HP.HaloProfiler(fn, halo_list_file='HopAnalysis.<u></u>out')<br>
       File<br>
    "/astro/yt/yt-x86_64/src/yt-<u></u>hg/yt/analysis_modules/halo_<u></u>profiler/multi_halo_profiler.<u></u>py", line 310, in<br>
    __init__<br>
         self._load_halo_data()<br>
       File<br>
    "/astro/yt/yt-x86_64/src/yt-<u></u>hg/yt/analysis_modules/halo_<u></u>profiler/multi_halo_profiler.<u></u>py", line 967, in<br>
    _load_halo_data<br>
         self._run_hop(hop_file)<br>
       File<br>
    "/astro/yt/yt-x86_64/src/yt-<u></u>hg/yt/analysis_modules/halo_<u></u>profiler/multi_halo_profiler.<u></u>py", line 1124, in<br>
    _run_hop<br>
         **self.halo_finder_kwargs)<br>
       File<br>
    "/astro/yt/yt-x86_64/src/yt-<u></u>hg/yt/analysis_modules/halo_<u></u>finding/halo_objects.py", line 2268, in<br>
    __init__<br>
         premerge=premerge, tree=self.tree)<br>
       File<br>
    "/astro/yt/yt-x86_64/src/yt-<u></u>hg/yt/analysis_modules/halo_<u></u>finding/halo_objects.py", line 1639, in<br>
<br>
- Ignored:<br>
    __init__<br>
         HaloList.__init__(self, data_source, dm_only)<br>
       File<br>
    "/astro/yt/yt-x86_64/src/yt-<u></u>hg/yt/analysis_modules/halo_<u></u>finding/halo_objects.py", line 1067, in<br>
    __init__<br>
         self._run_finder()<br>
       File<br>
    "/astro/yt/yt-x86_64/src/yt-<u></u>hg/yt/analysis_modules/halo_<u></u>finding/halo_objects.py", line 1667, in<br>
    _run_finder<br>
         tree=self.tree)<br>
       File<br>
    "/astro/yt/yt-x86_64/src/yt-<u></u>hg/yt/analysis_modules/halo_<u></u>finding/parallel_hop/parallel_<u></u>hop_interface.py", line 73, in<br>
    __init__<br>
         self._chain_hop()<br>
       File<br>
    "/astro/yt/yt-x86_64/src/yt-<u></u>hg/yt/analysis_modules/halo_<u></u>finding/parallel_hop/parallel_<u></u>hop_interface.py", line 1536, in<br>
    _chain_hop<br>
         self._init_kd_tree()<br>
       File<br>
    "/astro/yt/yt-x86_64/src/yt-<u></u>hg/yt/analysis_modules/halo_<u></u>finding/parallel_hop/parallel_<u></u>hop_interface.py", line 351, in<br>
    _init_kd_tree<br>
         fKD.dens = na.zeros(self.size, dtype='float64', order='F')<br>
    NameError: global name 'fKD' is not defined<br>
<br>
    I tried to install Fortran kD Tree Setup<br>
    <a href="http://yt-project.org/doc/analysis_modules/running_halofinder.html?highlight=friend%20friend" target="_blank">http://yt-project.org/doc/<u></u>analysis_modules/running_<u></u>halofinder.html?highlight=<u></u>friend%20friend</a><br>

<br>
    But I got the follow error.<br>
    Using Forthon ()<br>
    Forthon -F gfortran --compile_first fKD_source --no2underscores<br>
    --with-numpy --fopt "-O3" fKD fKD_source.f90<br>
    Usage: Forthon [options] pkgname [extra Fortran or C files to be<br>
    compiled or objects to link] [options for distutils]<br>
<br>
    Forthon: error: no such option: --with-numpy<br>
    make: *** [fKD] Error 2<br>
    X-Riesco-Francia:kdtree friesco$ sudo make<br>
    Using Forthon ()<br>
    Forthon -F gfortran --compile_first fKD_source --no2underscores<br>
    --with-numpy --fopt "-O3" fKD fKD_source.f90<br>
    Usage: Forthon [options] pkgname [extra Fortran or C files to be<br>
    compiled or objects to link] [options for distutils]<br>
<br>
    Forthon: error: no such option: --with-numpy<br>
    make: *** [fKD] Error 2<br>
<br>
    I am using Mac IOS Lion 10.7.4 and the latest YT build<br>
    Thank in Advance<br>
______________________________<u></u>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/<u></u>listinfo.cgi/yt-users-<u></u>spacepope.org</a><br>
</blockquote></div><br>