forked from lycus/paravm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL
More file actions
41 lines (31 loc) · 1.2 KB
/
INSTALL
File metadata and controls
41 lines (31 loc) · 1.2 KB
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
== ParaVM: Parallella Virtual Machine ==
-- Installation --
ParaVM uses a fairly standard build system based on Autotools. If you're
building from Git, do the typical:
$ autoreconf -f -i
$ mkdir build
$ cd build
$ ../configure --prefix=/opt/paravm
$ make
$ make check
$ sudo make install
If you're cross-compiling, you'll want to skip the make check command. If
you're building from a tarball, you can skip the autoreconf command.
Note that if you're building with the JIT compiler, ParaVM will need to
install a helper module into the Linux kernel. This module exposes a
superuser-only character device (/dev/paravm) used to allocate persistent
physical memory from the kernel. ParaVM uses this to reserve memory that
Epiphany accelerator cores can then use reliably.
The kernel module is built separately, following standard out-of-tree kernel
module practices:
$ cd paravm/linux
$ make
$ sudo make install
$ sudo modprobe paravm
To upgrade the kernel module at a later time, do:
$ cd paravm/linux
$ make
$ sudo make install
$ sudo modprobe -r paravm
$ sudo modprobe paravm
Only do this when no ParaVM processes are running.