Attachment 'minimal_ilcinstall_for_marlintpc-v01-14-01.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-14-01'
  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 Java_version = "1.6.0"
  26 
  27 
  28 # ======================= PACKAGE VERSIONS ===================================
  29 
  30 LCIO_version = "v02-01-02"
  31 ILCUTIL_version = "v01-00" 
  32 GEAR_version = "v01-02-02" 
  33 KalTest_version = "v01-05"
  34 KalDet_version = "v01-09" 
  35 CED_version = "v01-06"
  36 MarlinUtil_version = "v01-05-03"
  37 CondDBMySQL_version = "CondDBMySQL_ILC-0-9-5"
  38 LCCD_version = "v01-02"
  39 RAIDA_version = "v01-06-02"
  40 Marlin_version = "v01-03" # "v01-02-01"
  41 PathFinder_version =  "v00-01-01"
  42 CLHEP_version = "2.1.1.0"
  43 GSL_version = "1.14"
  44 CMake_version = "2.8.5"
  45 ROOT_version = "5.28.00f"
  46 CEDViewer_version = "v01-05-02"
  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 
 124 ilcsoft.install( CED( CED_version ))
 125 ilcsoft.module("CED").envcmake['CED_SERVER']='ON'
 126 ilcsoft.install( CEDViewer( CEDViewer_version ))
 127 
 128 ilcsoft.install( Marlin( Marlin_version ))
 129 ilcsoft.install( MarlinUtil( MarlinUtil_version ))
 130 
 131 ilcsoft.install( PathFinder( PathFinder_version ))
 132 
 133 ilcsoft.install( CLHEP( CLHEP_version))
 134 
 135 ilcsoft.install( GSL( GSL_version )) 
 136 
 137 #! OR: comment the next line in and the last line out
 138 ilcsoft.install( ROOT( ROOT_version ))
 139 
 140 # cmake
 141 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.