See also more recent: https://twiki.cern.ch/twiki//bin/view/CMS/HowToInstallFWLITERelease

FWLite Desktop/Laptop Installation

FWLite provides a subset of CMSSW libraries (primarily libraries containing the C++ objects describing CMS data) in order to give full access to CMS data objects from within ROOT. At present the FWLite distribution includes both ROOT and the C++ compiler which CMS has validated as working with our code.

At the moment, we only have a linux installation process. However, a Mac OS X installation is also being worked on.

FWLite Can Only Get Better If You Give Feedback

FWLite is intended to be used by physicists to handle their interactive analysis under ROOT. The only way it can be improved is with input from physicists who are trying to use it. There are two hypernews forums that are best for giving feedback

Linux Installation

The linux installation uses the same mechanism as the standard full CMSSW installation process. First you install the installation tools (described in the section Installing for the first time) then you pick the FWLite release you want to use and install it (described in Installing a new FWLite release).

Installing for the first time

In the following example, all the FWLite code will be installed into the directory named /cms/install/ and we assume you are using a csh shell type. These instructions will install the apt program which is used to keep track of all software which will be installed onto the computer. Once the =apt=software is installed you will not have to repeat these instructions.

   setenv INSTALL_DIR /cms/install/
   cd $INSTALL_DIR
   setenv SCRAM_ARCH slc4_ia32_gcc345
   wget -O $INSTALL_DIR/bootstrap-$SCRAM_ARCH.sh http://cmsrep.cern.ch/cmssw/bootstrap-$SCRAM_ARCH.sh
   sh -x $INSTALL_DIR/bootstrap-$SCRAM_ARCH.sh setup -path $INSTALL_DIR > & $INSTALL_DIR/bootstrap_lt_$SCRAM_ARCH.log

Installing a new FWLite release

have apt look for new software

    source $INSTALL_DIR/slc4_ia32_gcc345/external/apt/0.5.15lorg3.2-CMS3/etc/profile.d/init.csh
    apt-get update
    apt-cache search fwlite

NOTE: If you were looking for a full installation of CMSSW you'd do

    apt-cache search cmssw

install the new version

Next you use apt to download the new software and then setup a new project area.

In the following example we assume you want to install the CMSSW_1_6_7_FWLITE release

    apt-get install cms+fwlite+CMSSW_1_6_7_FWLITE

    source $INSTALL_DIR/cmsset_default.csh

    scramv1 project CMSSW CMSSW_1_6_7_FWLITE
    cd CMSSW_1_6_7_FWLITE
    eval `scramv1 runtime -csh`

once everything is all setup, you can just do root and everything should work.

NOTE: The first installation you do will take a lot of space (CMSSW_1_6_7_FWLITE takes nearly 1GB of disk). We are working on reducing unnecessary external library dependencies (e.g. commercial database client libraries). However, if you install another release, any externals which are the same between those releases will be shared (i.e. no additional disk space is needed).

-- ChristopherJones - 21 Dec 2007

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2008-03-14 - DavidDEnterria



 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback