[yt-users] running yt on Ranger

Yuan Li yuan at astro.columbia.edu
Sun Nov 4 12:52:11 PST 2012


Hi all,

I am having some trouble running yt on Ranger, and I am confused
because a couple of other people load the same modules and they can
run yt without any problem.

Right now, I can only run yt after I activate it (source
~/source/yt-x86_64/bin/activate). If I do not activate yt, and I try
to import yt in python (I use the one that came with yt):
from yt.mods import *

I get this error:
ImportError: libpng15.so.15: cannot open shared object file: No such
file or directory

The module I load before running yt is this:
module swap intel gcc/4.4.3
which inactivates these modules:
Inactive Modules:
  1) mvapich-devel     2) acml     3) hdf5


In my .bashrc file, I have:
export PATH=$PATH:/share/home/01688/yuanli/source/yt-x86_64/bin
export PATH=$PATH:/share/home/01688/yuanli/source/yt-x86_64/lib/python2.7/site-packages


Hope there is an easy fix.

Thank you!
Yuan



More information about the yt-users mailing list