-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathINSTALL
90 lines (63 loc) · 3.08 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
80
81
82
83
84
85
86
87
88
89
90
*****************************************************************************
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).
- LAPACK (for likelihood analysis) (optional)
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:
cd src/
./configure
make OCAMLPARAM=safe-string=0,_
make install
By default the compilation scripts will try to use the ncurses, then the
readline, then lastly the flat interface. You can manually specify this by the
following:
cd src/
./configure --enable-interface=flat
make OCAMLPARAM=safe-string=0,_
make install
*****************************************************************************
3- Compiling POY for parallel execution
*****************************************************************************
For parallel execution the flat interface is automatically set by default. 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 OCAMLPARAM=safe-string=0,_
make install
Windows machines do not come with mpicc and setting this can be ignored. The
configure script will guess that 1) the libraries are in the path and 2) that
they are named conventionally.
*****************************************************************************
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:
cd src/
make portal
make install_server
The program documentation is available in poy_server --help. The SWAMI xml
description is available in xml/swami.xml