Hi Desika,

Your installation is most likely fine.  There could be two issues here.  First, librockstar doesn't get put into yt's lib directory by default, so you might have to also add the path:
Second, if you are using a mac, you will need to use the variable DYLD_LIBRARY_PATH.

Let us know if that doesn't fix it.


On Mon, Nov 24, 2014 at 3:28 PM, Desika Narayanan <dnarayan@haverford.edu> wrote:
Hey All,

I'm trying to get started with basic Rockstar halo finding in yt (I typically use HOP, though current analysis requires Rockstar).    I'm having trouble with the following line:

>from yt.analysis_modules.halo_finding.rockstar.api import RockstarHaloFinder

which gives the error:  http://paste.yt-project.org/show/5224/

I'm running yt 3.0 (updated this morning).  I just installed Rockstar (I think) by switching on the INST_ROCKSTAR flag in the install script to 1, and re-running the script.  To be sure, I am running in an 'activated' yt, with the following ld_library_path:

>(yt-x86_64)thundersnow:~ desika$ echo $LD_LIBRARY_PATH

Though I note manually adding the directory: 


to my ld_library_path doesn't fix the problem.  Is this symptomatic of an erroneous installation on my part?   


yt-users mailing list