heptools-100_LHCB_7.cmake 2.6 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#--- Version ------------------------------------------------------
set(heptools_version 100_LHCB_7)

#---Core layer-----------------------------------------------------
include(heptools-100)

#---Specific of this layer-----------------------------------------
# Additions
LCG_external_package(pythia8           244.lhcb4            ${MCGENPATH}/pythia8 author=244)
if(NOT (${LCG_COMP} STREQUAL clang))
LCG_user_recipe(powheg-box-v2
  URL http://lcgpackages.web.cern.ch/lcgpackages/tarFiles/sources/MCGeneratorsTarFiles/powheg-box-v2-<powheg-box-v2_<NATIVE_VERSION>_author>.tar.gz
  UPDATE_COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/generators/powheg-box-v2/files <SOURCE_DIR>
         COMMAND ${CMAKE_COMMAND} -E chdir <SOURCE_DIR> ./distr-cleanup.sh
  CONFIGURE_COMMAND <VOID>
  BUILD_COMMAND make -f Makefile.lhcb -j1 FCOMP=${CMAKE_Fortran_COMPILER} CCOMP=${CMAKE_CXX_COMPILER} LHAPDF=<lhapdf_home> FASTJET=<fastjet_home>
  INSTALL_COMMAND make -f Makefile.lhcb install PREFIX=<INSTALL_DIR>
  IF NOT CMAKE_BUILD_TYPE MATCHES Deb THEN
          COMMAND $ENV{SHELL} -c "find <INSTALL_DIR>/lib -type f | grep -v setup | xargs -n 1 strip -S"
  ENDIF
  BUILD_IN_SOURCE 1
  DEPENDS fastjet lhapdf
)
  LCG_external_package(powheg-box-v2     r3744.lhcb2.rdynamic  ${MCGENPATH}/powheg-box-v2)
else()
  LCG_remove_package(powheg-box-v2)
endif()
LCG_external_package(lhapdf            6.2.3                ${MCGENPATH}/lhapdf author=6.2.3 usecxxstd=1 )
LCG_external_package(photos++          3.56.lhcb1           ${MCGENPATH}/photos++ author=3.56 )
LCG_external_package(pythia6           427.2.lhcb           ${MCGENPATH}/pythia6 author=6.4.27 hepevt=200000 )
LCG_external_package(tauola++          1.1.6b.lhcb          ${MCGENPATH}/tauola++ author=1.1.6b )
LCG_external_package(crmc              1.8.0.lhcb           ${MCGENPATH}/crmc author=1.8.0)
LCG_external_package(starlight         r313                 ${MCGENPATH}/starlight )
LCG_external_package(yoda              1.9.0                ${MCGENPATH}/yoda)
LCG_external_package(rivet             3.1.4                ${MCGENPATH}/rivet yoda=1.9.0 hepmc=2)
36
LCG_external_package(madgraph5amc      2.9.3.atlas1         ${MCGENPATH}/madgraph5amc author=2.9.3 )
37
38
39
40
41
LCG_external_package(thepeg            2.2.1                ${MCGENPATH}/thepeg hepmc=2)
LCG_external_package(herwig3           7.2.1                ${MCGENPATH}/herwig++  thepeg=2.2.1 madgraph=2.6.7 openloops=2.1.1 lhapdf=6.2.3 hepmc=2)
LCG_remove_package(herwig++)
LCG_remove_package(hjets)
LCG_remove_package(thep8i)
42
43
44

# Temporary: to install pythia8 patch (to be removed just after!!!)
LCG_top_packages(pythia8 evtgen rapidsim)