[yt-users] yt installation issues

Kaylea Nelson kaylea.nelson at yale.edu
Tue May 13 11:00:37 PDT 2014


Hi Matt,

Thanks for getting back to me.

I tried installing the bleeding edge version and am getting the following
failure. It seems like YT_DIR isn't getting set? I don't have this problem
with the stable version.

[hit enter]

Awesome!  Here we go.

Using wget
Using sha512sum
Downloading xray_emissivity.h5 from yt-project.org
Setting YT_DIR=
Installing distribute
********************************************
        FAILURE REPORT:
********************************************

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
/home/fas/nagai/kln26/programs/yt_dir/yt_bleedingedge/yt-x86_64/bin/python2.7:
can't open file '/distribute_setup.py': [Errno 2] No such file or directory
/home/fas/nagai/kln26/programs/yt_dir/yt_bleedingedge/yt-x86_64/bin/python2.7:
can't open file '/distribute_setup.py': [Errno 2] No such file or directory
/home/fas/nagai/kln26/programs/yt_dir/yt_bleedingedge/yt-x86_64/bin/python2.7:
can't open file '/distribute_setup.py': [Errno 2] No such file or directory
/home/fas/nagai/kln26/programs/yt_dir/yt_bleedingedge/yt-x86_64/bin/python2.7:
can't open file '/distribute_setup.py': [Errno 2] No such file or directory
/home/fas/nagai/kln26/programs/yt_dir/yt_bleedingedge/yt-x86_64/bin/python2.7:
can't open file '/distribute_setup.py': [Errno 2] No such file or directory
/home/fas/nagai/kln26/programs/yt_dir/yt_bleedingedge/yt-x86_64/bin/python2.7:
can't open file '/distribute_setup.py': [Errno 2] No such file or directory
/home/fas/nagai/kln26/programs/yt_dir/yt_bleedingedge/yt-x86_64/bin/python2.7:
can't open file '/distribute_setup.py': [Errno 2] No such file or directory
/home/fas/nagai/kln26/programs/yt_dir/yt_bleedingedge/yt-x86_64/bin/python2.7:
can't open file '/distribute_setup.py': [Errno 2] No such file or directory

********************************************
********************************************
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
Doing yt update, wiping local changes and updating to branch yt-3.0
Installing yt
********************************************
        FAILURE REPORT:
********************************************

pulling from https://bitbucket.org/yt_analysis/yt/
searching for changes
no changes found
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
The required version of distribute (>=0.6.32) is not available,
and can't be installed while this script is running. Please
install a more recent version first, using
'easy_install -U distribute'.

(Currently using distribute 0.6.21
(/lustre/home/client/apps/fas/Langs/Python/2.7.2/lib/python2.7/site-packages/distribute-0.6.21-py2.7.egg))

********************************************
********************************************
Failure.  Check
/home/fas/nagai/kln26/programs/yt_dir/yt_bleedingedge/yt-x86_64/yt_install.log.
 The last 10 lines are above.


Thanks,
Kaylea


On Tue, May 13, 2014 at 7:38 AM, Matthew Turk <matthewturk at gmail.com> wrote:

> Hi Kaylea,
>
> Wow!  That's super weird.  Would you mind having another go, wiping
> the yt-x86_64 directory, and trying the "bleeding edge" install
> script?  I'm wondering if one of the updates there -- maybe to SSL or
> something -- would fix it.  Indeed, it shouldn't be using the system
> python...
>
> -Matt
>
> On Mon, May 12, 2014 at 1:29 PM, Kaylea Nelson <kaylea.nelson at yale.edu>
> wrote:
> > Hi,
> >
> > I'm trying to install the latest stable yt version via the
> install_script.sh
> > on a Red Hat 6 based HPC. I'm getting a very confusing error during the
> > final steps of the installation, which can be seen here:
> > http://paste.yt-project.org/show/4612/
> >
> > Basically, during the step where yt updates from the repo and then
> attempts
> > to install, it looks in a very odd place for the distribute python
> package.
> > I can't simply update that version, because I'm on an HPC, but I think
> the
> > problem is deeper than that. Its looking for it in a version of python
> that
> > I don't even have loaded in my environment, in a directory that isn't in
> my
> > PYTHONPATH. I've tried wiping out my python path prior to install as
> well,
> > but with the same results. From my understanding, yt shouldn't even be
> > trying to use the system version of python any way?
> >
> > Any help would be much appreciated!
> >
> > Kaylea
> >
> > _______________________________________________
> > 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/20140513/06700815/attachment.html>


More information about the yt-users mailing list