-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathINSTALL
79 lines (56 loc) · 2.79 KB
/
INSTALL
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
70
71
72
73
74
75
76
77
78
79
*****************************************************************************
Contents
*****************************************************************************
1- General requirements
2- Compiling POY for one processor
3- Compiling POY for parallel execution
4- Compiling POY for SWAMI, PISE, or web portals
*****************************************************************************
1- General requirements
*****************************************************************************
In order to compile POY, the minimal requirements are:
- Objective Caml version >= 3.10.0, which can be found in
http://www.ocaml.org.
- An ISO 99 C compiler.
- The GNU Make toolbox (version 3.80).
- The zlib compression library (http://www.zlib.net).
For the readline interface the readline library is needed, and for the ncurses
interface then ncurses is needed. If none of them is available, use the flat
interface.
The last command should probably be run as superuser. Check the configuration
options with ./configure --help.
*****************************************************************************
2- Compiling POY for one processor
*****************************************************************************
To compile the program, first modify the relevant paths and options in config
(there is a brief description on each group of options or you can see the
program's documentation), and then simply:
./configure
make
make install
By default the compilation scripts will try to use the ncurses, or the readline
interface if available. If none is, it may fail. In that case use the flat
interface as follows:
./configure --enable-interface=flat
make
make install
*****************************************************************************
3- Compiling POY for parallel execution
*****************************************************************************
For parallel execution you must use the flat interface. None of the others is
recommendable. You also need MPI installed. To compile follow your MPI
implementation recommendations, but a typical compilation would be:
./configure --enable-interface=flat --enable-mpi CC=mpicc
make
make install
*****************************************************************************
4- Compiling POY for SWAMI, PISE, or web portals
*****************************************************************************
For SWAMI, PISE, or web portals that provide access to the basics of the
application, a non-interactive version with limited functionality is provided as
the poy_server application. To compile it for sequential or parallel execution,
use the instructions above with the flat or readline interface. Then do:
make portal.native
make install_server
The program documentation is available in poy_server --help. The SWAMI xml
description is available in xml/swami.xml