Wanting to move to the latest production release of ROOT.

New and interesting additions

Rootmap files seem to be necessary, at least on Unixes:  http://root.cern.ch/phpBB2/viewtopic.php?t=5355
This change required creating a new CMT fragment in RootcintPolicy to generate the rootmap files for our xxxRootData libraries

See:  http://root.cern.ch/root/Version516.news.html

Restructuring of the core ROOT libraries to now include libRio which contains TFile, etc 

Meaning of icons:

(smile)- For regular GLAST CMT packages, indicates that the package compiles with the new ROOT, and that any test programs execute properly; the meaning of other check marks depends on what the component is.

? - Not tested

(sad) - Doesn't work

GLAST Component 

Windows

Linux

Comments

ROOT Classes

calibRootData (v1r7p7)

(smile)

(smile)

Compiled just fine

commonRootData (v2r15p4)

(smile)

(smile)

Inserted #include <string> and then compiled.

digiRootData (v9r19p2)

(smile)

(smile)


mcRootData (v2r21p1)

(smile)

(smile)


reconRootData (v9r17)

(smile)

(smile)

Insert #include <string> and in AcdRecon #include for TROOT.h to handle call to gROOT

gcrSelectRootData (v2r1)

(smile)

(smile)


metatRootData (v0r1)

(smile)

(smile)

Handle TVirtualIndex::Append method which must be defined for PointerSkim as it is derived from this abstract class

General I/O

Can read in ntuples from DC2

 



Can read in ntuples from DC1

 



Can read in full ROOT tree files generated with 5.14.00g using 5.16.00?




How is hadd?

 

 


ROOT I/O Packages

RootConvert (v1r28)

(smile)

(smile)


RootIo (v18r5)

(smile)

(smile)


ntupleWriterSvc (v3r17)

(smile)

(smile)


CHECKOUT Packages

GlastRelease (v12r9)

(smile)

(smile)

Ran test_Gleam with all output turned on.

Analysis

PyRoot - does it work?

(smile)

 

ran python %ROOTSYS%\tutorials\pyroot\demo.py

RootAnalysis ()

 

 


Are there any problems with the standard analysis and plotting tools ?

(smile)


Ran test/demo.c in interactive mode and compiled and ran tutorials/stress.exe

This page will change as fixes are made to some problems, and more tests are done.
We will provide builds with VS2003 and VS2005

Updated the following packages to support this new ROOT:  commonRootData v2r15p5, metaRootData v0r1p1, reconRootData v9r17p1, CalXtalResponse v0r14p5, celestialSources/GRBtemplate v1r1p1

How the build was configured on Windows using cygwin and VS2005

Installed cygwin including gcc, make, etc  NOTE:  cygwin's link.exe application must be renamed, so that VC's link will be used for the build.

Installed MS Visual C++ 2005 Express Edition from
http://msdn.microsoft.com/vstudio/express/visualc/downloadand installed the Service Pack 1.

On this page I followed the link in Step 4 "Install the platform SDK"; on the next page I clicked on the link in Step 2 "Platform SDK" and ended up here: http://www.microsoft.com/downloads/details.aspx?familyid=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en
"Microsoft Windows Server 2003 R2 Platform SDK Web Install"
I downloaded 'PSDK-x86.exe', chose a Typical install.

Next I installed the "Microsoft .NET Framework Version 2.0 Redistributable Package (x86)" from http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&DisplayLang=en
When I launched the installer it asked me to choose between "Repair" and (I think) "Remove" an existing installation. I chose "Repair".

Finally I downloaded and installed ".NET Framework 2.0 Software Development Kit (SDK) (x86)" from http://www.microsoft.com/downloads/details.aspx?familyid=FE6F2099-B7B4-4F47-A244-C96D69C35DEC&displaylang=en
Obtained ROOT source from their CVS repository using the tag v5.14.00e
http://root.cern.ch/twiki/bin/view/ROOT/PatchesV5-14-00

Downloaded Python 2.5 for windows
We decided to upgrade to Python 2.5 at this point in the Core Meeting from March 13, 2007
We double-checked ROOT's abilty to handle this version of Python and were pleased to find this ROOT forum discussion:
http://root.cern.ch/phpBB2/viewtopic.php?t=4359

Obtained FFTW 3.1.2 from http://www.fftw.org/install/windows.html
downloaded:  libxml2-2.6.15.win32 from Planet Mirror
downloaded gccxml from http://www.gccxml.org/HTML/Index.html

Obtained GSL1.8 for MathMore

Skipped CERNLIB, Oracle

From the DOS prompt:

set PATH=
set LIB=
set INCLUDE=
and ran c:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat
Then
set ROOTSYS=C:\heather\root514e\root
set PYTHONDIR=C:\Python25
set PYTHONPATH=%ROOTSYS%\bin
set XMLDIR=C:\heather\root514e\libxml2-2.6.15.win32
set ROOTBUILD=opt
set LIB=C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Lib;%LIB%;%ROOTSYS%\lib
set PATH=C:\Python25;%ROOTSYS%\bin;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib;%PATH%;%ROOTSYS%\lib
set INCLUDE=C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\include;%INCLUDE%

Start cygwin via the command line:  bash --login -i
At the cygwin prompt, changed directories to the %ROOTSYS% dir and then ran configure:
./configure win32gdk --enable-roofit --enable-minuit2 --enable-table \
--enable-python --disable-odbc --enable-gdml \
--enable-unuran --enable-xrootd \
--with-fftw3-incdir=C:/heather/root-5.14d/fftw-3.1.2-dll \
--with-fftw3-libdir=C:/heather/root-5.14d/fftw-3.1.2-dll \
--with-gccxml=C:/heather/root-5.14d/gcc_xml \
--with-xml-incdir=C:/heather/root-5.14d/libxml2-2.6.15.win32/include \
--with-xml-libdir=C:/heather/root-5.14d/libxml2-2.6.15.win32/lib \
--with-python-libdir=C:/Python25/libs \
--with-python-incdir=C:/Python25/include --enable-mathmore \
--with-gsl-incdir=C:/heather/root5.16/GSL/include --with-gsl-libdir=C:/heather/root5.16/GSL/lib

A note about MathMore.. even if we enable it..  we must have the GSL library installed and tell ROOT's config where it lives, otherwise Mathmore will not be built.  Hence, MathMore has never been available in a GLAST ROOT build (actually it isn't even available in the windows binaries that ROOT-central supplies).  See:  http://root.cern.ch/cgi-bin/print_hit_bold.pl/root/roottalk/roottalk07/0343.html?mathmorevisual#first_hit

renamed cygwin's link.exe to link_cyg.exe:
http://root.cern.ch/root/roottalk/roottalk06/1448.html
Avoids cygwin's link app from interfering with the build

make
make cintdlls  (which seems to do nothing)
make map
make install

Building on Unixes

We ran into a problem this time with distribution of our linux build for ROOT.  It seems prefix cannot be used, so we must set the ROOTSYS env var for our build.  make install no longer seems to work unless prefix is used, so we are left to prune the resulting ROOT build directories on our own.

set ROOTSYS to the same directory as the source was checked out into.  cd into the root directory and then run configure:

./configure linux --disable-cern --enable-mysql --enable-xrootd --with-python-incdir=/afs/slac/g/glast/ground/GLAST_EXT/rhel4_gcc34/python/2.5.1/include/python2.5 --with-python-libdir=/afs/slac/g/glast/ground/GLAST_EXT/rhel4_gcc34/python/2.5.1/lib/python2.5/config/ --enable-mathcore --enable-mathmore  --enable-reflex --enable-cintex --enable-roofit --with-oracle-incdir=/usr/oracle/rdbms/public --with-oracle-libdir=/usr/oracle/lib --enable-minuit2 --with-mysql-incdir=/afs/slac/g/glast/ground/GLAST_EXT/rhel4_gcc34/MYSQL/4.1.18/include/mysql --with-mysql-libdir=/afs/slac/g/glast/ground/GLAST_EXT/rhel4_gcc34/MYSQL/4.1.18/lib/mysql
 
and then just copied the useful directories to another location

  • No labels