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:
/Users/desika/yt-x86_64/src/rockstar
to your LD_LIBRARY_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.
Britton
On Mon, Nov 24, 2014 at 3:28 PM, Desika Narayanan
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 /Users/desika/yt-x86_64/lib:/opt/gsl/lib:
Though I note manually adding the directory:
/Users/desika/yt-x86_64/src/yt-hg/yt/analysis_modules/halo_finding/rockstar/
to my ld_library_path doesn't fix the problem. Is this symptomatic of an erroneous installation on my part?
thanks -desika
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org