%CERTIFY%

PatchingBuildsArea

Patching a tag into the builds area

Essentially we do not patch in the nightly area. We copy everything to the builds area and we patch from there.

The first thing to do is to locate from NICOS a free build machine. Usually we take the one used for the nightly because it is normally free and we know when it will start builing the next cache.

Copy nightly to the builds area

In this exercice we want to patch the tag InnerDetector/InDetRecAlgs/InDetV0Finder-00-04-03 in 15.6.X.Y-Prod rel_4 corresponding to the release 15.6.1.4-Prod.

    cd /afs/cern.ch/atlas/software/builds/logs/AtlasProduction
    ~alibrari/scripts/copyNightly.py -p AtlasProduction -r 15.6.1.5 -n 15.6.X.Y/rel_4
    ~alibrari/scripts/tags_diffs_tc_afs.sh --tc 15.6.1.5 --afs 15.6.1.5 -p AtlasProduction -b /afs/cern.ch/atlas/software/builds

Replace tag in the builds area

export CMTCONFIG=i686-slc4-gcc34-opt
setup AtlasProduction,15.6.1.5,forceConfig
cd $CMTPATH
pwd
ls -l InnerDetector/InDetRecAlgs/InDetV0Finder
rm -rf InnerDetector/InDetRecAlgs/InDetV0Finder
cmt co -r InDetV0Finder-00-04-03  InnerDetector/InDetRecAlgs/InDetV0Finder

Rebuild tag in the builds area

cd AtlasProductionRelease/cmt
pico -w requirements 
# Replace the tag number replaced in the requirements file
source setup.sh
cmt br -select="/InDetV0Finder/" "make -j4"
# Note that if there are more tags the syntax is "/tag1/ /tag2/ /tag3/"

Create kits and rpms in the unvalidated path

cd /afs/cern.ch/atlas/software/builds/logs/AtlasProduction/15.6.1.5
cp /afs/cern.ch/atlas/software/builds/logs/AtlasProduction/15.6.1/prod_slc4_opt.cfg .

export pacmancache=/afs/cern.ch/atlas/software/kits/Production/unvalidated

~/Kit/PackDist/PackDist-00-05-06/scripts/proj-run.sh -c prod_slc4_opt.cfg -P AtlasProduction -r 15.6.1.5 -t 32 -o /afs/cern.ch/atlas/project/repos/point1/slc4

 ~/Kit/PackDist/PackDist-00-05-06/share/pack-standalone.py $pacmancache/cache/AtlasProduction_15_6_1_5_i686_slc4_gcc34_opt.pacman

cd /afs/cern.ch/atlas/software/builds/logs/AtlasProduction/15.6.1
~/Kit/PackDist/PackDist-00-05-06/scripts/proj-run.sh -c prod_slc4_opt.cfg -P AtlasProduction -r 15.6.1 -t 32 -o /afs/cern.ch/atlas/project/repos/point1/slc4


Major updates:
--
-- Main.AndresPacheco - 17 Dec 2009

%RESPONSIBLE% Main.unknown
%REVIEW% -- Main.AndresPacheco - 17 Dec 2009

-- Main.AndresPacheco - 17-Dec-2009

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2009-12-17 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 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