Offline Release NuWa-1.0.0-rc01

From Daya Bay

Jump to: navigation, search

Release notes

This release is the baseline for the Mock Data Challenge. The expectation is that bug fixes will be applied the the branch that is rooted with this release (see below).

URL for dybinst

To get started, download:


svn export http://dayabay.ihep.ac.cn/svn/dybsvn/installation/trunk/dybinst/dybinst

and run

./dybinst 1.0.0-rc01 all

More info at Offline_Software_Installation.

Switching to the 'branch' of the release

To be able to commit bug back onto the 'branch' rooted on this release you need to switch your SVN URL to the 'branch' this is done by the following command:

svn switch http://dayabay.ihep.ac.cn/svn/dybsvn/NuWa/branches/NuWa-1.0.0-rc01 NuWa-1.0.0-rc01


Moving bug fixes from the 'trunk' to the 'branch'

The following is an example of how to port a bug fix that exists in the trunk in to 'branch' rooted on this release.

# Execute this in the top directory of the release
cd NuWa-1.0.0-rc01
svn diff \
    http://dayabay.ihep.ac.cn/svn/dybsvn/dybgaudi/branches/releases/1.0.0-rc01/RootIO/RootIOSvc/src/lib \
    http://dayabay.ihep.ac.cn/svn/dybsvn/dybgaudi/trunk/RootIO/RootIOSvc/src/lib
svn merge -r4599:4612 \
     <nowiki>http://dayabay.ihep.ac.cn/svn/dybsvn/dybgaudi/trunk/RootIO/RootIOSvc/src/lib \
    dybgaudi/RootIO/RootIOSvc/src/lib
svn diff dybgaudi/RootIO/RootIOSvc/src/lib
svn ci -m "Port of read back fix for 64bit" dybgaudi/RootIO/RootIOSvc/src/lib
# Now remake anything that has changed.
. setup.sh
cd dybgaudi/DybRelease/cmt/
. setup.sh 
cmt br make

The value '4599' is the revision number where the branch separated from the trunk, while 4612 was the revision where the bug was committed (this can simply be set to be 'HEAD')


Using the release code

The following is an example of how to use an installation where MY_WORKSPACE set to a directory in your area, and DYBHOME set to the area that contains the installation or, for DayaBay's main clusters:

  • PDSF: DYBHOME=/common/dayabay/global


cd $DYBHOME/NuWa/NuWa-1.0.0-rc01
. setup.sh
cd dybgaudi/DybRelease/cmt/
. setup.sh
cd ${MY_WORKSPACE}
svn co http://dayabay.ihep.ac.cn/svn/dybsvn/dybgaudi/tags/NuWa-1.0.0-rc01/Validation/DetSimValidation
cd DetSimValidation/cmt
cmt config
. setup.sh 
make
mkdir ../mc_ntuple
../share/electron_gun.py


Problems?

Please post problems to the Trac database .

Externals

This release requires (and installs) the following external packages.

AIDA 3.2.1
Boost 1.34.1
clhep 1.9.3.1
cmake 2.4.6
CMT CMTv1r20p20080222
gccxml 0.7.0_20070615
geant4 4.9.1.p01
GSL 1.8
HepMC 1.28.02
HepPDT 2.02.02
mySQL 5.0.67
OpenMotif 2.3.0
OpenScientist 16.2
Python 2.5.2
root 5.18.00
XercesC 2.8.0
Personal tools