<div dir="ltr">Thanks - I'll give that a try!<div><br></div><div>-Brian</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 11, 2015 at 9:53 AM, Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Brian,<br>
<br>
You have to rebuild yt, with the rockstar.cfg file pointing at your<br>
Rockstar source directory, to get it to build the support libs.<br>
<div><div class="h5"><br>
On Tue, Aug 11, 2015 at 7:08 AM, Brian O'Shea <<a href="mailto:bwoshea@gmail.com">bwoshea@gmail.com</a>> wrote:<br>
> Hi folks,<br>
><br>
> I'm using Enzo on Blue Waters, and to get it working I needed to install<br>
> anaconda and then install yt-3 from source (i.e., by 'hg clone<br>
> <a href="https://bitbucket.org/yt_analysis/yt" rel="noreferrer" target="_blank">https://bitbucket.org/yt_analysis/yt</a>' and then 'python setup.py develop').<br>
><br>
> This does not install rockstar by default, unfortunately, and I am having<br>
> trouble getting rockstar working (although yt itself works great).  I've<br>
> tried to essentially mimic the rockstar portion of the install script for<br>
> yt-3 (<a href="https://bitbucket.org/yt_analysis/yt/raw/yt/doc/install_script.sh" rel="noreferrer" target="_blank">https://bitbucket.org/yt_analysis/yt/raw/yt/doc/install_script.sh</a>) by<br>
> doing the following:<br>
><br>
>> hg clone <a href="http://bitbucket.org/MatthewTurk/rockstar" rel="noreferrer" target="_blank">http://bitbucket.org/MatthewTurk/rockstar</a><br>
>> hg pull<br>
>> hg up -C tip<br>
>> make lib<br>
>> cp librockstar.so  ~/local_lib/lib/.<br>
><br>
> and then pointing to ~/local_lib/lib with LD_LIBRARY_PATH (using the full<br>
> path, not the '~/' convention).  However, even when I do this I still can't<br>
> seem to persuade the rockstar interface code in yt to find rockstar.<br>
> Attempting to import rockstar in a script by:<br>
><br>
> from yt.analysis_modules.halo_finding.rockstar.api import RockstarHaloFinder<br>
><br>
> results in this error:<br>
><br>
> ImportError    : from .rockstar import RockstarHaloFinder<br>
> cannot import name rockstar_interface<br>
><br>
> and the script immediately exits.  When I look at the directory<br>
> yt/analysis_modules/halo_finding/rockstar in a version of yt that has been<br>
> installed from a script, there are some additional .so files<br>
> (rockstar_groupies.so and rockstar_interface.so) that aren't in my source<br>
> install, even when I've run 'python setup.py develop' in that directory.<br>
><br>
> I feel like I'm doing something obviously wrong here.  Any suggestions?<br>
><br>
> Thanks!<br>
><br>
> --Brian<br>
><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote></div><br></div>