forked from szuckerm/DARTS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
47 lines (39 loc) · 1.51 KB
/
README
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
================
= DARTS README =
================
Hello and thank you for downloading/taking interest in Darts, an asynchonous
fine-grained runtime based on the codelet model! The following is designed to
get you off the ground.
System requirements:
====================
- Pthreads.
- hwloc http://www.open-mpi.org/projects/hwloc/
- Optional but recommended: TBB http://threadingbuildingblocks.org/
Steps to install:
=================
1. Create a director to build the source in the upper most directory
$ mkdir build
2. Move into this directory
$ cd build
3. Use Cmake to configure the build aiming at the top level CMakelist.txt
$ cmake ..
4. Build
$ make
5. To install for other projects to use
$ make install
Cmake Options:
==============
All of these options may be added when generating the makefiles in step 3.
1. Debug ie. compile with -g: -DDEBUG=ON
By default cmake compiles in release mode ie. compiles with -O3
2. Install directory: -DCMAKE_INSTALL_PREFIX="DIRECTORY/OF/YOUR/CHOICE"
By defualt Darts will install in bash variable HOME/darts
Troubleshooting:
================
1. Cmake cannot find a hwloc/TBB
First make sure you have hwloc/TBB installed on your system.
Second cmake will look for hwloc/TBB in specific directories. To find if you
installation is located in on of these directories, navigate in your source
to the cmake/Modules directory and view the FindHwloc.cmake/FindTBB.cmake
file. You may add your search path to these files rather than moving your
installation.