<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Mike,<br>
<br>
I am also using a Ubuntu 14.04 system and I am having the same
problem as you. So, what I am doing is to build the stack on another
platform (I use Scientic Linux / Redhat) and simply make a tar ball
that I deploy on my system. This is working very well, you only have
to fix a couple of things for eups.<br>
Here is a copy of the recipe I put in the IN2P3 wiki :
<a class="moz-txt-link-freetext" href="http://lsst.in2p3.fr/wiki/index.php/Calcul">http://lsst.in2p3.fr/wiki/index.php/Calcul</a> (you can create an
account for yourself, it is not moderated).<br>
<br>
Hope this helps<br>
<br>
Dominique<br>
<br>
PS : Fabio Hernandez at CC-IN2P3 is also working on a system to
deploy the LSST stack using CernVM-FS. This is very convenient. You
can contact him directly if you wish.<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<h2 style="color: rgb(0, 0, 0); font-weight: normal; margin: 0px 0px
0.6em; padding-top: 0.5em; padding-bottom: 0.17em;
border-bottom-width: 1px; border-bottom-style: solid;
border-bottom-color: rgb(170, 170, 170); font-size:
19.0909080505371px; font-family: sans-serif; font-style: normal;
font-variant: normal; letter-spacing: normal; line-height:
19.0499992370605px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; background:
none rgb(255, 255, 255);"><span class="mw-headline">Introduction</span></h2>
<p style="margin: 0.4em 0px 0.5em; line-height: 19.0499992370605px;
color: rgb(0, 0, 0); font-family: sans-serif; font-size:
12.7272720336914px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">It is possible to replicate a working stack installation
into another directory structure or even on another computer
without recompiling the packages. Here is how to proceed, taking
the example of the stack v9_2 installed at CC-IN2P3 :</p>
<pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); color: rgb(0, 0, 0); line-height: 1.1em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(249, 249, 249);">cd /sps/lsst/Library/stack_v9_2
tar -cvzf stack.tar.gz *
cp stack.tar.gz some_directory (on the same or on another server)
tar -xvzf stack.tar.gz
</pre>
<p style="margin: 0.4em 0px 0.5em; line-height: 19.0499992370605px;
color: rgb(0, 0, 0); font-family: sans-serif; font-size:
12.7272720336914px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">At this stage we have the stack directory structure but in
order to make it work, we need to fix the following :</p>
<ul style="line-height: 19.0499992370605px; list-style-type: square;
margin: 0.3em 0px 0px 1.5em; padding: 0px; list-style-image:
url(http://lsst.in2p3.fr/wiki/skins/monobook/bullet.gif); color:
rgb(0, 0, 0); font-family: sans-serif; font-size:
12.7272720336914px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">
<li style="margin-bottom: 0.1em;">Cleanup any LSST or EUPS
environment variable (it may be safer to start a completely new
shell)</li>
<li style="margin-bottom: 0.1em;">Change LSST_HOME in loadLSST.sh</li>
<li style="margin-bottom: 0.1em;">Change EUPS_DIR and EUPS_PATH in
eups/bin/setups.sh</li>
</ul>
<p style="margin: 0.4em 0px 0.5em; line-height: 19.0499992370605px;
color: rgb(0, 0, 0); font-family: sans-serif; font-size:
12.7272720336914px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">Then one can now re-initialize the stack environment :</p>
<pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); color: rgb(0, 0, 0); line-height: 1.1em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(249, 249, 249);">source loadLSST.sh
</pre>
<p style="margin: 0.4em 0px 0.5em; line-height: 19.0499992370605px;
color: rgb(0, 0, 0); font-family: sans-serif; font-size:
12.7272720336914px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">The eups database should now be ok.</p>
<a name="Caveats" style="text-decoration: none; color: rgb(0, 43,
184); font-family: sans-serif; font-size: 12.7272720336914px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 19.0499992370605px; orphans:
auto; text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background: none rgb(255, 255,
255);"></a>
<h2 style="color: rgb(0, 0, 0); font-weight: normal; margin: 0px 0px
0.6em; padding-top: 0.5em; padding-bottom: 0.17em;
border-bottom-width: 1px; border-bottom-style: solid;
border-bottom-color: rgb(170, 170, 170); font-size:
19.0909080505371px; font-family: sans-serif; font-style: normal;
font-variant: normal; letter-spacing: normal; line-height:
19.0499992370605px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; background:
none rgb(255, 255, 255);"><span class="editsection" style="float:
right; margin-left: 5px; font-size: 12.7272720336914px;">[<a
href="http://lsst.in2p3.fr/wiki/index.php?title=Copier_/_d%C3%A9placer_le_stack_dans_une_arborescence_diff%C3%A9rente_o%C3%B9_sur_une_autre_machine&action=edit§ion=2"
title="Modifier la section : Caveats" style="text-decoration:
none; color: rgb(90, 54, 150); background: none;">modifier</a>]</span><span
class="mw-headline">Caveats</span></h2>
<a name="Fixing_eups_for_some_manually_declared_packages"
style="text-decoration: none; color: rgb(0, 43, 184); font-family:
sans-serif; font-size: 12.7272720336914px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 19.0499992370605px; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background: none rgb(255, 255, 255);"></a>
<h3 style="color: rgb(0, 0, 0); font-weight: bold; margin: 0px 0px
0.3em; padding-top: 0.5em; padding-bottom: 0.17em;
border-bottom-style: none; font-size: 16.3636360168457px;
font-family: sans-serif; font-style: normal; font-variant: normal;
letter-spacing: normal; line-height: 19.0499992370605px; orphans:
auto; text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background: none rgb(255, 255,
255);"><span class="editsection" style="float: right; margin-left:
5px; font-size: 12.7272720336914px; font-weight: normal;">[<a
href="http://lsst.in2p3.fr/wiki/index.php?title=Copier_/_d%C3%A9placer_le_stack_dans_une_arborescence_diff%C3%A9rente_o%C3%B9_sur_une_autre_machine&action=edit§ion=3"
title="Modifier la section : Fixing eups for some manually
declared packages" style="text-decoration: none; color:
rgb(90, 54, 150); background: none;">modifier</a>]</span><span
class="mw-headline">Fixing eups for some manually declared
packages</span></h3>
<p style="margin: 0.4em 0px 0.5em; line-height: 19.0499992370605px;
color: rgb(0, 0, 0); font-family: sans-serif; font-size:
12.7272720336914px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">If some packages have been manually declared to eups
without specifying a path relative to EUPS_PATH, one have to
undeclare those packages in order to re-declare them with the
right path. For instance :</p>
<pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); color: rgb(0, 0, 0); line-height: 1.1em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(249, 249, 249);">unsetup obs_cfht my_obs_cfht
eups undeclare obs_cfht my_obs_cfht
eups declare -r some_directory/my_packages/obs_cfht obs_cfht my_obs_cfht
setup obs_cfht my_obs_cfht
</pre>
<a name="Fixing_ipython" style="text-decoration: none; color: rgb(0,
43, 184); font-family: sans-serif; font-size: 12.7272720336914px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 19.0499992370605px; orphans:
auto; text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background: none rgb(255, 255,
255);"></a>
<h3 style="color: rgb(0, 0, 0); font-weight: bold; margin: 0px 0px
0.3em; padding-top: 0.5em; padding-bottom: 0.17em;
border-bottom-style: none; font-size: 16.3636360168457px;
font-family: sans-serif; font-style: normal; font-variant: normal;
letter-spacing: normal; line-height: 19.0499992370605px; orphans:
auto; text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background: none rgb(255, 255,
255);"><span class="editsection" style="float: right; margin-left:
5px; font-size: 12.7272720336914px; font-weight: normal;">[<a
href="http://lsst.in2p3.fr/wiki/index.php?title=Copier_/_d%C3%A9placer_le_stack_dans_une_arborescence_diff%C3%A9rente_o%C3%B9_sur_une_autre_machine&action=edit§ion=4"
title="Modifier la section : Fixing ipython"
style="text-decoration: none; color: rgb(90, 54, 150);
background: none;">modifier</a>]</span><span
class="mw-headline">Fixing ipython</span></h3>
<p style="margin: 0.4em 0px 0.5em; line-height: 19.0499992370605px;
color: rgb(0, 0, 0); font-family: sans-serif; font-size:
12.7272720336914px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">If the stack release comes with the anaconda python
distribution, the firs line of the ipython wrap-up script should
be fixed to point to the right python path.</p>
<a name="Remark" style="text-decoration: none; color: rgb(0, 43,
184); font-family: sans-serif; font-size: 12.7272720336914px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 19.0499992370605px; orphans:
auto; text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background: none rgb(255, 255,
255);"></a>
<h2 style="color: rgb(0, 0, 0); font-weight: normal; margin: 0px 0px
0.6em; padding-top: 0.5em; padding-bottom: 0.17em;
border-bottom-width: 1px; border-bottom-style: solid;
border-bottom-color: rgb(170, 170, 170); font-size:
19.0909080505371px; font-family: sans-serif; font-style: normal;
font-variant: normal; letter-spacing: normal; line-height:
19.0499992370605px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; background:
none rgb(255, 255, 255);"><span class="editsection" style="float:
right; margin-left: 5px; font-size: 12.7272720336914px;">[<a
href="http://lsst.in2p3.fr/wiki/index.php?title=Copier_/_d%C3%A9placer_le_stack_dans_une_arborescence_diff%C3%A9rente_o%C3%B9_sur_une_autre_machine&action=edit§ion=5"
title="Modifier la section : Remark" style="text-decoration:
none; color: rgb(90, 54, 150); background: none;">modifier</a>]</span><span
class="mw-headline">Remark</span></h2>
<p style="margin: 0.4em 0px 0.5em; line-height: 19.0499992370605px;
color: rgb(0, 0, 0); font-family: sans-serif; font-size:
12.7272720336914px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">This method is working to install the stack on Ubuntu 14.04
by copying the stack from a SL6.5 distribution</p>
<div class="moz-cite-prefix">On 12/08/2014 11:17 AM, Mike Lund
wrote:<br>
</div>
<blockquote
cite="mid:CAD2JXjz_J7AwpM23DA+B9X_+OXvJ4=bAT3yUocfekxGuv=950w@mail.gmail.com"
type="cite">
<div dir="ltr">Dominique, thanks for the quick answer on this.<br>
<br>
To follow this up with a probably naive question, are there any
options to get this working other than the stack build? If it
effects anything, my needs for the software are primarily just
for writing new metrics for the MAF. I also know that Ubuntu
14.10 is out now, and that is something that I could upgrade to
if the issues with gcc are limited to just 14.04 and not later
versions.<br>
- Mike Lund</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Dec 6, 2014 at 1:12 PM,
Dominique Boutigny <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:boutigny@in2p3.fr"
target="_blank">boutigny@in2p3.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hi Mike,<br>
<br>
Until recently, the stack build was incompatible with
Ubuntu 14.04 due to some gcc subtleties. So, unless this
was fixed in the mean time, this is likely the reason of
the errors that you are seeing.<br>
<br>
Best,<br>
<br>
Dominique
<div>
<div class="h5"><br>
<div>On 12/6/2014 11:03 AM, Mike Lund wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr">Hello, Lynne Jones recommended I
send this question to here and thanks in
advance for any help.<br>
<br>
I'm trying to install the LSST software, and
my install is failing when trying to
meas_base, and the screen output is saying
that it's running python test scripts and
failing 15 tests. I'm trying to install this
on Ubuntu 14.04.1 LTS, and the last few lines
output to terminal are the following:<br>
<br>
<div>scons: *** [checkTestStatus] Error 1</div>
<div>scons: building terminated because of
errors.</div>
<div>+ exit -4</div>
<div>eups distrib: Failed to build
meas_base-master-g5cbca8985d.eupspkg:
Command:</div>
<div><span style="white-space:pre-wrap"> </span>source
/home/mike/lsst/eups/bin/setups.sh; export
EUPS_PATH=/home/mike/lsst;
(/home/mike/lsst/EupsBuildDir/Linux64/meas_base-master-g5cbca8985d/build.sh)
>>
/home/mike/lsst/EupsBuildDir/Linux64/meas_base-master-g5cbca8985d/build.log
2>&1
4>/home/mike/lsst/EupsBuildDir/Linux64/meas_base-master-g5cbca8985d/build.msg </div>
<div>exited with code 252</div>
<div><br>
I've also attached the build.log for this.<span><font
color="#888888"><br>
<br>
- Mike Lund</font></span></div>
</div>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
dm-users mailing list
<a moz-do-not-send="true" href="mailto:dm-users@lists.lsst.org" target="_blank">dm-users@lists.lsst.org</a>
<a moz-do-not-send="true" href="https://lists.lsst.org/mailman/listinfo/dm-users" target="_blank">https://lists.lsst.org/mailman/listinfo/dm-users</a></pre>
<span class="HOEnZb"><font color="#888888"> </font></span></blockquote>
<span class="HOEnZb"><font color="#888888"> <br>
<pre cols="72">--
Dominique Boutigny - CNRS / CC-IN2P3
Now at SLAC National Accelerator Laboratory
Mail : <a moz-do-not-send="true" href="mailto:boutigny@in2p3.fr" target="_blank">boutigny@in2p3.fr</a> - <a moz-do-not-send="true" href="mailto:boutigny@slac.stanford.edu" target="_blank">boutigny@slac.stanford.edu</a>
Office : <a moz-do-not-send="true" href="tel:%2B1%20650-926-5759" value="+16509265759" target="_blank">+1 650-926-5759</a> - Cellular : <a moz-do-not-send="true" href="tel:%2B1%20774-232-0912" value="+17742320912" target="_blank">+1 774-232-0912</a> </pre>
</font></span></div>
<br>
_______________________________________________<br>
dm-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:dm-users@lists.lsst.org">dm-users@lists.lsst.org</a><br>
<a moz-do-not-send="true"
href="https://lists.lsst.org/mailman/listinfo/dm-users"
target="_blank">https://lists.lsst.org/mailman/listinfo/dm-users</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Dominique Boutigny - CNRS / CC-IN2P3
Now at SLAC National Accelerator Laboratory
Kavli Building - Room 221
Mail : <a class="moz-txt-link-abbreviated" href="mailto:boutigny@in2p3.fr">boutigny@in2p3.fr</a> - <a class="moz-txt-link-abbreviated" href="mailto:boutigny@slac.stanford.edu">boutigny@slac.stanford.edu</a>
Office : +1 650-926-5759 - Cellular : +1 774-232-0912
</pre>
</body>
</html>