Install yt on Eureka.alcf.anl.gov
Dear yter, Is there anyone who once successfully installed "stable" version of yt on Eureka.alcf.anl.gov? I've tried: $ wget http://hg.yt-project.org/yt/raw/stable/doc/install_script.sh $ bash install_script.sh but it got stuck during the installation of Mercurial: Downloading HDF5 Downloading hdf5-1.8.7.tar.gz from yt-project.org Downloading zlib-1.2.3.tar.bz2 from yt-project.org Downloading bzip2-1.0.5.tar.gz from yt-project.org Downloading libpng-1.2.43.tar.gz from yt-project.org Downloading freetype-2.4.4.tar.gz from yt-project.org Downloading sqlite-autoconf-3070500.tar.gz from yt-project.org Downloading Python-2.7.2.tgz from yt-project.org Downloading numpy-1.6.1.tar.gz from yt-project.org Downloading matplotlib-1.1.0.tar.gz from yt-project.org Downloading mercurial-2.0.tar.gz from yt-project.org Downloading ipython-0.10.tar.gz from yt-project.org Downloading h5py-2.0.1.tar.gz from yt-project.org Downloading Cython-0.15.1.tar.gz from yt-project.org Downloading Forthon-0.8.5.tar.gz from yt-project.org Downloading ext-3.3.2.zip from yt-project.org Downloading ext-slate-110328.zip from yt-project.org Downloading PhiloGL-1.4.2.zip from yt-project.org Installing Mercurial. Installing mercurial-2.0 (arguments: 'mercurial-2.0') Failure. Check /home/long/yt/yt-x86_64/yt_install.log. Below I attached the "yt_install.log" and will very appreciate if you have any suggestions. Thanks, Min -- Min Long Flash Center for Computational Science Dept of Astronomy and Astrophysics University of Chicago 5747 S Ellis Ave. Jo 322 Chicago, IL 60637
Hi Min, Brad G had a similar problem on Eureka. The problem is that the crypto libraries (specifically libcrypto.a) are not -fPIC compiled. (If hg didn't throw an error, soemthing else would have!) This causes building _hashlib and _ssl to fail in Python. The solution, if I remember correctly, was to set the CFLAGS and LDFLAGS variables toward the top of install_script.sh to point to a different libcrypto, preferentially a shared library (.so). Then to force yt to rebuild Python, remove yt-x86_64/src/Python-2.7.2/done and re-run the install script. Unfortunately I don't have access to Eureka or the path to the right libcrypto at the tip of my fingers, but I think it was somewhere relatively straightforward. Maybe "locate libcrypto.so" will find it. Let me know if that helps, Matt On Mon, Feb 6, 2012 at 3:12 PM, Min Long <long@flash.uchicago.edu> wrote:
Dear yter,
Is there anyone who once successfully installed "stable" version of yt on Eureka.alcf.anl.gov?
I've tried:
$ wget http://hg.yt-project.org/yt/raw/stable/doc/install_script.sh $ bash install_script.sh
but it got stuck during the installation of Mercurial:
Downloading HDF5 Downloading hdf5-1.8.7.tar.gz from yt-project.org Downloading zlib-1.2.3.tar.bz2 from yt-project.org Downloading bzip2-1.0.5.tar.gz from yt-project.org Downloading libpng-1.2.43.tar.gz from yt-project.org Downloading freetype-2.4.4.tar.gz from yt-project.org Downloading sqlite-autoconf-3070500.tar.gz from yt-project.org Downloading Python-2.7.2.tgz from yt-project.org Downloading numpy-1.6.1.tar.gz from yt-project.org Downloading matplotlib-1.1.0.tar.gz from yt-project.org Downloading mercurial-2.0.tar.gz from yt-project.org Downloading ipython-0.10.tar.gz from yt-project.org Downloading h5py-2.0.1.tar.gz from yt-project.org Downloading Cython-0.15.1.tar.gz from yt-project.org Downloading Forthon-0.8.5.tar.gz from yt-project.org Downloading ext-3.3.2.zip from yt-project.org Downloading ext-slate-110328.zip from yt-project.org Downloading PhiloGL-1.4.2.zip from yt-project.org Installing Mercurial. Installing mercurial-2.0 (arguments: 'mercurial-2.0') Failure. Check /home/long/yt/yt-x86_64/yt_install.log.
Below I attached the "yt_install.log" and will very appreciate if you have any suggestions.
Thanks, Min
-- Min Long Flash Center for Computational Science Dept of Astronomy and Astrophysics University of Chicago 5747 S Ellis Ave. Jo 322 Chicago, IL 60637
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Matthew Turk
-
Min Long