[yt-users] yt installation issues

Kacper Kowalik xarthisius.kk at gmail.com
Tue May 13 12:21:51 PDT 2014


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140513/43d1b6e5/attachment.sig>


More information about the yt-users mailing list