[lsst-dm-stack-users] A test development version of Winter'14 stack

Mario Juric majuric at gmail.com
Tue Feb 18 21:02:08 PST 2014


On 2/18/14, 20:42 , Michael Wood-Vasey wrote:
> Hi Mario,
> 
> Excellent!  This works for me on a Mac OS X 10.9.1 machine.  I ran
> the lsst_dm_stack_demo-7.2.0.0 (I wasn't really sure what the
> approved 'make test' moral equivalent was and this seemed as good as
> any) and that went well with an output detected-sources.txt file
> conceptually (although not exactly -- I ran the default 'setup
> obs_sdss' not the 'setup obs_sdss -t Summer2013') matching the
> detected-sources.txt.expected file.
> 

That's good!

> The only addition was to add "--with-python=/sw/bin/python" to the
> ./configure line because I'm using Fink Python for numpy and
> matplotlib.  But as I was specifically prompted to do this by the
> kind ./configure script this was simple enough.
> 

A better choice may have been --with-python=/usr/bin/python. We should
change that warning to make it clear that using /usr/bin/python is
strongly preferred.

The intent here is to warn the user if the Python they're using is
nonstandard, and prompt them to confirm that's really what they want.
For various reasons, we can't use the '#!/usr/bin/env python' trick with
EUPS, and have to hard code the binary. The concern was that someone may
install EUPS with (e.g.) Fink (as you did), then remove Fink, and then
be surprised why EUPS stopped working. EUPS should almost always work
with system python, and 99.9% of the time there's no good reason not to
use it with EUPS.

Thanks for the test!,
- M.

> Thanks to you and all for your continued packaging efforts to make installing the LSST DM stack an achievable goal.
> 
>  - Michael
> 
> On Feb 18, 2014, at 14:02 , Mario Juric <majuric at gmail.com> wrote:
> 
>> Hi all,
>> 	Just thought I'd cross-post this here (see bottom), as we've just
>> completed a test release using the new EUPS' distribution mechanism.
>> Noteworthy for this release is that it's meant to be built against
>> external Pythons, and should build on OS X 10.9. Instructions are at the
>> bottom (and they'll be further streamlined over the next couple of
>> days/weeks).
>>
>> PS: If you're a tcsh user and just start bash to install this, don't
>> forget to do 'export SHELL=/bin/bash' as Chris pointed out in one of the
>> previous e-mails. This requirement will go away once the fix is merged
>> into EUPS.
>>
>> Cheers,
>> - M.
>>
>> -------- Original Message --------
>> Subject: Re: [LSST-data] EupsPkg: an new distrib module for EUPS
>> Date: Fri, 14 Feb 2014 14:40:47 -0700
>> From: Mario Juric <mjuric at lsst.org>
>> Organization: Large Synoptic Survey Telescope Inc.
>> To: LSST Data <lsst-data at lsstcorp.org>
>>
>> Dear all,
>> 	I just opened a pull request to get the final bits of EupsPkg
>> functionality merged into EUPS:
>>
>> 	https://github.com/RobertLuptonTheGood/eups/pull/7
>>
>> , a ticket to get the necessary changes made to LSST stack packages:
>>
>> 	https://dev.lsstcorp.org/trac/ticket/3148
>>
>> and a ticket to import and manage external packages with git:
>>
>> 	https://dev.lsstcorp.org/trac/ticket/3149
>>
>> Add yourselves to the CC list of these tickets if you care about them.
>> When this triad is merged/approved, the 'master' branch of the stack
>> should be buildable by EUPS.
>>
>>
>> Instructions on how to try it right now are below:
>>
>> ===============
>> # create a temporary directory for testing and enter it
>> mkdir eupstest
>> cd eupstest
>> RD="$PWD"
>>
>> # Install mjuric's EUPS fork with EupsPkg (branch: eupspkg)
>> mkdir sources
>> cd sources
>> git clone https://github.com/mjuric/eups.git
>> cd eups/
>> git checkout eupspkg
>>
>> ./configure --prefix="$RD/eups" --with-eups="$RD/stack"
>> make
>> make install
>> cd ../..
>>
>> source "$RD/eups/bin/setups.sh"
>> export EUPS_PKGROOT="http://lsst-web.ncsa.illinois.edu/~mjuric/pkgs"
>>
>> # If you don't have git > v1.8.4, do:
>> eups distrib install git
>> setup git
>>
>> # If you don't have python >= 2.7 with numpy >= 1.5.1 and
>> # matplotlib >=1.2.0, use Anaconda python distribution by installing
>> # it manually, or use the LSST-packaged one.
>> eups distrib install anaconda
>> setup anaconda
>>
>> # Install the stack
>> eups distrib install lsst_distrib
>> =================
>> _______________________________________________
>> LSST-data mailing list
>> LSST-data at lsstcorp.org
>> http://listserv.lsstcorp.org/mailman/listinfo/lsst-data
>>
>>
>> _______________________________________________
>> lsst-dm-stack-users mailing list
>> lsst-dm-stack-users at lsstcorp.org
>> http://listserv.lsstcorp.org/mailman/listinfo/lsst-dm-stack-users
> 
> 
> _______________________________________________
> lsst-dm-stack-users mailing list
> lsst-dm-stack-users at lsstcorp.org
> http://listserv.lsstcorp.org/mailman/listinfo/lsst-dm-stack-users
> 


-- 
MJ



More information about the dm-users mailing list