[lsst-dm-stack-users] How to update a stack release
Dominique Boutigny
boutigny at in2p3.fr
Mon Apr 21 16:36:02 PDT 2014
Thanks Robert and Simon,
It works now (at least I am able to setup the right packages).
Dominique
Le 21/04/2014 16:28, Simon Krughoff a écrit :
> Hi Dominique,
>
> The default is for eups to look for the version of a package tagged as
> 'current.' Since you don't have any packages tagged 'current,' eups
> doesn't know which version to set up.
>
> You can set up an eups tagged version of the stack with the -t switch.
> So given that b8 seems to be the tag associated with the latest build
> on your machine, you can do:
> $> setup -t b8 pipe_tasks
> and it will set up all the b8 tagged dependencies of pipe_tasks.
>
> You could also set every package to be current by doing:
> $> eups declare -c [package_name] b8
> for each package. Then you could just setup pipe_tasks.
>
> Hope this helps.
> Simon
>
>
>
>
> On Mon, Apr 21, 2014 at 4:16 PM, Dominique Boutigny <boutigny at in2p3.fr
> <mailto:boutigny at in2p3.fr>> wrote:
>
> Hi,
>
> I am not completely there yet...
>
> I installed the stack from master branch in :
> /sps/lsst/dev/lsstprod/DC_2014/stack_new
> then I source
> /sps/lsst/dev/lsstprod/DC_2014/stack_new/eups/bin/setups.sh
>
> But when I issue :
> setup pipe_tasks
> I get :
> "Unable to find an acceptable version of pipe_tasks"
> Which I don't understand because when I do :
> eups list | grep pipe_tasks
> I get :
> pipe_tasks master-ged4cc3cded+5e4f4ef4b8 b8
>
> What am I missing ?
>
>
> Dominique
>
> Le 18/04/2014 17:06, Kian-Tat Lim a écrit :
>
> Dominique,
>
>
> I tried to follow it but ran into problems, so I tried to
> restart
> from scratch but even if I re-download everything
> lsst_build keeps
> claiming that some packages are already installed.
> Is there an option to clear everything completely and
> rebuild from scratch ?
>
> There are three things here: 1) getting the correct
> version of
> the source, 2) building from source to installable packages,
> and 3)
> installing the packages in your eups stack. lsst-build is
> supposed to
> minimize the amount of cloning for #1 and minimize the
> building for #2.
>
> If packages are already installed, those should be OK
> to use.
> If you have changed the source (either manually or via "lsst-build
> prepare --ref="), the version number of the package installed
> in the
> eups stack should be different.
>
> If you think you have package versions installed that
> you don't
> want, you can use "eups remove" to get rid of them, but you
> have to have
> removed all packages dependent on them first. Generally this
> shouldn't
> be necessary.
>
> You can clear out the entire build directory used for
> #1 and #2
> above by just removing it. There is no other state. You can
> also just
> start a new build directory.
>
> Clearing out your entire eups stack can also be done
> by just
> removing its directory and restarting from newinstall.sh (in a
> fresh
> shell). You can also aim newinstall.sh (again in a fresh
> shell) at a
> new stack directory.
>
> Perhaps a log of the errors you are seeing would help?
>
>
> --
> Dominique Boutigny - CNRS / CC-IN2P3
> Now at SLAC National Accelerator Laboratory
>
> Kavli Building - 221
> Mail : boutigny at in2p3.fr <mailto:boutigny at in2p3.fr> -
> boutigny at slac.stanford.edu <mailto:boutigny at slac.stanford.edu>
> Office : +1 650-926-5759 <tel:%2B1%20650-926-5759> - Cellular
> : +1 774-232-0912 <tel:%2B1%20774-232-0912>
>
>
>
> _______________________________________________
> lsst-dm-stack-users mailing list
> lsst-dm-stack-users at lsstcorp.org
> <mailto:lsst-dm-stack-users at lsstcorp.org>
> http://listserv.lsstcorp.org/mailman/listinfo/lsst-dm-stack-users
>
>
>
>
> --
> K. Simon Krughoff
> University of Washington
> Department of Astronomy
>
> Physics-Astronomy Bldg.
> 3910 15th Ave NE
> Room C319
> Seattle WA 98195-0002
> USA
>
> (206)543-9487
--
Dominique Boutigny - CNRS / CC-IN2P3
Now at SLAC National Accelerator Laboratory
Kavli Building - 221
Mail : boutigny at in2p3.fr - boutigny at slac.stanford.edu
Office : +1 650-926-5759 - Cellular : +1 774-232-0912
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listserv.lsstcorp.org/pipermail/dm-users/attachments/20140421/8f2586f4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2936 bytes
Desc: Signature cryptographique S/MIME
URL: <https://listserv.lsstcorp.org/pipermail/dm-users/attachments/20140421/8f2586f4/attachment.p7s>
More information about the dm-users
mailing list