Attachment 'minimal_ilcinstall_for_marlintpc-v01-13-06.cfg'

Download

   1 ##############################################################################
   2 #
   3 #  this is a minimal ilcsoft installation file to be used by ilcinstall
   4 #  will create the basic installation for marlintpc to run
   5 #
   6 # based on work by F.Gaede, DESY and J. Engels, DESY
   7 # -- heavily modified by Ch. Rosemann, DESY
   8 #
   9 # !! you have to set a number of paths according to your specific system !!
  10 #
  11 ##############################################################################
  12 
  13 import os, sys
  14 
  15 # version number, don't change
  16 ilcsoft_release='TEST_v01-13-06'
  17 
  18 #! set this path !
  19 #ilcPath='/scratch/ilcsoft'
  20 ilcsoft_install_prefix = "/scratch/ilcsoft/"
  21 
  22 
  23 #! you need to set this according to your system
  24 MySQL_path = "/usr"
  25 
  26 Java_version = "1.6.0"
  27 
  28 
  29 # ======================= PACKAGE VERSIONS ===================================
  30 
  31 LCIO_version = "v02-01-01"
  32 ILCUTIL_version = "v01-00" 
  33 GEAR_version = "v01-02-01" 
  34 KalTest_version = "v01-05"
  35 KalDet_version = "v01-08" 
  36 CED_version = "v01-05"
  37 MarlinUtil_version = "v01-05-02"
  38 CondDBMySQL_version = "CondDBMySQL_ILC-0-9-5"
  39 LCCD_version = "v01-02"
  40 RAIDA_version = "v01-06-02"
  41 Marlin_version = "v01-03" # "v01-02-01"
  42 PathFinder_version =  "v00-01-01"
  43 CLHEP_version = "2.1.1.0"
  44 GSL_version = "1.14"
  45 CMake_version = "2.8.5"
  46 ROOT_version = "5.28.00f"
  47 
  48 # =======================+++++++++++++++++++===================================
  49 
  50 
  51 ilcsoft_install_dir = os.path.join( ilcsoft_install_prefix, ilcsoft_release )
  52 
  53 ilcsoft = ILCSoft( ilcsoft_install_dir )
  54 
  55 # global options
  56 ilcsoft.env["MAKEOPTS"]="-j2"
  57 ilcsoft.env["CXX"]="g++"
  58 ilcsoft.env["CC"]="gcc"
  59 ilcsoft.env["FC"]="gfortran"
  60 if( ilcsoft.os.isSL(4) ):
  61     ilcsoft.env["FC"]="g77"
  62 
  63 #--------- uncomment the following to build 32-bit mode on 64bit machines---
  64 # default is now 64bit-native build
  65 #
  66 ilcsoft.env["CXXFLAGS"]="-m32"
  67 ilcsoft.env["CFLAGS"]="-m32"
  68 ilcsoft.env["FFLAGS"]="-m32"
  69 ilcsoft.env["LDFLAGS"]="-m32"
  70 
  71 #--------- set to 'OFF' to build 64-bit natively -------
  72 ilcsoft.envcmake["BUILD_32BIT_COMPATIBLE"]="ON"
  73 #----------------------------------------------------------------
  74 
  75 # ----- build and install documentation -------------
  76 ilcsoft.envcmake["INSTALL_DOC"]="ON"
  77 
  78 ilcsoft.envcmake["CMAKE_BUILD_TYPE"]= "Debug"
  79 ilcsoft.envcmake["CMAKE_BUILD_TYPE"]= "RelWithDebInfo"
  80 ilcsoft.downloadType = "svn"
  81 
  82 
  83 
  84 #-------------------------------------------------------------------------
  85 # prerequisites: installed versions of Java, geant4, cernlib and mysql:
  86 #  -> modify according to your system !
  87 #-------------------------------------------------------------------------
  88 
  89 #  when using 'link' or 'use' please specify full path to installed package
  90 #  or use the version installed in afs (ilcPath) 
  91 
  92 
  93 # MySQL
  94 if 'MySQL_path' in dir():
  95     ilcsoft.link( MySQL( MySQL_path ))
  96 
  97 # Java
  98 if 'Java_path' in dir():
  99     ilcsoft.link( Java( Java_path ))
 100 
 101 
 102 ####################################################################
 103 
 104 ilcsoft.install( ILCUTIL( ILCUTIL_version ))
 105 ilcsoft.install( LCIO( LCIO_version )) 
 106 
 107 #----- this will build the optional ROOT dictionary for LCIO -----
 108 #------ set to OFF  if you don't want it
 109 ilcsoft.module("LCIO").envcmake['BUILD_ROOTDICT']='ON'
 110 #ilcsoft.module("LCIO").envcmake['ROOT_HOME']='${ROOTSYS}'
 111 
 112 
 113 ilcsoft.install( GEAR( GEAR_version )) 
 114 ilcsoft.module("GEAR").envcmake['GEAR_TGEO']='ON'
 115 
 116 ilcsoft.install( KalTest( KalTest_version )) 
 117 ilcsoft.install( KalDet( KalDet_version )) 
 118 
 119 ilcsoft.install( CondDBMySQL( CondDBMySQL_version )) 
 120 ilcsoft.install( LCCD( LCCD_version ))
 121 
 122 ilcsoft.install( RAIDA( RAIDA_version ))
 123 ilcsoft.install( CED( CED_version ))
 124 
 125 ilcsoft.install( Marlin( Marlin_version ))
 126 ilcsoft.install( MarlinUtil( MarlinUtil_version ))
 127 
 128 ilcsoft.install( PathFinder( PathFinder_version ))
 129 
 130 ilcsoft.install( CLHEP( CLHEP_version))
 131 
 132 ilcsoft.install( GSL( GSL_version )) 
 133 
 134 #! OR: comment the next line in and the last line out
 135 ilcsoft.install( ROOT( ROOT_version ))
 136 
 137 # cmake
 138 ilcsoft.install( CMake( CMake_version  ))

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] (2012-09-03 11:23:22, 3.8 KB) [[attachment:minimal_ilcinstall_for_marlintpc-v01-13-06.cfg]]
  • [get | view] (2012-09-03 11:23:52, 4.0 KB) [[attachment:minimal_ilcinstall_for_marlintpc-v01-14-01.cfg]]
  • [get | view] (2012-09-03 11:24:04, 4.0 KB) [[attachment:minimal_ilcinstall_for_marlintpc-v01-15.cfg]]
  • [get | view] (2013-11-12 18:14:48, 3.7 KB) [[attachment:minimal_ilcinstall_for_marlintpc-v01-17-04.cfg]]
 All files | Selected Files: delete move to page copy to page

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