-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1-COMPILE
50 lines (24 loc) · 985 Bytes
/
1-COMPILE
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
INSTRUCTIONS FOR COMPILING AND LINKING THE RUNTIME SYSTEM AND EXAMPLES
======================================================================
CMake (https://cmake.org/) is used for the build process. You will
need to first install libhwloc, BLAS (specifically the cblas C
interface), and LAPACK (specifically the LAPACKE C interface).
Follow these instructions to build the library and examples.
1. Create a directory called "build":
mkdir build
2. Change to the "build" directory:
cd build
3. Run ccmake:
ccmake ../src
4. Type "c" for configure
5. Configure as appropriate
6. Type "c" again to reconfigure
7. Type "g" to generate and exit
8. Run
make
Assuming that there were no errors, you will now have two executables:
+ build/examples/dtrsm/test-dtrsm.x
+ build/examples/dpotrf/test-dpotrf.x
The runtime library is located at build/runtime/libpcp.a.
If you need support, please contact the NLAFET coordinator Bo Kågström