]>
Commit | Line | Data |
---|---|---|
da32329d AM |
1 | |
2 | To build Starlight: | |
3 | ||
4 | - First create your build directory (e.g. mkdir <PathToSource>/build) | |
5 | - $ cd <BUILDDIR> | |
6 | - $ cmake <PathToSource> | |
7 | - $ make | |
8 | ||
9 | This creates an executable file, starlight, in the build directory. | |
10 | ||
11 | To run starlight a configuration file, slight.in, is needed. Examples of | |
12 | this file can be found in the config/ directory. | |
13 | ||
14 | To run: | |
15 | ||
16 | $ ./starlight | |
17 | ||
18 | If you want Pythia support you need to run cmake with an option: | |
19 | ||
20 | $ cmake <PathToSource> -DENABLE_PYTHIA=ON | |
21 | ||
22 | In addition the environment variable $PYTHIADIR needs to be pointing | |
23 | to the top directory of Pythia8. | |
24 | ||
25 | P.S. Pythia is disables in this release | |
26 | ||
27 | //--------------------------------------------------- | |
28 | ||
29 | ||
30 | directory standard contains regular Makefile and sample of config file | |
31 | ||
32 | ||
33 | for compilation | |
34 | ||
35 | 1) cd standard | |
36 | 2) gmake/make | |
37 | 3) ./starlight | |
38 | ||
39 | ||
40 | enjoy | |
41 | ||
42 | YG 08/12/2010 |