Difference: LHCbNightlies (20 vs. 21)

Revision 212017-01-24 - MarcoCattaneo

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"

LHCb Nightly Build System

Line: 36 to 36
 

Running from the nightlies

The following instructions are for DaVinci, but they apply to any other project; instructions for Gauss are here. The first thing is to decide which slot. Usually one slot builds DaVinci on the latest LHCb, or the LHCb release candidate, and the other uses the head of Gaudi. Which one to pick is up to what you want to do. See https://lhcb-nightlies.cern.ch for the definitions. Then decide on the day. Make sure that the version you picked actually compiles. Now you have a slot, say lhcb-head and a day, say last night.
Deleted:
<
<
%TODO% This changes with CMake
 First do
<!-- SyntaxHighlightingPlugin -->
lb-dev --nightly lhcb-head [ day ] DaVinci HEAD
<!-- end SyntaxHighlightingPlugin -->
Changed:
<
<
where day is optional. The default is Today, or pick up a day like Mon, Tue... This builds you a directory ./DaVinciDev_HEAD/. In there getpack what you need
<!-- SyntaxHighlightingPlugin -->
getpack Phys/DaVinci head
<!-- end SyntaxHighlightingPlugin -->
and the needed packages. Then do
>
>
where day is optional. The default is Today, or pick up a day like Mon, Tue... This builds you a directory ./DaVinciDev_HEAD/. In there check out what you need
<!-- SyntaxHighlightingPlugin -->
cd DavinciDev_HEAD
git lb-use DaVinci
git lb-checkout DaVinci/master Phys/DaVinci 
<!-- end SyntaxHighlightingPlugin -->
and any other needed packages (see Git4LHCb on how to work with LHCb software under Git). Then do
 
<!-- SyntaxHighlightingPlugin -->
./run gaudirun.py <options>
<!-- end SyntaxHighlightingPlugin -->
This will execute gaudirun.py in the environment of your local project. You can also use
<!-- SyntaxHighlightingPlugin -->
./run bash --norc
<!-- end SyntaxHighlightingPlugin -->
Line: 52 to 53
  See also GaudiCMakeConfiguration#Building_with_CMake.
Changed:
<
<
You can also run from ganga (not on the grid, only at CERN) using the setupProjectOptions field to pass the right options to SetupProject.

See also the SetupProject wiki.

>
>
You can also run from ganga %TODO% instructions to be updated, previous instructions for SetupProject no longer valid
 

Nightly tests reference files

Changed:
<
<
The testing infrastructure is described in GaudiTestingInfrastructure wiki. The nightlies execute in all slots all the tests that have been defined for packages being build in that slot. The tests that fail because of a mismatch between the output and the reference file produce a special file with extension '.new'. These references are saved in the directory
>
>
The testing infrastructure is described in GaudiTestingInfrastructure wiki. The nightlies execute in all slots all the tests that have been defined for packages being build in that slot. The tests that fail because of a mismatch between the output and the reference file produce a special file with extension '.new'.

%TODO% Path below is no longer valid, to be updated (info in JIRA task is also largely obsolete) These references are saved in the directory

 
<!-- SyntaxHighlightingPlugin -->
https://lhcb-archive.cern.ch/artifacts/nightly/<slot>/<day>/newrefs.<platform>/...
<!-- end SyntaxHighlightingPlugin -->
See LBCORE-164
 
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