Statistics
| Branch: | Revision:

root / INSTALL @ master

History | View | Annotate | Download (1.19 KB)

1 01873262 Georg Kunz
INSTALLATION INSTRUCTIONS
2
~~~~~~~~~~~~~~~~~~~~~~~~~
3
4
Dependencies
5
~~~~~~~~~~~~
6
7
In addition to the dependecies imposed by OMNeT++, Horizon requires the following
8
libraries/features to be installed:
9
10
 - libatomic-ops-dev
11
 - pthread
12
13
14
Build options
15
~~~~~~~~~~~~~
16
17
These are Horizon specific build options that can be set in configure.user
18
19
 - NOBARRIER:
20
    Enable or disable the use of barrier messages.
21
     yes -> no NOT use barrier messages (default)
22
     no  -> use barrier messages
23
24
 - CACHE_LINE_SIZE:
25
    In combination with NOBARRIER: Define the cache line size used for aligning
26
    synchronization data structures to cache line borders.
27
     0: Disable alignment.
28
    Check /sys/devices/system/cpu/cpu0/cache/index*/coherency_line_size to determine
29
    the cache line size of your system. Typically, this value is 64 or 128.
30
    Defaults to the value read from the pseudo file stated above.
31
32
 - ENABLE_OWNERSHIP:
33
    Enable or disable ownership management. Do NOT use ownership management in
34
    conjunction with parallel execution. Defaults to "no".
35
    
36
 - ATOMIC_OPS_DEBUG
37
38
39
Building Horizon - Quick Guide
40
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41
42
From the command prompt run
43
44
  $ . setenv
45
  $ ./configure
46
  $ make
47