TWiki
>
CMS Web
>
TrackerSoftware
>
InstallSoftware
(revision 14) (raw view)
Edit
Attach
---+++Install CMS software Follow the steps below to install the CMS package <package> on Debian %BR% (CMKIN_6_1_0, OSCAR_3_9_8, ORCA_8_13_0, CMSSW_0_6_0). * Upgrade to Debian Sid * Create some symbolic links: <blockquote> <verbatim> ln -s /usr/bin/make /usr/bin/gmake ln -s /usr/lib/libssl.so.0.9.7 /usr/lib/libssl.so.4 ln -s /usr/lib/libcrypto.so.0.9.7 /usr/lib/libcrypto.so.4 apt-get install libxml-parser-perl </verbatim> </blockquote> * Download rpms <blockquote> <verbatim> cd <download-directory> wget http://cmsdoc.cern.ch/cms/oo/repos_standalone/download/download/download.sh ./download.sh <package> </verbatim> </blockquote> * Install <blockquote> <verbatim> cd XCMSInstall setenv VO_CMS_SW_DIR <install-directory> ./cmsi.pl -c default -f cmsset.csh </verbatim> Edit the following lines in =cmsset.csh=: <verbatim> # Option used: RPMOPTS -r "--nodeps" # setenv CMS_RPMDB_POLICY new # setenv CMS_GCC_POLICY system setenv GCC_DIR /usr setenv GCC_VER 3.3.5 setenv GCC_EXEC_PREFIX /usr/lib/gcc-lib/ </verbatim> The script =cmsi.pl= may have to be changed as well: <verbatim> my $rpmopts = "--nodeps"; </verbatim> Change =cern= related from =2003= to =2004=. Install packages <verbatim> ./cmsi.pl -d "<packages>" -f cmsset.csh -g config </verbatim> </blockquote> * Save =cmsset.csh= for later use. Before working with CMS software, each time =source cmsset.csh= in order to set necessary variables. * For running on Debian Sid, =cxxcompiler=, =f77compiler= and =ccompiler= have to be reconfigured to use the compiler of the machine. In addition, for ORCA_8_13_0, =pythia= has to be set up. <blockquote> <verbatim> scramv1 setup -i cxxcompiler << EOF /usr /usr/bin /usr/bin/c++ EOF scramv1 setup -i f77compiler << EOF /usr /usr/bin/g77 EOF scramv1 setup -i ccompiler << EOF /usr /usr/bin /usr/bin/c++ EOF scramv1 setup pythia </verbatim> </blockquote> <!-- * Set ALLOWTOPICCHANGE = Main.CmsHiGroup * Set ALLOWTOPICRENAME = Main.CmsHiGroup --> -- Main.FerencSikler - 13 Jan 2006
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r16
<
r15
<
r14
<
r13
<
r12
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r14 - 2006-05-19
-
FerencSikler
CMS
Hungarian Academy of Sciences (MTA)
Wigner RCP
Department of High Energy Physics
CMS (CERN)
Copyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback