forked from melissa-sa/melissa-sa.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.html
More file actions
99 lines (95 loc) · 4.2 KB
/
install.html
File metadata and controls
99 lines (95 loc) · 4.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
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
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link href="prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="prettify.js"></script>
<link rel="stylesheet" href="melissa.css" />
<title>Melissa</title>
</head>
<body onload="prettyPrint()">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="melissa">
Melissa
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div id="navrow1" class="tabs">
<a href="index.html"><div id="melissa">Melissa</div></a>
<ul class="tablist">
<li class="current"><a href="install.html"><span>Getting Started</span></a></li>
<li><a href="refcard.html"><span>Refcard</span></a></li>
<li><a href="doxygen.html"><span>Documentation</span></a></li>
<li><a href="contacts.html"><span>Contacts</span></a></li>
<li><a href="https://github.com/melissa-sa/melissa" target="_blank"><span>Source</span></a></li>
</ul>
</nav>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="start.html"><button id="start" type="button">Get the Software</button></a></li>
<li class="navelem_current"><a class="el" href="install.html"><button id="install" type="button">Install</button></a></li>
<li class="navelem"><a class="el" href="tutorial.html"><button id="tuto" type="button">Step-by-step Tutorial</button></a></li>
</ul>
</div>
<div class="header">
<div class="headertitle">
<div class="title">
Install
</div>
<p>
</p>
<a href="start.html"><button id="prev" type="button">previous</button></a><a href="tutorial.html"><button id="next" type="button">next</button></a>
</div>
</div><!--header-->
<div id="install_text" class="text">
<h2>Prerequisites</h2>
<p>
Melissa is a CMake project.
To install Melissa from the sources, you will need CMake and PkgConfig.
If you don't have ZeroMQ installed from sources, CMake will download and install it.<br />
From the <code class="code">Melissa</code> root directory:
<pre class="prettyprint"><code class="lang-bash">
mkdir build
cd build
cmake ../source
make
make install
</code></pre>
</p>
<h2>CMake options</h2>
A list of usefull CMake options:
<ul>
<li><code class="code">-DBUILD_WITH_MPI</code> (default: ON)</li>
Enables MPI.
<li><code class="code">-DBUILD_DOCUMENTATION</code> (default: OFF)</li>
If Doxygen is found, builds the Doxygen documentation.
<li><code class="code">-DBUILD_EXAMPLES</code> (default: ON)</li>
Compile the heat equation solver examples.
<li><code class="code">-DBUILD_EXAMPLES_WITH_MPI</code> (default: ON)</li>
Complie the examples with MPI.
<li><code class="code">-DBUILD_SHARED_LIBS</code> (default: OFF)</li>
Builds Melissa libraries as shared libraries.
<li><code class="code">-DBUILD_TESTING</code> (default: ON)</li>
Builds Melissa tests. They can be run with <code class="prettyprint lang-bash">make test</code>.
<li><code class="code">-DBUILD_WITH_OpenMP</code> (default: OFF)</li>
Enables OpenMP for Melissa Server.
<li><code class="code">-DBUILD_WITH_PROBES</code> (default: OFF)</li>
Adds some debug outputs to Melissa server.
<li><code class="code">-DCMAKE_INSTALL_PREFIX</code> (default: '../install')</li>
Defines melissa install directory.
<li><code class="code">-DINSTALL_ZMQ</code> (default: ON)</li>
Enable CMake to install ZeroMQ. If you already have ZeroMQ manualy installed, put it to OFF and use the option described after:
<li><code class="code">-DZMQ_DIR</code></li>
Sets the path to your ZeroMQ install directory. If the directory is not found, the previous option will be turned to ON and ZeroMQ will be downloaded and installed.
</ul>
</p>
</div>
</body>
</html>