Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Building Gaudi v21r7 against ROOT v5.34

redhat5-i686-32bit-gcc41

setenv CMTBASE $userSpace/gaudi_v21r4/CMT
setenv CMTVERSION v1r20p20090520
source $CMTBASE/$CMTVERSION/mgr/setup.csh
setenv CMTCONFIG i686-slc5-gcc41-opt
setenv CMTPATH $userSpace/gaudi-rhel5-32-ROOTv5.34/GAUDI/GAUDI_v21r7:$userSpace/gaudi-rhel5-32-ROOTv5.34/external:$userSpace/gaudi-rhel5-32-ROOTv5.34/external/LCGCMT/LCGCMT_58:$userSpace/gaudi_v21r4

Removed HistogramSvc from the GaudiSvc requirements due to complete re-write to THistSvc in later Gaudis to comply with ROOT v5.34.

Gaudi uses CMT, so building goes something like this
We choose to limit the Gaudi packages we build to (in this order):  GaudiKernel, GaudiSvc, GaudiUtil, GaudiAlg, GaudiAud
For each package, enter the cmt directory and do:
  cmt broadcast "cmt config"
  source setup.sh
  make

Building Gaudi v21r7

Requirements

  • CMT v1r20p20090520 available on SLAC Linux on /afs/slac/g/glast/users/heather/gaudi_v21r4/CMT and through the download section of the CMT web site.
  • Source Code modified for GLAST to limit the externals required by Gaudi see /afs/slac/g/glast/ground/GLAST_EXT/srcExtLibs/GAUDI_v21r7-gl1_src.tar.gz
  • LCGCMT_58 zip file of externals and interface CMT packages for Gaudi
  • An updated version of ROOT v5.26.00a-gl1, the binaries are available in GLAST_EXT at SLAC and the source is in compiled against gccxml 0.9

Windows

  1. Unzip LCGCMT_58 into your local directory
  2. Unzip Gaudi source code into your local directory
  3. Copy in our version of ROOT v5.26.00a-gl1 into the external/ROOT directory
  4. Copy in our version of Python 2.5.1 into the external/Python directory
  5. Update external/LCGCMT_58/LCG_Configuration/cmt/requirements
    set ROOT_config_version to 5.26.00a-gl1
    set Python_config_version to 2.5.1-gl1
  6. Update external/LCGCMT/LCGCMT_58/LCG_Interfaces/ROOT/cmt/requirements and comment out
    ## apply_pattern use_optional pkg=Qt
    ## apply_pattern use_optional pkg=dcache_client
    ## apply_pattern use_optional pkg=gfal
    and add:
    macro ROOT_cppflags "" \
                        target-winxp "-DROOT_w32pragma "
  7. Update external/LCGCMT/LCGCMT_58/LCG_Settings/cmt/requirements
    Update LCG_home to the top level location of the Gaudi build to something like:
    macro LCG_home "${myPathDir}/buildingGaudi_v21r7/"
    Update LCG_Releases to
    macro LCG_releases "$(LCG_home)/external"
  8. Update GaudiKernel's requirements file to remove use of CppUnit
  9. Update GaudiSvc's requirements file to remove use of CLHEP
  10. Set up to use CMT v1r20p20090520, for example:
    CMTBIN=VisualC
    CMTCONFIG=win32_vc71_dbg
    CMTPATH=C:\heather\gaudi_v21r7gaudiUpgrade\GAUDI\GAUDI_v21r7;C:\heather\gaudi_v21r7gaudiUpgrade\external;C:\heather\gaudi_v21r4gaudiUpgrade\external\LCGCMT\LCGCMT_56c58;C:\heather\glast\tools
    CMTROOT=C:\heather\glast\tools\CMT\v1r20p20090520 v1r20p20090520  (make sure there is no space at the end of that definition!)
    CMTVERSION=v1r20p20090520
  11. Add CMT to PATH
  12. Execute vsvars32.bat in the Microsoft VC++ 7.1 distribution
  13. Gaudi uses CMT, so building goes something like this
    We choose to limit the Gaudi packages we build to (in this order):  GaudiKernel, GaudiSvc, GaudiUtil, GaudiAlg, GaudiAud
    For each package, enter the cmt directory and do:
      cmt broadcast "cmt config"
      setup.bat
      source setup.sh
      makenmake /f nmake
  14. Extra Notes.. a number of the boost includes had to be renamed from *.hp to *.hpp

VC 2008 notes

  1. GaudiKernel's Debugger.cpp required a modification where windows.h was included outside the Win namespace
  2. GaudiSvc's manifest file for genconf.exe needs to be copied over into the InstallArea by hand

redhat4-i686-32bit-gcc34

  1. Obtain the source from /afs/slac/g/glast/ground/GLAST_EXT/srcExtLibs/GAUDI_v21r7-gl1_src.tar.gz
  2. Setup up the required Gaudi externals:  AIDA, Boost, gccxml, python 2.5.1, ROOT v5.26.00-gl1, uuid, XercesC 2.8.0

Building Gaudi v21r4

Requirements

  • CMT v1r20p20090520 available on SLAC Linux on /afs/slac/g/glast/users/heather/gaudi_v21r4/CMT and through the download section of the CMT web site.
  • Source Code modified for GLAST to limit the externals required by Gaudi
  • LCGCMT_56c zip file of externals and interface CMT packages for Gaudi
  • An updated version of ROOT v5.22.00e-gl1, the binaries are available in GLAST_EXT at SLAC and the source is in compiled against gccxml 0.9

redhat4-i686-32bit-gcc34

  • Copy in our version of ROOT v5.22.00e-gl1 in the external/ROOT directory
  • Copy in our version of python 2.5.1-gl1 into the external/python directory
  • Update external/LCGCMT_56c/LCG_Configuration/cmt/requirements and
    set ROOT_config_version to 5.22.00e-gl1
    set Python_config_version to 2.5.1-gl1
  • Update external/LCGCMT/LCGCMT_56c/LCG_Interfaces/ROOT/cmt/requirements and comment out
    ## apply_pattern use_optional pkg=Qt
    ## apply_pattern use_optional pkg=dcache_client
    ## apply_pattern use_optional pkg=gfal
    and add:
    macro ROOT_cppflags "" \
                        target-winxp "-DROOT_w32pragma "
  • Update external/LCGCMT/LCGCMT_56c/LCG_Settings/cmt/requirements
    Update LCG_home to the top level location of the Gaudi build to something like:
    macro LCG_home "${myPathDir}/buildingGaudi_v21r4/"
    Update LCG_Releases to
    macro LCG_releases "$(LCG_home)/external"
  • Set up to use CMT v1r20p20090520, for example:
    setenv CMTBASE /afs/slac/g/glast/users/heather/gaudi_v21r4/CMT
    setenv CMTVERSION v1r20p20090520
    source $CMTBASE/$CMTVERSION/mgr/setup.csh
    setenv CMTCONFIG slc4_ia32_gcc34
    setenv CMTPATH /nfs/slac/g/glast/users/glground/heather/buildingGaudi_v21r4/GAUDI/GAUDI_v21r4:/nfs/slac/g/glast/users/glground/heather/buildingGaudi_v21r4/external:/nfs/slac/g/glast/users/glground/heather/buildingGaudi_v21r4/external/LCGCMT/LCGCMT_56c:/afs/slac/g/glast/users/heather/gaudi_v21r4
  • Gaudi uses CMT, so building goes something like this
    We choose to limit the Gaudi packages we build to (in this order):  GaudiKernel, GaudiSvc, GaudiUtil, GaudiAlg, GaudiAud
    For each package, enter the cmt directory and do:
      cmt broadcast "cmt config"
      source setup.sh
      make

...