Download the code

# Create the installation directory
mkdir ~/myLCG
mkdir ~/myLCG/POOL_HEAD

# Download the HEAD of POOL
setenv CVSROOT
cvs co -d src pool.release

Set up CMT (for building and/or testing)

# Set up CMT
setenv CMTCONFIG x86_64-slc5-gcc43-dbg
cd ~/myLCG/POOL_HEAD/src/config/cmt
source CMT_env.csh 

# Analyze POOL packages and their dependencies 
# (cmt broadcast will build packages in the same order)
cd ~/myLCG/POOL_HEAD/src/config/cmt
cmt show uses

# Build all of POOL
cd ~/myLCG/POOL_HEAD/src/config/cmt
./ cmt make all_groups

# Look at the header file installed during the build
ls ~/myLCG/POOL_HEAD/include

# Look at the binaries, libraries and tests installed during the build

# Simpler example: build only POOLCore
cd ~/myLCG/POOL_HEAD/src/POOLCore/cmt
cmt make all_groups

Set up the runtime environment and execute individual tests

# Create the CMT setup scripts (you only need to do it once to create the files)
cd ~/myLCG/POOL_HEAD/src/config/cmt
./ cmt config

# Simpler example: create the setup scripts only in POOLCore
cd ~/myLCG/POOL_HEAD/src/POOLCore/cmt
cmt config

# Set up the POOL runtime environment
cd ~/myLCG/POOL_HEAD/src/config/cmt
source setup.csh 

# Execute one test standalone

Execute the full test suite (or individual tests) in QMtest

# Set up the QMtest and POOL runtime environment
cd ~/myLCG/POOL_HEAD/src/config/cmt
source setup.csh 

# Execute the full test suite
cd ~/myLCG/POOL_HEAD/src/config/qmtest
qmtest run

-- AndreaValassi - 21-Jun-2010

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2013-10-02 - AndreaValassi
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Persistency All webs login

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