[yt-users] yt installation issues

Kaylea Nelson kaylea.nelson at yale.edu
Wed May 14 11:22:29 PDT 2014


That seems to have worked. Thanks for the help!


On Wed, May 14, 2014 at 2:06 AM, Kacper Kowalik <xarthisius.kk at gmail.com>wrote:

> On 05/13/2014 10:09 PM, Kaylea Nelson wrote:
> > Cool, that seems to have run ok! But it didn't generate the bin/activate
> > script?
>
> Unfortunately it didn't. I've pasted the activate script on pastebin[1]
> so you can download it manually. There's only one line you need to edit:
>
> VIRTUAL_ENV="/home/xarth/yt-x86_64"
>
> you'll need to change path so that it points to your yt-x86_64 dir.
>
> Activate script really boils down to exporting PATH, LD_LIBRARY_PATH,
> PYTHONPATH. You could also use the same 'export' snippet that you've
> needed for installation and put it into your .bashrc to have yt
> activated permanently.
>
> Cheers,
> Kacper
>
> [1] http://paste.yt-project.org/show/4620/
>
> >
> > On Tue, May 13, 2014 at 3:21 PM, Kacper Kowalik <xarthisius.kk at gmail.com
> >wrote:
> >
> >> On 13.05.2014 20:00, Kaylea Nelson wrote:
> >>> Hi Matt,
> >>
> >>> Failure.  Check
> >>>
> >>
> /home/fas/nagai/kln26/programs/yt_dir/yt_bleedingedge/yt-x86_64/yt_install.log.
> >>>  The last 10 lines are above.
> >>>
> >>>
> >>> On a related note, whenever I install either version, the install also
> >>> fails when installing ZeroMQ:
> >>>
> >>> Installing mercurial-3.0
> >>> Setting
> >>>
> >>
> YT_DIR=/home/fas/nagai/kln26/programs/yt_dir/yt_bleedingedge/yt-x86_64/src/yt-hg/
> >>> Installing distribute
> >>> Installing pip
> >>> Installing numpy-1.7.1
> >>> Installing matplotlib-1.3.0
> >>> Installing ZeroMQ
> >>> ********************************************
> >>>         FAILURE REPORT:
> >>> ********************************************
> >>>
> >>>   CXX    libzmq_la-ipc_address.lo
> >>>   CXX    libzmq_la-ipc_connecter.lo
> >>> stream_engine.hpp(97): error #82: storage class is not first
> >>>           const static size_t greeting_size = 12;
> >>>                 ^
> >>>
> >>> compilation aborted for ipc_connecter.cpp (code 2)
> >>> make[1]: *** [libzmq_la-ipc_connecter.lo] Error 1
> >>> make[1]: Leaving directory
> >>>
> >>
> `/lustre/home/client/fas/nagai/kln26/programs/yt_dir/yt_bleedingedge/yt-x86_64/src/zeromq-3.2.4/src'
> >>> make: *** [install-recursive] Error 1
> >>>
> >>> ********************************************
> >>> ********************************************
> >>> Failure.  Check
> >>>
> >>
> /home/fas/nagai/kln26/programs/yt_dir/yt_bleedingedge/yt-x86_64/yt_install.log.
> >>>  The last 10 lines are above.
> >>>
> >>> But I just fix the const static to static const in stream_engine.hpp
> and
> >> it
> >>> gets past that particular error (in the stable version anyway). Let me
> >> know
> >>> if I shouldn't be messing with that.
> >>>
> >>> Actually, it appears to get YT_DIR the correctly the first time
> through,
> >>> but when I restart it after fixing the ZeroMQ bug, it fails to set
> >> YT_DIR.
> >>> So, just to be extra thorough, I tried manually setting YT_DIR on l.54
> to
> >>>
> >>
> /home/fas/nagai/kln26/programs/yt_dir/yt_bleedingedge/yt-x86_64/src/yt-hg/
> >>> (as it was set the first time). If I do this, it gets past the above
> >> error
> >>> and I ultimately get the same error as for the stable version (the
> >> original
> >>> reason of this email):
> >>>
> >>> [hit enter]
> >>>
> >>> Awesome!  Here we go.
> >>>
> >>> Using wget
> >>> Using sha512sum
> >>> Downloading xray_emissivity.h5 from yt-project.org
> >>> Installing distribute
> >>> Installing pip
> >>> Installing ZeroMQ
> >>> Installing pyzmq-13.1.0 (arguments:
> >>>
> '--zmq=/home/fas/nagai/kln26/programs/yt_dir/yt_bleedingedge/yt-x86_64')
> >>> Installing tornado-3.1
> >>> Installing ipython-1.1.0
> >>> Installing h5py-2.1.3
> >>> Installing Cython-0.19.1
> >>> Installing Forthon-0.8.11
> >>> Installing nose-1.3.0
> >>> Installing python-hglib-1.0
> >>> Installing sympy-0.7.3
> >>
> >> Hi Kaylea!
> >>
> >> [snip]
> >>> Doing yt update, wiping local changes and updating to branch yt-3.0
> >>> Installing yt
> >>
> >> [snip]
> >>
> >> at this point you should have everything that's required to build yt.
> >> Let's try to install it manually outside of the install_script.sh.
> >> Setting following env vars should do the trick:
> >>
> >> export
> >> YT_DIR=/home/fas/nagai/kln26/programs/yt_dir/yt_bleedingedge/yt-x86_64
> >> export PATH=$YT_DIR/bin:$PATH
> >> export LD_LIBRARY_PATH=$YT_DIR/lib:$LD_LIBRARY_PATH
> >> export PYTHONPATH=$YT_DIR/lib/python2.7/site-packages:$PYTHONPATH
> >> export HDF5_DIR=$YT_DIR
> >> export PNG_DIR=$YT_DIR
> >>
> >> then
> >>
> >> cd $YT_DIR/src/yt-hg
> >> hg update -C yt-3.0
> >> python setup.py install --prefix=$YT_DIR
> >>
> >> Could you please try it out? In the mean time I'll try to setup Red Hat
> >> 6 based environment to reproduce your issue.
> >>
> >> Cheers,
> >> Kacper
> >>
> >>
> >>
> >> _______________________________________________
> >> yt-users mailing list
> >> yt-users at lists.spacepope.org
> >> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >>
> >>
> >
> >
> >
> > _______________________________________________
> > yt-users mailing list
> > yt-users at lists.spacepope.org
> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> >
>
>
>
> _______________________________________________
> 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/20140514/cdcbc764/attachment.html>


More information about the yt-users mailing list