Repository navigation
Expand file tree
/
Copy pathHowToStart
More file actions
executable file
·97 lines (86 loc) · 3.39 KB
/
Copy pathHowToStart
File metadata and controls
executable file
·97 lines (86 loc) · 3.39 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
HOW TO START (compiling and running basic demo's)
-------------------------------------------------------------------------------
Preparatory steps
=================
git clone git@github.com:KrakowHEPSoft/KKMCee-dev.git
mv KKMCee-dev KKMCee-dev-master
cd KKMCee-dev-master
Mandatory link the latest Dizet version:
ln -s dizet-6.45 dizet
Please note that we recommend version 6.45,
however two older versions for experienced users are provided.
Switching to another version of Dizet requires
re-linking the dizet\ directory
and rebuilding the project from the scratch.
Building the project
====================
autoreconf -i --force
./configure CXXFLAGS="-std=c++11 -g -O2"
--with-hepmc=/opt/hepmc3-install
--with-photos=/opt/PHOTOS-install
make
Locations of the external \hepmc3 and \photospp\ libraries provided
explicitly in the configure parameters.
Under CernVM the following simple command sequence builds the project:
ln -s dizet-6.45 dizet
autoreconf -i --force
./configure
make
For installation instruction of CernVM virtual machine with
the CENTOS 7 system see section 1.1.3.2 on the following webpage:
https://hep-fcc.github.io/fcc-tutorials/software-basics/README.html
Running a simple example
========================
Compile and run MainMini.exe:
cd ProdRun/workMini/
cp workMini.input_105GeV_Leptons workMini.input
make start
The user will be prompted to provide the number of events
to be generated and the execution will start.
The output file pro.output contains the MC result for
the total cross section and the multitude of statistics
results on the MC generation process.
There are more input data for other similar control runs.
Advanced user program examples and benchmarks
=============================================
Running KKMCee in the folder ProdRun/work1/ is very simple:
cd ProdRun/work1/
cp work1_189GeV.input work1.input
make start
Note that no. of events to be generated is defined in Start.C
but the execution can be stopped any time by means of
make stop
diff pro.output pro.output_189GeV_10k
One may also initiate MC runs in ProdRun/workTau, ProdRun/workNU
and ProdRun/workFoam using predefined input files there.
Benchmark programs analyzing MC results from stored archive
files can be initiated as follows:
cd ProdDigest
make Plot1
make TabIIIPRD
make PlotNU
make PlotTau
make PlotBES
Archive histogram files can be replaced in the source code
by files from the actual run. For instance one may uncomment
in Plot1.cxx input data file ProdRun/work1/histo.root
or ProdRun/workTau/histo.root file in PlotTau.cxx
For beam energy spread (BES) studies a template demo program
ProdRun/MainBES.cxx is now added. To be run as follows:
cd ProdRun/workBES
make start
Example of preparing/running 24 batch jobs on the PC farm
=========================================================
Higher statistics MC runs one may organize on linux PC farm,
for example using predefined makefiles and scripts:
cd ProdRun/work1
make SLfarm24
make SLsubmitall
make q-nev
make q-sem
make farm-stop
make combine
--------------------------------------------------------------------------------
User Manual to be published in Comp. Phys. Commun.
http://arxiv.org/abs/2204.11949
================================================================================