2
2
<h2 >Table of Contents</h2 >
3
3
<div id =" text-table-of-contents " >
4
4
<ul >
5
- <li ><a href =" #orgb7da3f4 " >1. License</a ></li >
6
- <li ><a href =" #org69e9e53 " >2. Introduction</a ></li >
7
- <li ><a href =" #org217b743 " >3. Prerequisites</a ></li >
8
- <li ><a href =" #org7b62322 " >4. Installation</a >
5
+ <li ><a href =" #org8ca70b5 " >1. License</a ></li >
6
+ <li ><a href =" #orgc6a2b10 " >2. Introduction</a ></li >
7
+ <li ><a href =" #org3249413 " >3. Prerequisites</a ></li >
8
+ <li ><a href =" #org9a459f1 " >4. Installation</a >
9
9
<ul >
10
- <li ><a href =" #orgb144c8f " >4.1. Automatic Building</a ></li >
11
- <li ><a href =" #orga24197f " >4.2. Manual Building</a >
10
+ <li ><a href =" #org5074a2e " >4.1. Automatic Building</a ></li >
11
+ <li ><a href =" #org7099418 " >4.2. Manual Building</a >
12
12
<ul >
13
- <li ><a href =" #org603c87a " >4.2.1. Stand-alone building with official LLVM OpenMP Runtime and ThreadSanitizer OMPT support</a ></li >
13
+ <li ><a href =" #org8f09f21 " >4.2.1. Stand-alone building with official LLVM OpenMP Runtime and ThreadSanitizer OMPT support</a ></li >
14
14
</ul >
15
15
</li >
16
- <li ><a href =" #orgca14700 " >4.3. Build Archer within Clang/LLVM</a ></li >
16
+ <li ><a href =" #orgb799b9e " >4.3. Build Archer within Clang/LLVM</a ></li >
17
17
</ul >
18
18
</li >
19
- <li ><a href =" #org7ea4464 " >5. Usage</a >
19
+ <li ><a href =" #orgb820ad0 " >5. Usage</a >
20
20
<ul >
21
- <li ><a href =" #orgafdd25c " >5.1. How to compile</a >
21
+ <li ><a href =" #org213ff1a " >5.1. How to compile</a >
22
22
<ul >
23
- <li ><a href =" #orgb8c2451 " >5.1.1. Single source</a ></li >
24
- <li ><a href =" #org06407db " >5.1.2. Makefile</a ></li >
25
- <li ><a href =" #org793aee7 " >5.1.3. Hybrid MPI-OpenMP programs</a ></li >
23
+ <li ><a href =" #orgf7abb97 " >5.1.1. Single source</a ></li >
24
+ <li ><a href =" #orgf87b00e " >5.1.2. Makefile</a ></li >
25
+ <li ><a href =" #org7009afe " >5.1.3. Hybrid MPI-OpenMP programs</a ></li >
26
26
</ul >
27
27
</li >
28
- <li ><a href =" #org056c2b1 " >5.2. Options</a ></li >
29
- <li ><a href =" #orgb83c4fb " >5.3. Command-Line Flags</a ></li >
30
- <li ><a href =" #org0e47352 " >5.4. Runtime Flags</a ></li >
28
+ <li ><a href =" #org1af9794 " >5.2. Options</a ></li >
29
+ <li ><a href =" #orge5e8c59 " >5.3. Command-Line Flags</a ></li >
30
+ <li ><a href =" #org110062c " >5.4. Runtime Flags</a ></li >
31
31
</ul >
32
32
</li >
33
- <li ><a href =" #org98a2e4d " >6. Example</a ></li >
34
- <li ><a href =" #org21b6e2e " >7. Contacts and Support</a ></li >
35
- <li ><a href =" #orgea44b97 " >8. Members</a ></li >
33
+ <li ><a href =" #org73e58a9 " >6. Example</a ></li >
34
+ <li ><a href =" #orgcc38a36 " >7. Contacts and Support</a ></li >
35
+ <li ><a href =" #org9999451 " >8. Members</a ></li >
36
36
</ul >
37
37
</div >
38
38
</div >
39
39
40
40
41
- <a id =" orgb7da3f4 " ></a >
41
+ <a id =" org8ca70b5 " ></a >
42
42
43
43
# License
44
44
45
45
Please see LICENSE for usage terms.
46
46
47
47
48
- <a id =" org69e9e53 " ></a >
48
+ <a id =" orgc6a2b10 " ></a >
49
49
50
50
# Introduction
51
51
@@ -60,7 +60,7 @@ on open-source tools infrastructure such as LLVM, ThreadSanitizer, and
60
60
OMPT to provide portability.
61
61
62
62
63
- <a id =" org217b743 " ></a >
63
+ <a id =" org3249413 " ></a >
64
64
65
65
# Prerequisites
66
66
@@ -76,23 +76,23 @@ development at <https://github.com/OpenMPToolsInterface/LLVM-openmp>
76
76
(under the branch "tr4-stable").
77
77
78
78
79
- <a id =" org7b62322 " ></a >
79
+ <a id =" org9a459f1 " ></a >
80
80
81
81
# Installation
82
82
83
83
Archer has been developed under LLVM 3.9 (for more information visit
84
84
< http://llvm.org > ).
85
85
86
86
87
- <a id =" orgb144c8f " ></a >
87
+ <a id =" org5074a2e " ></a >
88
88
89
89
## Automatic Building
90
90
91
91
For an automatic building script (recommended) please visit the GitHub
92
92
page < https://github.com/PRUNERS/llvm_archer > .
93
93
94
94
95
- <a id =" orga24197f " ></a >
95
+ <a id =" org7099418 " ></a >
96
96
97
97
## Manual Building
98
98
@@ -105,7 +105,7 @@ based on bash shell, Clang/LLVM 3.9 version, Ninja build system, and
105
105
the LLVM OpenMP Runtime with OMPT support).
106
106
107
107
108
- <a id =" org603c87a " ></a >
108
+ <a id =" org8f09f21 " ></a >
109
109
110
110
### Stand-alone building with official LLVM OpenMP Runtime and ThreadSanitizer OMPT support
111
111
@@ -156,7 +156,7 @@ and build it with the following commands:
156
156
cd ../..
157
157
158
158
159
- <a id =" orgca14700 " ></a >
159
+ <a id =" orgb799b9e " ></a >
160
160
161
161
## Build Archer within Clang/LLVM
162
162
@@ -298,12 +298,12 @@ To make the environment permanent, add the previous lines or
298
298
equivalents to your shell start-up script such as "~ /.bashrc".
299
299
300
300
301
- <a id =" org7ea4464 " ></a >
301
+ <a id =" orgb820ad0 " ></a >
302
302
303
303
# Usage
304
304
305
305
306
- <a id =" orgafdd25c " ></a >
306
+ <a id =" org213ff1a " ></a >
307
307
308
308
## How to compile
309
309
@@ -324,14 +324,14 @@ library *libarcher.so*. (In the example below the runtime library will
324
324
be shown in square brackets).
325
325
326
326
327
- <a id =" orgb8c2451 " ></a >
327
+ <a id =" orgf7abb97 " ></a >
328
328
329
329
### Single source
330
330
331
331
clang-archer example.c -o example [ -L/path/to/archer/runtime/library -larcher ]
332
332
333
333
334
- <a id =" org06407db " ></a >
334
+ <a id =" orgf87b00e " ></a >
335
335
336
336
### Makefile
337
337
@@ -341,7 +341,7 @@ In your Makefile, set the following variables:
341
341
[ LD_FLAGS=-L/path/to/archer/runtime/library -larcher ]
342
342
343
343
344
- <a id =" org793aee7 " ></a >
344
+ <a id =" org7009afe " ></a >
345
345
346
346
### Hybrid MPI-OpenMP programs
347
347
@@ -351,15 +351,15 @@ In your Makefile, set the following variables:
351
351
[ LD_FLAGS=-L/path/to/archer/runtime/library -larcher ]
352
352
353
353
354
- <a id =" org056c2b1 " ></a >
354
+ <a id =" org1af9794 " ></a >
355
355
356
356
## Options
357
357
358
358
The command * clang-archer* works as a compiler wrapper, all the
359
359
options available for clang are also available for * clang-archer* .
360
360
361
361
362
- <a id =" orgb83c4fb " ></a >
362
+ <a id =" orge5e8c59 " ></a >
363
363
364
364
## Command-Line Flags
365
365
@@ -389,13 +389,13 @@ options available for clang are also available for *clang-archer*.
389
389
<td class =" org-left " >- ;- ; sa</td >
390
390
<td class =" org-left " >disabled</td >
391
391
<td class =" org-left " >>= 6.0.1</td >
392
- <td class =" org-left " >Enable static analysis (runtime and memory overhead may be longer ).</td >
392
+ <td class =" org-left " >Enable static analysis (can reduce runtime and memory overhead).</td >
393
393
</tr >
394
394
</tbody >
395
395
</table >
396
396
397
397
398
- <a id =" org0e47352 " ></a >
398
+ <a id =" org110062c " ></a >
399
399
400
400
## Runtime Flags
401
401
@@ -454,7 +454,7 @@ different flags are separated by spaces, e.g.:
454
454
</table >
455
455
456
456
457
- <a id =" org98a2e4d " ></a >
457
+ <a id =" org73e58a9 " ></a >
458
458
459
459
# Example
460
460
@@ -518,7 +518,7 @@ the report will look as follow:
518
518
ThreadSanitizer: reported 1 warnings
519
519
520
520
521
- <a id =" org21b6e2e " ></a >
521
+ <a id =" orgcc38a36 " ></a >
522
522
523
523
# Contacts and Support
524
524
@@ -531,7 +531,7 @@ the report will look as follow:
531
531
<
ul style =
" list-style-type :circle " > <
li > <
a href =
" mailto:[email protected] ?Subject=[archer-dev]%20 " target =
" _top " >Simone Atzeni</
a > </
li > <
li > <
a href =
" mailto:[email protected] ?Subject=[archer-dev]%20 " target =
" _top " >Joachim Protze</
a > </
li > </
ul >
532
532
533
533
534
- <a id =" orgea44b97 " ></a >
534
+ <a id =" org9999451 " ></a >
535
535
536
536
# Members
537
537
0 commit comments