Install CMS software

Follow the steps below to install the CMS package <package> on Debian
(CMKIN_6_1_0, OSCAR_3_9_8, ORCA_8_13_0, CMSSW_0_6_0).

  • Upgrade to Debian Sid
Install libboost-dev and libboost-thread packages.
  • Create some symbolic links:
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
  • Download rpms
cd <download-directory>
wget http://cmsdoc.cern.ch/cms/oo/repos_standalone/download/download/download.sh
./download.sh <package>
  • Install
cd XCMSInstall
setenv VO_CMS_SW_DIR <install-directory>
./cmsi.pl -c default     -f cmsset.csh

Edit the following lines in cmsset.csh:

# 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/

The script cmsi.pl may have to be changed as well:

my $rpmopts = "--nodeps";

Change cern related from 2003 to 2004. Install packages

./cmsi.pl -d "<packages>" -f cmsset.csh -g config
  • 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.
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

-- FerencSikler - 13 Jan 2006

Edit | Attach | Watch | Print version | History: r16 < r15 < r14 < r13 < r12 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r16 - 2007-11-11 - FerencSikler
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback