Attachment 'release-ilcsoft.cfg'

Download

   1 ##############################################################################
   2 #
   3 # Configuration file for installing ILC Software release v01-14
   4 #
   5 # This cfg file assumes the base-level tools from release_v01-14-base.cfg
   6 # are already installed and available in your system (base-level tools are the
   7 # tools which are set as 'ilcsoft.link' at the end of this file
   8 #
   9 # If you do not have this tools available on your system you can install them
  10 # with the configuration file release_v01-14-base.cfg or alternatively
  11 # install all software with release_v01-14-scratch.cfg (please check
  12 # release_v01-14-base.cfg for more details)
  13 #
  14 # Please do not forget to modify the directories in this cfg file
  15 # according to your system !!
  16 #
  17 # Author: F. Gaede, J. Engels, DESY
  18 # Date: Jun 30, 2010
  19 #
  20 ##############################################################################
  21 
  22 import os, sys
  23 
  24 # read package versions from external file
  25 path_where_this_file_lives = os.path.dirname( config_file )
  26 versions_file = os.path.join( path_where_this_file_lives, "release-versions.py" )
  27 execfile( versions_file )
  28 
  29 # installation directory
  30 if not 'ilcsoft_install_dir' in dir():
  31     if not 'ilcsoft_install_prefix' in dir():
  32         # default install prefix
  33         ilcsoft_install_prefix = "$HOME/ilcsoft"
  34 
  35 ilcsoft_install_dir = ilcsoft_install_prefix
  36 
  37 ilcsoft = ILCSoft( ilcsoft_install_dir )
  38 
  39 
  40 # python variable for referring the ILC Home directory
  41 # used to link or use already installed packages (SL5)
  42 # --- set in release-versions.py ---
  43 #ilcPath = "/afs/desy.de/group/it/ilcsoft/"
  44 #ilcPath = '/afs/desy.de/project/ilcsoft/sw/i386_gcc41_sl5/'
  45 if not 'ilcPath' in dir():
  46     "raise ilcPath not set"
  47 
  48 ilcPath = os.path.normpath( ilcPath ) + '/' # make sure there it ends with /
  49 
  50 
  51 # global options
  52 ilcsoft.env["MAKEOPTS"]="-j4"
  53 ilcsoft.env["CXX"]="g++"
  54 ilcsoft.env["CC"]="gcc"
  55 ilcsoft.env["FC"]="gfortran"
  56 if( ilcsoft.os.isSL(4) ):
  57     ilcsoft.env["FC"]="g77"
  58 
  59 #
  60 ilcsoft.envcmake['CMAKE_CXX_FLAGS']= CMAKE_CXX_FLAGS
  61 #
  62 
  63 if( len( Fortran_lib_path ) > 0 ):
  64   ilcsoft.envcmake["FORTRAN_LIBRARY_SEARCH_PATH"]=Fortran_lib_path
  65 
  66 
  67 # ----- build and install documentation -------------
  68 ilcsoft.envcmake["INSTALL_DOC"]="ON"
  69 
  70 
  71 #ilcsoft.envcmake["CMAKE_BUILD_TYPE"]= "Debug"
  72 ilcsoft.envcmake["CMAKE_BUILD_TYPE"]= "RelWithDebInfo"
  73 ilcsoft.downloadType = "svn"
  74 
  75 # additional system pathes for FIND_LIBRARY, FIND_PATH
  76 #-----------------------------------------------
  77 #ilcsoft.env["CMAKE_LIBRARY_PATH"]="/usr/lib/gcc/i386-redhat-linux/3.4.3:/another/path/lib"
  78 #ilcsoft.env["CMAKE_INCLUDE_PATH"]="/usr/include/c++/3.4.3:/another/path/include"
  79 #-----------------------------------------------
  80 
  81 
  82 ###########################################################
  83 
  84 ilcsoft.install( LCCD( LCCD_version ))
  85 
  86 ilcsoft.install( Marlin( Marlin_version ))
  87 ilcsoft.module("Marlin").envcmake["MARLIN_GUI"]='OFF'
  88 
  89 #ilcsoft.install( MarlinPKG( "MarlinDD4hep", MarlinDD4hep_version ))
  90 #ilcsoft.module("MarlinDD4hep").download.root="marlin"
  91 #ilcsoft.module("MarlinDD4hep").addDependency( [ 'Marlin', 'DD4hep', 'Root'] )
  92 
  93 #ilcsoft.install( MarlinPKG( "DDMarlinPandora", DDMarlinPandora_version ))
  94 #ilcsoft.module("DDMarlinPandora").download.root="marlinreco"
  95 #ilcsoft.module("DDMarlinPandora").addDependency( [ 'Marlin', 'MarlinUtil', 'DD4hep', 'ROOT', 'PandoraPFANew'] )
  96 
  97 
  98 #ilcsoft.install( MarlinUtil( MarlinUtil_version ))
  99 
 100 
 101 #ilcsoft.install( Mokka( Mokka_version ))
 102 #ilcsoft.module("Mokka").envcmake["WITH_GEANT4_UIVIS"]='ON'
 103 #ilcsoft.module("Mokka").env["MOKKA_DEBUG"]=1
 104 #ilcsoft.module("Mokka").env["MOKKA_PACK_LIBS"]=1 # FIXME: CAUSES TOO MUCH LIB DEPENDENCIES .... TO BE SOLVED !!
 105 
 106 #----------  standard reco packages
 107 
 108 #ilcsoft.install( MarlinReco( MarlinReco_version )) 
 109 
 110 #ilcsoft.install( PandoraAnalysis( PandoraAnalysis_version ))
 111 
 112 #ilcsoft.install( PandoraPFANew( PandoraPFANew_version ))
 113 #ilcsoft.module("PandoraPFANew").envcmake["PANDORA_MONITORING"]='ON'
 114 #ilcsoft.module("PandoraPFANew").envcmake["LC_PANDORA_CONTENT"]='ON'
 115 #ilcsoft.module("PandoraPFANew").envcmake["EXAMPLE_PANDORA_CONTENT"]='ON'
 116 #ilcsoft.module("PandoraPFANew").envcmake["ROOT_DIR"]='${ROOTSYS}/etc/cmake'
 117 
 118 #ilcsoft.install( MarlinPandora( MarlinPandora_version ))
 119 
 120 #ilcsoft.install( LCFIVertex( LCFIVertex_version ))
 121 #ilcsoft.module( "LCFIVertex" ).envcmake["BOOST_ROOT"] = Boost_path
 122 
 123 #ilcsoft.install( CEDViewer( CEDViewer_version )) 
 124 
 125 #ilcsoft.install( Overlay( Overlay_version ))  
 126 
 127 #ilcsoft.install( FastJetClustering( FastJetClustering_version ))
 128 
 129 #ilcsoft.install( MarlinPKG( "MarlinFastJet", MarlinFastJet_version ))
 130 #ilcsoft.module("MarlinFastJet").download.root="marlinreco"
 131 #ilcsoft.module("MarlinFastJet").addDependency( [ 'LCIO', 'Marlin', 'FastJet'] )
 132 
 133 #ilcsoft.install( MarlinPKG( "LCTuple", LCTuple_version ))
 134 #ilcsoft.module("LCTuple").download.root="marlinreco"
 135 #ilcsoft.module("LCTuple").addDependency( [ 'LCIO', 'Marlin', 'ROOT'] )
 136 
 137 #ilcsoft.install( MarlinPKG( "MarlinKinfit", MarlinKinfit_version ))
 138 #ilcsoft.module("MarlinKinfit").download.root="marlinreco"
 139 #ilcsoft.module("MarlinKinfit").addDependency( [ 'LCIO', 'GEAR', 'GSL', 'Marlin'] )
 140 
 141 #ilcsoft.install( MarlinPKG( "MarlinKinfitProcessors", MarlinKinfitProcessors_version ))
 142 #ilcsoft.module("MarlinKinfitProcessors").download.root="marlinreco"
 143 #ilcsoft.module("MarlinKinfitProcessors").addDependency( [ 'LCIO', 'GEAR', 'GSL', 'Marlin'] )
 144 
 145 #ilcsoft.install( MarlinTrk( MarlinTrk_version ))
 146 #ilcsoft.install( KiTrack( KiTrack_version ))
 147 #ilcsoft.install( KiTrackMarlin( KiTrackMarlin_version ))
 148 
 149 #ilcsoft.install( MarlinPKG( "MarlinTrkProcessors", MarlinTrkProcessors_version ))
 150 #ilcsoft.module("MarlinTrkProcessors").download.root="marlinreco"
 151 #ilcsoft.module("MarlinTrkProcessors").addDependency( [ 'LCIO', 'ROOT', 'GSL', 'Marlin', 'MarlinUtil', 'KalTest', 'KalDet', 'MarlinTrk', 'KiTrack', 'KiTrackMarlin'] )
 152 
 153 #ilcsoft.install( MarlinPKG( "ILDPerformance", ILDPerformance_version ))
 154 #ilcsoft.module("ILDPerformance").download.root="marlinreco"
 155 #ilcsoft.module("ILDPerformance").addDependency( [ 'Marlin', 'MarlinUtil', 'ROOT'] )
 156 
 157 #ilcsoft.install( MarlinPKG( "Clupatra", Clupatra_version ))
 158 #ilcsoft.module("Clupatra").download.root="marlinreco"
 159 #ilcsoft.module("Clupatra").addDependency( [ 'LCIO', 'ROOT', 'RAIDA', 'Marlin', 'MarlinUtil', 'KalTest', 'MarlinTrk' ] )
 160 
 161 #ilcsoft.install( MarlinPKG( "Physsim", Physsim_version ))
 162 #ilcsoft.module("Physsim").download.root="physsim"
 163 #ilcsoft.module("Physsim").addDependency( [ 'LCIO', 'ROOT', 'Marlin' ] )
 164 
 165 #ilcsoft.install( MarlinPKG( "FCalClusterer", FCalClusterer_version ))
 166 #ilcsoft.module("FCalClusterer").download.root="FCAL/Software"
 167 #ilcsoft.module("FCalClusterer").addDependency( [ 'LCIO', 'ROOT', 'Marlin' ] )
 168 
 169 #ilcsoft.install( MarlinPKG( "LCFIPlus", LCFIPlus_version ))
 170 #ilcsoft.module("LCFIPlus").download.root="marlinreco"
 171 #ilcsoft.module("LCFIPlus").addDependency( [ 'LCIO', 'GEAR', 'ROOT', 'Marlin', 'MarlinUtil', 'LCFIVertex'] )
 172 
 173 #ilcsoft.install( MarlinPKG( "ForwardTracking", ForwardTracking_version ))
 174 #ilcsoft.module("ForwardTracking").download.root="marlinreco"
 175 #ilcsoft.module("ForwardTracking").addDependency( [ 'LCIO', 'GEAR', 'ROOT', 'GSL', 'Marlin', 'MarlinUtil', 'MarlinTrk'] )
 176 
 177 
 178 
 179 #---------test beam packages 
 180 
 181 #ilcsoft.install( Eutelescope( Eutelescope_version ))
 182 #ilcsoft.module("Eutelescope").env['EUDAQ_VERSION']='trunk'
 183 #ilcsoft.module("Eutelescope").env['MILLEPEDEII_VERSION']='trunk'
 184 
 185 
 186 #ilcsoft.install( PathFinder( PathFinder_version ))
 187 #ilcsoft.install( MarlinTPC( MarlinTPC_version ))
 188 
 189 #ilcsoft.install( BBQ( BBQ_version ))
 190 
 191 #ilcsoft.install( Druid( Druid_version ))
 192 
 193 #ilcsoft.install( Garlic( Garlic_version ))
 194 
 195 
 196 
 197 ilcsoft.install( RAIDA( RAIDA_version ))
 198 
 199 #ilcsoft.install( KalTest( KalTest_version ))
 200 #ilcsoft.install( KalDet( KalDet_version ))
 201 
 202 #ilcsoft.install( GBL ( GBL_version ) )
 203 
 204 #------ slic et al
 205 ilcsoft.install( XercesC(XercesC_version)) # ilcPath + "xercesc/" + XercesC_version ))
 206 
 207 #ilcsoft.install( HepPDT( HepPDT_version ))
 208 #ilcsoft.install( GDML( GDML_version ))
 209 #ilcsoft.install( LCDD( LCDD_version ))
 210 #ilcsoft.install( SLIC( SLIC_version ))
 211 
 212 #ilcsoft.install( SlicPandora( SlicPandora_version ))
 213 #-----------------
 214 
 215 # DD4hep
 216 #ilcsoft.install( DD4hep( DD4hep_version )) 
 217 #ilcsoft.module("DD4hep").envcmake["DD4HEP_USE_GEANT4"]=1
 218 #ilcsoft.module("DD4hep").envcmake["DD4HEP_USE_LCIO"]=1
 219 #ilcsoft.module("DD4hep").envcmake["DD4HEP_USE_XERCESC"]=0
 220 #ilcsoft.module("DD4hep").envcmake["DD4HEP_USE_PYROOT"]=0
 221 #ilcsoft.module("DD4hep").envcmake["DD4HEP_USE_GEAR"]=1
 222 #ilcsoft.module("DD4hep").envcmake["DD4HEP_USE_BOOST"]=1
 223 #ilcsoft.module("DD4hep").envcmake["BOOST_ROOT"] = Boost_path
 224 
 225 #ilcsoft.install( lcgeo( lcgeo_version )) 
 226 
 227 #ilcsoft.install( aidaTT( aidaTT_version )) 
 228 
 229 #ilcsoft.install( DDKalTest( DDKalTest_version ))
 230 
 231 #ilcsoft.install( DD4hepExamples ( DD4hepExamples_version ))
 232 
 233 ####################################################################
 234 #
 235 # the following tools are installed in afs:
 236 #
 237 # - for SL5 (32bit) under:
 238 #
 239 #     /afs/desy.de/project/ilcsoft/sw/i386_gcc41_sl5/
 240 #
 241 # - for SL5 (64bit) under:
 242 #
 243 #     /afs/desy.de/project/ilcsoft/sw/x86_64_gcc41_sl5
 244 #
 245 # they can be linked from there or need to be installed on your system
 246 #
 247 ####################################################################
 248 
 249 
 250 #----- configs ------------------------------------------------------
 251 #ilcsoft.link( ConfigPKG( "StandardConfig", ilcPath + "StandardConfig/" + StandardConfig_version ) )
 252 #stdconf = ilcsoft.module( "StandardConfig")
 253 #stdconf.env["STANDARDCONFIG"]=stdconf.installPath
 254 #
 255 #ilcsoft.link( ConfigPKG( "MokkaDBConfig", ilcPath + "MokkaDBConfig/" + MokkaDBConfig_version ) ) 
 256 #mokkadbconf = ilcsoft.module( "MokkaDBConfig")
 257 #mokkadbconf.download.root = "ilctools"
 258 #mokkadbconf.envorder=["MOKKADBCONFIG"]
 259 #mokkadbconf.env["MOKKADBCONFIG"]=mokkadbconf.installPath
 260 #mokkadbconf.env["MOKKA_DUMP_FILE"]="$MOKKADBCONFIG/mokka-dbdump.sql.tgz"
 261 #mokkadbconf.envpath["PATH"].append( "$MOKKADBCONFIG/scripts" )
 262 #
 263 #ilcsoft.link( ConfigPKG( "LCFI_MokkaBasedNets", ilcPath + "LCFI_MokkaBasedNets/" + LCFI_MokkaBasedNets_version ) )
 264 #lcfinets=ilcsoft.module( "LCFI_MokkaBasedNets" )
 265 #lcfinets.download.root = "tagnet"
 266 #lcfinets.env["LCFIMOKKABASEDNETS"]=lcfinets.installPath
 267 #--------------------------------------------------------------------
 268 
 269 ilcsoft.install( CED( CED_version ))
 270 ilcsoft.module("CED").envcmake['CMAKE_CXX_FLAGS']='-Wall -std=c++11 -Wno-c++11-narrowing'
 271 
 272 #ilcsoft.use( LCIO( ilcPath + "lcio/" + LCIO_version ))
 273 ilcsoft.install(  LCIO("v02-05" ))
 274 #ilcsoft.install( LCIO( LCIO_version ))
 275 
 276 #----- this will build the optional ROOT dictionary for LCIO -----
 277 #------ set to OFF  if you don't want it
 278 ilcsoft.module("LCIO").envcmake['BUILD_ROOTDICT']='ON'
 279 ilcsoft.module("LCIO").envcmake['INSTALL_DOC']='OFF'
 280 ilcsoft.module("LCIO").envcmake['ROOT_HOME']='${ROOTSYS}'
 281 ilcsoft.module("LCIO").envcmake["BUILD_WITH_DCAP"]="ON"
 282 
 283 #----- this will build the optional ROOT dictionary for LCIO -----
 284 #------ set to OFF  if you don't want it
 285 #ilcsoft.module("LCIO").envcmake['BUILD_ROOTDICT']='ON'
 286 #ilcsoft.module("LCIO").envcmake['INSTALL_DOC']='OFF'
 287 #ilcsoft.module("LCIO").envcmake['ROOT_HOME']='${ROOTSYS}'
 288 #ilcsoft.module("LCIO").envcmake["BUILD_WITH_DCAP"]="ON"
 289 # it is recommended to use the LD_PRELOAD mechanism for opening lcio files in dCache
 290 #ilcsoft.use( dcap( ilcPath + "dcap/" + dcap_version ))
 291 
 292 #ilcsoft.use( GEAR( ilcPath + "gear/" + GEAR_version ))
 293 ilcsoft.install( GEAR( GEAR_version ))
 294 ilcsoft.module("GEAR").envcmake['GEAR_TGEO']='ON'
 295 
 296 
 297 #ilcsoft.use( FastJet( ilcPath + "FastJet/" + FastJet_version ))
 298 
 299 ilcsoft.install( ROOT(ROOT_version) )
 300 # ilcPath + "root/" + ROOT_version ))
 301 
 302 ilcsoft.install( CLHEP ( CLHEP_version))
 303 ilcsoft.install( GSL(  GSL_version ))
 304 ilcsoft.install( QT( QT_version ))
 305 
 306 ilcsoft.install( CondDBMySQL( CondDBMySQL_version ))
 307 
 308 # cernlib
 309 #if 'CERNLIB_path' in dir():
 310 #    ilcsoft.use( CERNLIB( CERNLIB_path ))
 311 
 312 # geant4
 313 #if 'Geant4_path' in dir():
 314 #    ilcsoft.use( Geant4 ( Geant4_path ))
 315 #    if 'G4ENV_INIT_path' in dir():
 316 #        ilcsoft.module("Geant4").env["G4ENV_INIT"] = G4ENV_INIT_path
 317 
 318 # mysql
 319 if 'MySQL_path' in dir():
 320   ilcsoft.use(  MySQL(MySQL_path ) )
 321 
 322 # Java
 323 if 'Java_path' in dir():
 324     ilcsoft.use( Java( Java_path ))
 325 
 326 # cmake
 327 #ilcsoft.use( CMake( ilcPath + "CMake/" + CMake_version ))
 328 
 329 ilcsoft.install( ILCUTIL( ILCUTIL_version) )
 330 # ilcPath + "ilcutil/" + ILCUTIL_version ))
 331 
 332 
 333 # use pe-installed boost
 334 if 'Boost_path' in dir():
 335    ilcsoft.use( Boost( Boost_path ) )
 336 
 337 # end of configuration file

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2016-05-24 19:42:30, 3.1 KB) [[attachment:FindLCIO.cmake]]
  • [get | view] (2016-04-26 15:50:01, 1.7 KB) [[attachment:install_boost.sh]]
  • [get | view] (2016-05-24 16:44:14, 1.7 KB) [[attachment:installboost.sh]]
  • [get | view] (2016-05-24 16:45:49, 1.6 KB) [[attachment:mysql.py]]
  • [get | view] (2016-04-26 15:58:23, 4.4 KB) [[attachment:qt.py]]
  • [get | view] (2016-04-26 15:50:14, 12.2 KB) [[attachment:release-ilcsoft.cfg]]
  • [get | view] (2016-04-26 15:50:18, 5.7 KB) [[attachment:release-versions.py]]
  • [get | view] (2016-04-26 15:58:02, 4.8 KB) [[attachment:root.py]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.