[lsst-dm-stack-users] Trying out the Anaconda python with a RHEL6 installation

Heather Kelly heather at slac.stanford.edu
Fri Jan 31 11:21:21 PST 2014


On 1/30/2014 2:52 PM, Mario Juric wrote:
> On 1/30/14, 9:06 , Heather Kelly wrote:
>> Hi,
>>
>> So I was following that post that mentioned this possibility of using
>> the Anaconda distribution of python in conjunction with the DMstack.
>>
>> I'm doing another installation at BNL :)  and they want ipython as well.
>>  This would be a RHEL6-64 install.  And for now, we're sticking with
>> DMstack Winter2013.  However, I saw this bit about incompatibility
>> between the Anaconda python compilation and the DM version on the Mac -
>> I'm assuming that is strictly a Mac issue?  Just trying to determine the
>> path of least resistance to achieve a fresh DM install and provide a
>> customized python including additional modules that may not come along
>> for the ride with a binary installation.
>>
> I can't guarantee that W'13 will build (try it!), but I have built S'13
> with RHEL6+Anaconda 1.8.0.
>
> For RHEL6, you'll want ensure Anaconda Python is in your path, then
> follow the build-from-source instructions until just *before*:
>
> 	eups distrib install --nolocks -t Summer2013 lsst_distrib
>
> and *before* you run that command, do:
>
> 	cd $LSST_HOME
> 	cat >> site/manifest.remap
> 	        python  system
> 	        numpy   system
> 	        scipy   system
> 	        matplotlib system
>
> That should make the stack use the system python, instead trying to
> build its own.
>
> Let us know if it worked.
>
> PS: I just typed this above, so watch out for typos!
>
> Cheers,
Hi Mario,

That was a great help - though I seem to have hit a snag at BNL on SL6. 
Linux ccs.inst.bnl.gov 2.6.32-358.14.1.el6.x86_64 #1 SMP Tue Jul 16
14:24:33 CDT 2013 x86_64 x86_64 x86_64 GNU/Linux

This is with Winter2013-v6_2.  I'm hoping this looks familiar..

activemq-cpp-library-3.5.0-src.tar.gz
tar zvxf activemq-cpp-library-3.5.0-src.tar.gz
tar: write error
Running automake.sh...
./configure
--prefix=/opt/lsst/DMstack/Winter2013-v6_2/Linux64/external/activemqcpp/3.5.0+4
--with-apr=/opt/lsst/DMstack/Winter2013-v6_2/Linux64/external/apr/1.3.3+1 --with-apr-util=/opt/lsst/DMstack/Winter2013-v6_2/Linux64/external/apr/1.3.3+1
--enable-doxygen-man
/usr/bin/make
make ...
./decaf/internal/net/ssl/openssl/OpenSSLParameters.h:49: error: ISO C++
forbids declaration of âSSL_CTXâ with no type
./decaf/internal/net/ssl/openssl/OpenSSLParameters.h:49: error: expected
â;â before â*â token
./decaf/internal/net/ssl/openssl/OpenSSLParameters.h:50: error: ISO C++
forbids declaration of âSSLâ with no type
./decaf/internal/net/ssl/openssl/OpenSSLParameters.h:50: error: expected
â;â before â*â token
./decaf/internal/net/ssl/openssl/OpenSSLParameters.h:64: error: expected
â)â before â*â token
./decaf/internal/net/ssl/openssl/OpenSSLParameters.h:109: error: ISO C++
forbids  declaration of âSSL_CTXâ with no type
./decaf/internal/net/ssl/openssl/OpenSSLParameters.h:109: error:
expected â;â before â*â token
./decaf/internal/net/ssl/openssl/OpenSSLParameters.h:113: error:
expected â;â before âSSLâ
./decaf/internal/net/ssl/openssl/OpenSSLParameters.h:113: error: ISO C++
forbids declaration of âSSLâ with no type
./decaf/internal/net/ssl/openssl/OpenSSLParameters.h:113: error:
expected â;â before â*â token
./decaf/internal/net/ssl/openssl/OpenSSLParameters.h:123: error:
expected â;â before âOpenSSLParametersâ
make[2]: ***
[decaf/internal/net/ssl/openssl/libactivemq_cpp_la-OpenSSLServerSocket.lo]
Error 1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -ansi -pedantic
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-I/opt/lsst/DMstack/Winter2013-v6_2/Linux64/external/apr               
/1.3.3+1/include/apr-1
-I/opt/lsst/DMstack/Winter2013-v6_2/Linux64/external/apr/1.3.3+1/include/apr-1
-W -Wall -Wextra -Wconversion -fPIC -fstrict-aliasing
-Wst                rict-aliasing=2 -Wno-long-long -g -O2 -pthread -MT
decaf/internal/net/libactivemq_cpp_la-URIHelper.lo -MD -MP -MF
decaf/internal/net/.deps/libactivemq_cpp_la-UR               
IHelper.Tpo -c decaf/internal/net/URIHelper.cpp -o
decaf/internal/net/libactivemq_cpp_la-URIHelper.o >/dev/null 2>&1
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -ansi -pedantic
-DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-I/opt/lsst/DMstack/Winter2013-v6_2/Linux64/external/apr               
/1.3.3+1/include/apr-1
-I/opt/lsst/DMstack/Winter2013-v6_2/Linux64/external/apr/1.3.3+1/include/apr-1
-W -Wall -Wextra -Wconversion -fPIC -fstrict-aliasing
-Wst                rict-aliasing=2 -Wno-long-long -g -O2 -pthread -MT
decaf/internal/net/libactivemq_cpp_la-Network.lo -MD -MP -MF
decaf/internal/net/.deps/libactivemq_cpp_la-Netw                ork.Tpo
-c decaf/internal/net/Network.cpp -o
decaf/internal/net/libactivemq_cpp_la-Network.o >/dev/null 2>&1
mv -f decaf/internal/net/.deps/libactivemq_cpp_la-URIHelper.Tpo
decaf/internal/net/.deps/libactivemq_cpp_la-URIHelper.Plo
mv -f decaf/internal/net/.deps/libactivemq_cpp_la-Network.Tpo
decaf/internal/net/.deps/libactivemq_cpp_la-Network.Plo
make[2]: Leaving directory
`/opt/lsst/DMstack/Winter2013-v6_2/EupsBuildDir/Linux64/activemqcpp-3.5.0+4/activemq-cpp-library-3.5.0/src/main'
make[1]: *** [all-recursive] Error 1

Any ideas or workarounds?
Take care,
Heather





More information about the dm-users mailing list