[yt-users] yt on 'astronomy computing today'

Matthew Turk matthewturk at gmail.com
Mon Sep 10 08:11:08 PDT 2012


Hi Peter,

On Sun, Sep 9, 2012 at 11:59 AM, Peter Teuben <teuben at astro.umd.edu> wrote:
> I'm sure some of you have seen Berriman's blog on yt.
>
> http://astrocompute.wordpress.com/2012/09/07/yt-an-integrated-science-environment-for-astrophysical-simulations/

Wow!  I do read Bruce Berriman's blog, but I hadn't seen this entry
yet.  Thanks for passing this along!

>
> so I certainly got energized and decided to install yt again. I hope
> this mailing list is ok to go over an installation problem, since I got
> stuck on something pretty silly now:

It's totally fine -- and happy to hear you're testing yt out again!
If you end up needing some data, we've also recently put some sample
data online:

http://yt-project.org/data/

>
>
> the  "yt serve" command comes back and tells me i need to install
> missing Reason support files.  It gives an example what to do (has a
> minor typo)
>
>             cd /home/teuben/yt/yt-x86_64:/src
>                                                           ^^^^   (no colon)
>             wget http://yt-project.org/dependencies/reason-js-20120623.zip

Hmm, this is a bit odd.  Digging into the code, this message is issued
by lines 95-96 in yt/gui/reason/utils.py, which look like:

reasonjs_path = os.path.join(os.environ["YT_DEST"], "src", fn)
if not os.path.isfile(reasonjs_path):
    ...

I'm wondering if possibly YT_DEST, in your environment, might have a
trailing semicolon?  If so, can you run again without the trailing
semicolon?

>
> but i see there was already a reason-js-20120623.zip in that location.
> It was not unzipped, unzipping it doesn't give me any suggestions what
> to do to install it, or where to copy this. Would be useful to add this
> to the online screen suggestions how to resolve this.

I'll make a note of this in the install script, but in fact it doesn't
need to be unzipped -- yt will open the zipfile directly and read the
files in memory from it.  We ended up going with this solution because
of the large number of files included, and because we wanted a single
monolithic item that could be grabbed and shipped around,
independently versioned.  I'm thinking that future iterations may want
to auto-download, but as our first attempt out of the gate we tried
not to get overly ambitious.  :)

Let us know if the YT_DEST env var ends up being the source, and if
not, we'll take it from there -- and thanks for the feedback and the
pointer to the blog post!

-Matt

>
> google searching the yt-dev list i think i see how it's supposed to
> work.  No details on how to install this though. i can see it's
> javascript. google chrome is my default browser.  Ubuntu 12.04 LTS (now
> 12.04.1) is what I run.
>
> peter
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



More information about the yt-users mailing list