1 |
sashby |
1.1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
2 |
|
|
|
3 |
|
|
<!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4
|
4 |
|
|
patched version by: Kenshi Muto, Debian Project.
|
5 |
|
|
LaTeX2HTML 2002 (1.62),
|
6 |
|
|
original version by: Nikos Drakos, CBLU, University of Leeds
|
7 |
|
|
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
|
8 |
|
|
* with significant contributions from:
|
9 |
|
|
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
|
10 |
|
|
<HTML>
|
11 |
|
|
<HEAD>
|
12 |
|
|
<TITLE>5.4 Configuration Tools in the Project Environment</TITLE>
|
13 |
|
|
<META NAME="description" CONTENT="5.4 Configuration Tools in the Project Environment">
|
14 |
|
|
<META NAME="keywords" CONTENT="SCRAM">
|
15 |
|
|
<META NAME="resource-type" CONTENT="document">
|
16 |
|
|
<META NAME="distribution" CONTENT="global">
|
17 |
|
|
|
18 |
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
19 |
|
|
<META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4">
|
20 |
|
|
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
|
21 |
|
|
|
22 |
|
|
<LINK REL="STYLESHEET" HREF="SCRAM.css">
|
23 |
|
|
|
24 |
|
|
<LINK REL="next" HREF="node64.html">
|
25 |
|
|
<LINK REL="previous" HREF="node56.html">
|
26 |
|
|
<LINK REL="up" HREF="node51.html">
|
27 |
|
|
<LINK REL="next" HREF="node59.html">
|
28 |
|
|
</HEAD>
|
29 |
|
|
|
30 |
|
|
<BODY bgcolor="beige" >
|
31 |
|
|
<!--Navigation Panel-->
|
32 |
|
|
<A NAME="tex2html1162"
|
33 |
|
|
HREF="node59.html">
|
34 |
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
35 |
|
|
SRC="file:/usr/share/latex2html/icons/next.png"></A>
|
36 |
|
|
<A NAME="tex2html1156"
|
37 |
|
|
HREF="node51.html">
|
38 |
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
39 |
|
|
SRC="file:/usr/share/latex2html/icons/up.png"></A>
|
40 |
|
|
<A NAME="tex2html1150"
|
41 |
|
|
HREF="node57.html">
|
42 |
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
43 |
|
|
SRC="file:/usr/share/latex2html/icons/prev.png"></A>
|
44 |
|
|
<A NAME="tex2html1158"
|
45 |
|
|
HREF="node2.html">
|
46 |
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
|
47 |
|
|
SRC="file:/usr/share/latex2html/icons/contents.png"></A>
|
48 |
|
|
<A NAME="tex2html1160"
|
49 |
|
|
HREF="node85.html">
|
50 |
|
|
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
|
51 |
|
|
SRC="file:/usr/share/latex2html/icons/index.png"></A>
|
52 |
|
|
<BR>
|
53 |
|
|
<B> Next:</B> <A NAME="tex2html1163"
|
54 |
|
|
HREF="node59.html">5.4.1 Changing the Tool</A>
|
55 |
|
|
<B> Up:</B> <A NAME="tex2html1157"
|
56 |
|
|
HREF="node51.html">5. Using SCRAM as</A>
|
57 |
|
|
<B> Previous:</B> <A NAME="tex2html1151"
|
58 |
|
|
HREF="node57.html">5.3.1 Constructing Runtime Environment</A>
|
59 |
|
|
  <B> <A NAME="tex2html1159"
|
60 |
|
|
HREF="node2.html">Contents</A></B>
|
61 |
|
|
  <B> <A NAME="tex2html1161"
|
62 |
|
|
HREF="node85.html">Index</A></B>
|
63 |
|
|
<BR>
|
64 |
|
|
<BR>
|
65 |
|
|
<!--End of Navigation Panel-->
|
66 |
|
|
|
67 |
|
|
<H1><A NAME="SECTION00640000000000000000"></A><A NAME="sec:configurationtools"></A><A NAME="1311"></A>
|
68 |
|
|
<BR>
|
69 |
|
|
5.4 Configuration Tools in the Project Environment
|
70 |
|
|
</H1>
|
71 |
|
|
Although all required external tools are automatically set up by the
|
72 |
|
|
<SMALL>SCRAM</SMALL> configuration manager in every project area, a developer may
|
73 |
|
|
want to change settings to suit a local system like a laptop computer.
|
74 |
|
|
<SMALL>SCRAM</SMALL> provides several commands to allow developers to easily view
|
75 |
|
|
the configuration environment and also to change it. The list of
|
76 |
|
|
configured tools available can be obtained using the command
|
77 |
|
|
|
78 |
|
|
<P>
|
79 |
|
|
<TT>scram tool</TT>
|
80 |
|
|
|
81 |
|
|
<TT>list</TT>
|
82 |
|
|
|
83 |
|
|
<P>
|
84 |
|
|
This will present a list like the one shown below: <PRE>
|
85 |
|
|
Tool list for location /home/sashby/work/CMS/Projects/COBRA_6_3_1_pre4
|
86 |
|
|
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
87 |
|
|
|
88 |
|
|
gcc 2.95.2 (default=2.95.2)
|
89 |
|
|
g77 0.5.24 (default=0.5.24)
|
90 |
|
|
qt 3.0.1 (default=3.0.1)
|
91 |
|
|
clhep 1.7.5.0 (default=1.7.5.0)
|
92 |
|
|
htl 1.3.2.1 (default=1.3.2.1)
|
93 |
|
|
hepodbms 0.3.3.1 (default=0.3.3.1)
|
94 |
|
|
objectivity 6.1.3 (default=6.1.3)
|
95 |
|
|
heputilities 0.7.0.0 (default=0.7.0.0)
|
96 |
|
|
lizard 2.2.1.3 (default=2.2.1.3)
|
97 |
|
|
aida_annotation 2.0.0.0 (default=2.0.0.0)
|
98 |
|
|
aida_htl 2.0.0.2 (default=2.0.0.2)
|
99 |
|
|
histoparameters 2.2.0.3 (default=2.2.0.3)
|
100 |
|
|
</PRE>
|
101 |
|
|
<P>
|
102 |
|
|
The settings for a tool can be viewed using the command
|
103 |
|
|
|
104 |
|
|
<P>
|
105 |
|
|
<TT>scram tool</TT>
|
106 |
|
|
|
107 |
|
|
<TT>info</TT> <TT>tool_name</TT>
|
108 |
|
|
|
109 |
|
|
<P>
|
110 |
|
|
For example, the settings of the <TT>gcc</TT> compiler would look like
|
111 |
|
|
this: <PRE>
|
112 |
|
|
Tool info as configured in location /home/CMS/Projects/COBRA_6_3_1_pre4
|
113 |
|
|
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
114 |
|
|
|
115 |
|
|
Name : gcc
|
116 |
|
|
Version : 2.95.2
|
117 |
|
|
Docfile :
|
118 |
|
|
cvs://cmscvs.cern.ch/cvs_server/repositories/ToolBox?auth= \
|
119 |
|
|
pserver&module=ToolBox/CompilerTools/CXX/gcc&passkey=AA_:yZZ3e& \
|
120 |
|
|
user=anonymous&version=CMS_55_1
|
121 |
|
|
++++++++++++++++++++
|
122 |
|
|
CXX=/usr/local/gcc-alt-2.95.2/bin/c++
|
123 |
|
|
CC=/usr/local/gcc-alt-2.95.2/bin/gcc
|
124 |
|
|
CCcompiler=gcc
|
125 |
|
|
LD_LIBRARY_PATH=/usr/local/gcc-alt-2.95.2/lib
|
126 |
|
|
</PRE>
|
127 |
|
|
<P>
|
128 |
|
|
Another useful command can be used to extract the settings of
|
129 |
|
|
individual variables for a tool:
|
130 |
|
|
|
131 |
|
|
<P>
|
132 |
|
|
<TT>scram tool</TT>
|
133 |
|
|
|
134 |
|
|
<TT>tag</TT> <TT>tool_name</TT> [<I>tag_name</I>]
|
135 |
|
|
|
136 |
|
|
<P>
|
137 |
|
|
where <I>tag_name</I> is the name of a variable relevant for
|
138 |
|
|
the tool <I>tool_name</I>. If no tag name is given then all
|
139 |
|
|
variable names will be printed. If this command is used in the
|
140 |
|
|
following way
|
141 |
|
|
|
142 |
|
|
<P>
|
143 |
|
|
<TT>scram tool</TT>
|
144 |
|
|
|
145 |
|
|
<TT>tag</TT> <TT>gcc</TT> <TT>LD_LIBRARY_PATH</TT>
|
146 |
|
|
|
147 |
|
|
<P>
|
148 |
|
|
then <TT>/usr/local/gcc-alt-2.95.2/lib</TT> will be printed. This
|
149 |
|
|
is especially useful within shell scripts and avoids the need for
|
150 |
|
|
parsing the command output with shell utilities like <TT>sed</TT> or
|
151 |
|
|
<TT>awk</TT>.
|
152 |
|
|
|
153 |
|
|
<P>
|
154 |
|
|
<BR><HR>
|
155 |
|
|
<!--Table of Child-Links-->
|
156 |
|
|
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
|
157 |
|
|
|
158 |
|
|
<UL>
|
159 |
|
|
<LI><A NAME="tex2html1164"
|
160 |
|
|
HREF="node59.html">5.4.1 Changing the Tool Configuration Settings</A>
|
161 |
|
|
<LI><A NAME="tex2html1165"
|
162 |
|
|
HREF="node60.html">5.4.2 Removing a Tool from a Project Area</A>
|
163 |
|
|
<LI><A NAME="tex2html1166"
|
164 |
|
|
HREF="node61.html">5.4.3 Installing a New Tool into a Project Area</A>
|
165 |
|
|
<UL>
|
166 |
|
|
<LI><A NAME="tex2html1167"
|
167 |
|
|
HREF="node62.html">5.4.3.0.1 <I>Example A</I>:</A>
|
168 |
|
|
<LI><A NAME="tex2html1168"
|
169 |
|
|
HREF="node63.html">5.4.3.0.2 <I>Example B</I>:</A>
|
170 |
|
|
</UL></UL>
|
171 |
|
|
<!--End of Table of Child-Links-->
|
172 |
|
|
<HR>
|
173 |
|
|
<!--Navigation Panel-->
|
174 |
|
|
<A NAME="tex2html1162"
|
175 |
|
|
HREF="node59.html">
|
176 |
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
177 |
|
|
SRC="file:/usr/share/latex2html/icons/next.png"></A>
|
178 |
|
|
<A NAME="tex2html1156"
|
179 |
|
|
HREF="node51.html">
|
180 |
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
181 |
|
|
SRC="file:/usr/share/latex2html/icons/up.png"></A>
|
182 |
|
|
<A NAME="tex2html1150"
|
183 |
|
|
HREF="node57.html">
|
184 |
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
185 |
|
|
SRC="file:/usr/share/latex2html/icons/prev.png"></A>
|
186 |
|
|
<A NAME="tex2html1158"
|
187 |
|
|
HREF="node2.html">
|
188 |
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
|
189 |
|
|
SRC="file:/usr/share/latex2html/icons/contents.png"></A>
|
190 |
|
|
<A NAME="tex2html1160"
|
191 |
|
|
HREF="node85.html">
|
192 |
|
|
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index"
|
193 |
|
|
SRC="file:/usr/share/latex2html/icons/index.png"></A>
|
194 |
|
|
<BR>
|
195 |
|
|
<B> Next:</B> <A NAME="tex2html1163"
|
196 |
|
|
HREF="node59.html">5.4.1 Changing the Tool</A>
|
197 |
|
|
<B> Up:</B> <A NAME="tex2html1157"
|
198 |
|
|
HREF="node51.html">5. Using SCRAM as</A>
|
199 |
|
|
<B> Previous:</B> <A NAME="tex2html1151"
|
200 |
|
|
HREF="node57.html">5.3.1 Constructing Runtime Environment</A>
|
201 |
|
|
  <B> <A NAME="tex2html1159"
|
202 |
|
|
HREF="node2.html">Contents</A></B>
|
203 |
|
|
  <B> <A NAME="tex2html1161"
|
204 |
|
|
HREF="node85.html">Index</A></B>
|
205 |
|
|
<!--End of Navigation Panel-->
|
206 |
|
|
<ADDRESS>
|
207 |
|
|
scram-developers@cern.ch
|
208 |
|
|
</ADDRESS>
|
209 |
|
|
</BODY>
|
210 |
|
|
</HTML>
|