LISTSERV mailing list manager LISTSERV 16.5

Help for QSERV-L Archives


QSERV-L Archives

QSERV-L Archives


QSERV-L@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

QSERV-L Home

QSERV-L Home

QSERV-L  April 2014

QSERV-L April 2014

Subject:

Re: building latest qserv

From:

Jacek Becla <[log in to unmask]>

Reply-To:

General discussion for qserv (LSST prototype baseline catalog)

Date:

Wed, 16 Apr 2014 21:30:00 -0700

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (151 lines)

Daniel, Fabrice,

This is hard (for me anyway). I wasted some time looking
into various things and it is still not obvious to me how
to proceed...

Running scons from the top level results in very upset scons
(https://jira.lsstcorp.org/browse/DM-522). I have nicely
installed xrootd and all other packages qserv depends on,
and I'd like to reuse all that, but it is not obvious to
me which variables should be set to what. e.g. XROOTD_DIR...
is it for include? lib?

I am familiar with custom.py, I have it from past (working)
built, but where should I put it now? In top level qserv?

I don't want each of us to go through these pains one by one.

Can you two possibly document things and provide instructions
how to get the latest qserv build smoothly?

Thanks
Jacek




On 04/16/2014 06:15 PM, Wang, Daniel Liwei wrote:
> Jacek,
>
> I had to fight a lot with the new system.
>
> (Fabrice, I really appreciate what you've done. You made a lot of fixes,
> and there are a lot of things that are cleaner. But there are a couple
> of things that can be improved.)
>
> Basically, you need to run scons from the top level (qserv/, not
> qserv/core). There are some assumptions that an EUPS-like structure
> exists that you'll need to workaround (hopefully, we can isolate these
> assumptions into one place so the EUPS-adaptations can be switched off/on).
>
> * You'll need a custom.py. It is not optional (we should change it so
> that it is optional as much as possible). Start with the
> example.custom.py file. You don't need it to be absolutely correct,
> because after a couple basic checks, the system doesn't really use all
> of the entries.
> * You'll also need to put the dependencies into your path. I isolate
> this by having a build.sh script that alters PATH before calling scons.
> This is not quite desirable.
> * There are some assumptions that break if the dependencies are
> system-installed in certain cases, but hold if the environment is
> EUPS-managed.
> * The dist/ directory is only created if you ask for "scons install",
> not if you just say "scons".
>
> I made a couple patches as well that I snuck into DM-282 before I merged
> (make the system more accepting of non-eups systems, fix a broken(?)
> path for the SWIG output). You probably want them.
>
> If your dev approach is like mine, I think this is all you need to worry
> about. I don't know much about the admin scripts (scripted compilation,
> daemon startup/shutdown).
>
> Hope this helps,
> -Daniel
>
>
> On 04/16/2014 05:48 PM, Jacek Becla wrote:
>> Daniel: how did you build/test qserv when you were merging
>> your code in? Given I can't build qserv, I am completely
>> stuck with rebasing my branches and getting ready for the
>> final merge
>>
>> Jacek
>>
>> p.s. in the email below the
>>
>> "But the core/SConstruct is not gone"
>>
>> should of course be
>>
>> "But the core/SConstruct is *now* gone"
>>
>>
>> Jacek
>>
>>
>>
>>
>>
>> On 04/16/2014 05:34 PM, Jacek Becla wrote:
>>> This is probably a question for Fabrice
>>>
>>>
>>> I have all dependencies setup on my laptop, and to build
>>> qserv I just run scons from core directory. But the
>>> core/SConstruct is not gone:
>>>
>>> commit 259f40dd89b03a3f93cfd14c5e4c493780e67daf
>>> Author: Fabrice Jammes <[log in to unmask]>
>>> Date:   Mon Feb 24 17:55:33 2014 +0100
>>>         - core/Sconstruct replaced by a top-level Sconstruct
>>>
>>>
>>> so... how do I build Qserv now??? (preferably on ubuntu 12.04)
>>>
>>>
>>> I looked at README.txt...
>>>
>>> it suggests to run
>>>
>>> admin/bootstrap/qserv-install-*
>>>
>>> I don't think I need it, I have a working version of
>>> qserv, (it is just based on different branch). Plus,
>>> there is no version for ubuntu12.04. So I skipped that.
>>>
>>> then README.txt suggests:
>>>
>>> INSTALL_DIR=/opt/example-qserv-install/
>>> eupspkg/newinstall-qserv.sh -H ${INSTALL_DIR}
>>>
>>> but I am immediately getting
>>>
>>> bash: eupspkg/newinstall-qserv.sh: No such file or directory
>>>
>>> I can only see newinstall-qserv-template.sh
>>>
>>> am I supposed to modify this template file somehow?
>>>
>>> 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

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

March 2018
February 2018
January 2018
December 2017
August 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use