[yt-users] rockstar loading

Britton Smith brittonsmith at gmail.com
Mon Nov 24 08:33:50 PST 2014


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 <dnarayan at 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
> /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 at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20141124/f35a31b4/attachment.html>


More information about the yt-users mailing list