Print

Print


Getting rid of existing installations unblocked me.


Fabrice, can you try reproducing this? Basically try this:

cd <BassDir>
mkdir 1
cd 1
wget http://sw.lsstcorp.org/eupspkg/newinstall.sh
bash newinstall.sh
source loadLSST.sh
eups distrib install qserv -r 
http://lsst-web.ncsa.illinois.edu/~fjammes/qserv
setup qserv
git clone [log in to unmask]:LSST/DMS/qserv.git qserv
cd qserv
scons
scons install


#cleanup your environment, e.g., log out, log back in


cd <BassDir>
mkdir 2
cd 2
wget http://sw.lsstcorp.org/eupspkg/newinstall.sh
bash newinstall.sh

and see which loadLSST.sh you will pick at this point.
 From 1 or 2?

Thanks,
Jacek




On 05/23/2014 12:51 PM, Jacek Becla wrote:
> Fabrice
>
> I noticed one unexpected thing: I am setting things up in directory "3",
> but note that source loadLSST.sh picked up the version from 2.
>
> That sort of things can be dangerous, we need to find a way to prevent
> it from happening.
>
> Also, I noticed that I can't work with both at the same time, I am
> getting some sort of global lock collision.
>
>
> Jacek
>
>
>
>
>
> On 05/23/2014 12:41 PM, Jacek Becla wrote:
>> Fabrice
>>
>> I am blocked, help needed!
>>
>>
>> Yesterday I had troubles with missing db 1.0. I thought I got that
>> fixed by doing full reinstall, but that very same setup that was working
>>     yesterday is showing the same symptoms now (unless I am
>> really misremembering!)
>>
>>
>> source eups/bin/setups.sh
>> [becla@lsst-dbdev5 2]$ cd qserv
>> [becla@lsst-dbdev5 qserv]$ setup -r .
>> setup: in file /usr/local/home/becla/qserv/2/qserv/ups/qserv.table:
>> Product db not found
>> [becla@lsst-dbdev5 qserv]$ eups list
>> anaconda              1.8.0      	b4 Winter2014 current b5 b6 b3
>> antlr                 master-gc05368a54f 	b66 b65 b64 b54 b55 current
>> db                    master-ge313c26491+1 	b66 b65 b64
>> expat                 master-g4a0254e0b2 	b45 b44 b43 b65 b64 b54 b55 b66
>> kazoo                 master-g89c833ba84 	b45 b44 b43 b65 b64 b54 b55 b66
>> libevent              master-g410bd5abbb 	b45 b44 b43 b65 b64 b54 b55 b66
>> lsst                  8.0.0.2    	Winter2014 b5 b6 current
>> lua                   master-g8b632a67b3 	b45 b44 b43 b65 b64 b54 b55 b66
>> luaexpat              master-g2b41498235 	b45 b44 b43 b65 b64 b54 b55 b66
>> luasocket             master-g59c9a137eb 	b45 b44 b43 b65 b64 b54 b55 b66
>> luaxmlrpc             master-g1bdc2373fb 	b45 b44 b43 b65 b64 b54 b55 b66
>> mysql                 master-g5d79af2a50 	b45 b44 b43 b65 b64 b54 b55 b66
>> mysqlclient           5.1.65+3   	b45 b44 b66 b65 b64 b54 b55 current b43
>> mysqlproxy            master-g92bb7f6106 	b45 b44 b43 b65 b64 b54 b55 b66
>> mysqlpython           1.2.3+8    	b45 b44 b43 b65 b64 b54 b55 b66
>> protobuf              master-g832d498170 	b45 b44 b43 b65 b64 b54 b55 b66
>> qserv                 tickets.DM-699-gdb91c11a52 	current b66
>> qserv_testdata        master-gac0d805e98 	current b69
>> scons                 2.1.0+8    	b45 b44 b58 b66 b65 b64 b51 b54 b55 b43
>> sconsUtils            master-gcd8b8033a7 	b66 b65 b64
>> twisted               master-gb8024db1dc 	b45 b44 b43 b65 b64 b54 b55 b66
>> xrootd                master-gfc9bfb2059 	b45 b44 b43 b65 b64 b54 b55 b66
>> zookeeper             master-gc48457902f 	b45 b44 b43 b65 b64 b54 b55 b66
>> zopeinterface         master-g9b9798ca42 	b45 b44 b43 b65 b64 b54 b55 b66
>>
>> --------------
>>
>> Unfortunately, installing things from scratch looks broken too:
>>
>>
>>
>> [becla@lsst-dbdev5 qserv]$ mkdir 3
>> [becla@lsst-dbdev5 qserv]$ cd 3
>> [becla@lsst-dbdev5 3]$ wget http://sw.lsstcorp.org/eupspkg/newinstall.sh
>> --2014-05-23 14:26:58--  http://sw.lsstcorp.org/eupspkg/newinstall.sh
>> Resolving sw.lsstcorp.org... 141.142.225.137
>> Connecting to sw.lsstcorp.org|141.142.225.137|:80... connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: 6430 (6.3K) [application/x-sh]
>> Saving to: “newinstall.sh”
>>
>> 100%[===================================================================================>]
>> 6,430       --.-K/s   in 0s
>>
>> 2014-05-23 14:26:58 (395 MB/s) - “newinstall.sh” saved [6430/6430]
>>
>> [becla@lsst-dbdev5 3]$ bash newinstall.sh
>>
>> LSST Software Stack Builder
>> =======================================================================
>>
>> Detected git version 1.7.1.
>>
>> The git version control system is frequently used with LSST software. While
>> the LSST stack should build and work even in the absence of git, we don't
>> regularly run and test it in such environments. We therefore recommend you
>> have at least git 1.8.4 installed, or let this script install it for you.
>>
>> git installed by this installer will be managed by LSST's EUPS package
>> manager,
>> and will not replace or modify any other version of git you may have
>> installed
>> on your system.
>>
>> Would you like us to install git for you (if unsure, say yes)? yes
>>
>>
>> In addition to Python 2.7, some LSST packages depend on recent versions
>> of numpy,
>> matplotlib, and scipy. If you don't have all of these, the installation
>> may fail.
>> Using the Anaconda Python distribution will ensure all these are set up.
>>
>> Anaconda Python installed by this installer will be managed by LSST's EUPS
>> package manager, and will not replace or modify your system python.
>>
>> Would you like us to install Anaconda Python distribution (if unsure,
>> say yes)? yes
>>
>> Installing EUPS (v1.3.0)...  done.
>> Installing git ...
>>      [  1/1  ]  git 1.8.5.2 ...Unable to find git 1.8.5.2 although it is
>> seen in the environment
>>      [  1/1  ]  git 1.8.5.2
>>     done.
>> Installing Anaconda Python Distribution ...
>>      [  1/1  ]  anaconda 1.8.0 (already installed)
>>     done.
>> Installing the basic environment ...
>>      [  1/5  ]  doxygen 1.8.2+2
>>     done.
>>      [  2/5  ]  python 0.0.1 ...
>>                 Using externally provided Python 2.7.5 :: Anaconda 1.8.0
>> (64-bit).
>>      [  2/5  ]  python 0.0.1
>>     done.
>>      [  3/5  ]  scons 2.1.0+7
>>     done.
>>      [  4/5  ]  sconsUtils 8.0.0.0
>>     done.
>>      [  5/5  ]  lsst 8.0.0.2 (already installed)
>>     done.
>> Creating startup scripts (sh) ...  done.
>> Creating startup scripts (csh) ...  done.
>> Creating startup scripts (ksh) ...  done.
>>
>> Bootstrap complete. To continue installing (and to use) the LSST stack
>> type one of:
>>
>>        source "/usr/local/home/becla/qserv/3/loadLSST.sh"    # for bash
>>        source "/usr/local/home/becla/qserv/3/loadLSST.csh"   # for csh
>>        source "/usr/local/home/becla/qserv/3/loadLSST.ksh"   # for ksh
>>
>> Individual LSST packages may now be installed with the usual `eups
>> distrib install' command.  For example, to install the science pipeline
>> elements of the LSST stack, use:
>>
>>        eups distrib install lsst_apps
>>
>> Next, read the documentation at:
>>
>>        https://confluence.lsstcorp.org/display/LSWUG/LSST+Software+User+Guide
>>
>> and feel free to ask any questions via our mailing list at:
>>
>>        http://listserv.lsstcorp.org/mailman/listinfo/lsst-dm-stack-users
>>
>>                                       Thanks!
>>                                               -- The LSST Software Teams
>>
>> [becla@lsst-dbdev5 3]$ source loadLSST.sh
>> setup: in file
>> /usr/local/home/becla/qserv/2/ups_db/Linux64/lsst/8.0.0.2/ups/lsst.table: Product
>> python system not found
>> [becla@lsst-dbdev5 3]$ source /usr/local/home/becla/qserv/3/loadLSST.sh
>> setup: in file
>> /usr/local/home/becla/qserv/2/ups_db/Linux64/lsst/8.0.0.2/ups/lsst.table: Product
>> python system not found
>> [becla@lsst-dbdev5 3]$ eups list
>> anaconda              1.8.0      	b4 Winter2014 current b5 b6 b3 setup
>> antlr                 master-gc05368a54f 	b66 b65 b64 b54 b55 current
>> db                    master-ge313c26491+1 	b66 b65 b64
>> doxygen               1.8.2+2    	sims b4 Winter2014 current b5 b6 b3
>> expat                 master-g4a0254e0b2 	b45 b44 b43 b65 b64 b54 b55 b66
>> git                   1.8.5.2    	current Winter2014 b4 b5 b6 b3 setup
>> kazoo                 master-g89c833ba84 	b45 b44 b43 b65 b64 b54 b55 b66
>> libevent              master-g410bd5abbb 	b45 b44 b43 b65 b64 b54 b55 b66
>> lsst                  8.0.0.2    	Winter2014 b5 b6 current
>> lua                   master-g8b632a67b3 	b45 b44 b43 b65 b64 b54 b55 b66
>> luaexpat              master-g2b41498235 	b45 b44 b43 b65 b64 b54 b55 b66
>> luasocket             master-g59c9a137eb 	b45 b44 b43 b65 b64 b54 b55 b66
>> luaxmlrpc             master-g1bdc2373fb 	b45 b44 b43 b65 b64 b54 b55 b66
>> mysql                 master-g5d79af2a50 	b45 b44 b43 b65 b64 b54 b55 b66
>> mysqlclient           5.1.65+3   	b45 b44 b66 b65 b64 b54 b55 current b43
>> mysqlproxy            master-g92bb7f6106 	b45 b44 b43 b65 b64 b54 b55 b66
>> mysqlpython           1.2.3+8    	b45 b44 b43 b65 b64 b54 b55 b66
>> protobuf              master-g832d498170 	b45 b44 b43 b65 b64 b54 b55 b66
>> python                0.0.1      	sims b4 Winter2014 current b5 b6 b3
>> qserv                 tickets.DM-699-gdb91c11a52 	current b66
>> qserv_testdata        master-gac0d805e98 	current b69
>> scons                 2.1.0+7    	sims Winter2014 b4 b5 b6 b3
>> scons                 2.1.0+8    	b45 b44 b58 b66 b65 b64 b51 b54 b55 b43
>> sconsUtils            8.0.0.0    	sims Winter2014 b4 b5 b6 b3
>> sconsUtils            master-gcd8b8033a7 	b66 b65 b64
>> twisted               master-gb8024db1dc 	b45 b44 b43 b65 b64 b54 b55 b66
>> xrootd                master-gfc9bfb2059 	b45 b44 b43 b65 b64 b54 b55 b66
>> zookeeper             master-gc48457902f 	b45 b44 b43 b65 b64 b54 b55 b66
>> zopeinterface         master-g9b9798ca42 	b45 b44 b43 b65 b64 b54 b55 b66
>> [becla@lsst-dbdev5 3]$
>>
>>
>> Note that db 1.0 is not installed.
>>
>>
>> ------
>>
>> This is on Red Hat Enterprise Linux Server release 6.5 (Santiago)
>>
>> I am completely blocked. How do I get around it?
>>
>> Jacek
>>
>> ########################################################################
>> Use REPLY-ALL to reply to list
>>
>> To unsubscribe from the QSERV-L list, click the following link:
>> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1
>>
>
> ########################################################################
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the QSERV-L list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1
>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1