-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathINSTALLATION
69 lines (48 loc) · 1.97 KB
/
INSTALLATION
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Installation
--
**Dependencies**
GCC 4.4 or higher (or other C compiler)
GSL 2.4 or higher (GNU Scientific Library)
FLAME XParser 0.17.1 (https://github.com/FLAME-HPC/xparser/archive/0.17.1.tar.gz)
FLAME Libmboard 0.3.1 (https://github.com/FLAME-HPC/libmboard/archive/master.zip)
# Pre-installed FLAME libraries and model source code
There is a virtual appliance with everything pre-compiled: the FLAME components XParser and Libmboard, and the model source code (currently v1.0).
Dependency: Oracle VirtualBox (https://www.virtualbox.org/), or any other virtualization client for ova files.
Download link:
https://gregorboehl.com/live/etace-v.0.997.1.ova
Documentation:
http://www.wiwi.uni-bielefeld.de/lehrbereiche/vwl/etace/Eurace_Unibi/Virtual_Appliance
# Installation of FLAME libraries on stand-alone systems
## 1. Prepare system requirements
Make sure to have `cunit` and `gsl` installed.
- On Debian-based systems: `sudo apt-get install libcunit1 libcunit1-doc libcunit1-dev libgsl-dev`.
- On macOS: `brew install cunit gsl`.
- On Windows (TODO: test on appveyor): `TODO`.
## 2. Install libmboard
On top of the repo root directory, download libmboard master version
(https://github.com/FLAME-HPC/libmboard/archive/master.zip has more
bugfixes since 0.3.1) and unzip it
```bash
mkdir libmboard
cd libmboard-master
./autogen.sh
# Remove --disable-parallel if you have mpi installed
./configure --prefix=$(cd ../libmboard; pwd) --disable-parallel
make
make install
cd .. # back to the repo root directory
```
## 3. Install xparser and generate makefile for the model
Download xparser 0.17.1 (https://github.com/FLAME-HPC/xparser/archive/0.17.1.tar.gz) and
extract to xparser/ directory on top of the repo root directory.
```bash
cd xparser
make
./xparser ../eurace_model.xml
cd ..
```
## 4. Build the model
Be sure to replace LIBMBOARD_DIR in Makefile from `/usr/local` to
`$(PWD)/libmboard`.
Finally, run `make`, which should compile everything if the previous steps are
executed correctly.