<?xml version=
"1.0" encoding=
"UTF-8"?>
<!
DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<
html xmlns=
"http://www.w3.org/1999/xhtml" xml:lang=
"en">
<
head>
<
title>GAP (NormalizInterface) - Chapter
4: Installing NormalizInterface</
title>
<
meta http-equiv=
"content-type" content=
"text/html; charset=UTF-8" />
<
meta name=
"generator" content=
"GAPDoc2HTML" />
<
link rel=
"stylesheet" type=
"text/css" href=
"manual.css" />
<
script src=
"manual.js" type=
"text/javascript"></
script>
<
script type=
"text/javascript">overwriteStyle();</
script>
</
head>
<
body class=
"chap4" onload=
"jscontent()">
<
div class=
"chlinktop"><
span class=
"chlink1">Goto Chapter: </
span><
a href=
"chap0.html">Top</
a> <
a href="chap1.html">1</a> <a href="chap2.html">2</a> <a href="chap3.html">3</a> <a href="chap4.html">4</a> <a href="chapBib.html">Bib</a> <a href="chapInd.html">Ind</a> </div>
<div class="chlinkprevnexttop"> <a href="chap0.html">[Top of Book]</a> <a href="chap0.html#contents">[Contents]</a> <a href="chap3.html">[Previous Chapter]</a> <a href="chapBib.html">[Next Chapter]</a> </div>
<p id="mathjaxlink" class="pcenter"><a href="chap4_mj.html">[MathJax on]</a></p>
<p><a id="X7DA4E7697F7D5F0C" name="X7DA4E7697F7D5F0C"></a></p>
<div class="ChapSects"><a href="chap4.html#X7DA4E7697F7D5F0C">4 <span class="Heading">Installing NormalizInterface</span></a>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap4.html#X7CD1A8937DFB78BF">4.1 <span class="Heading">Compiling</span></a>
</span>
</div>
</div>
<h3>4 <span class="Heading">Installing NormalizInterface</span></h3>
<p><a id="X7CD1A8937DFB78BF" name="X7CD1A8937DFB78BF"></a></p>
<h4>4.1 <span class="Heading">Compiling</span></h4>
<p>NormalizInterface supports GAP 4.9 or later, and Normaliz 3.5.4 or later.</p>
<p>For technical reasons, installing and using NormalizInterface requires that your version of GAP is compiled in a special way. Specifically, GAP must be compiled against the exact same version of the GMP library as Normaliz. By default, GAP compiles its own version of GMP; however, we cannot use that, as it lacks C++ support, which is required by Normaliz.</p>
<p>Thus as the very first step, please install a version of GMP in your system. On most Linux and BSD distributions, there should be a GMP package available with your system's package manager. On Mac OS X, you can install GMP via Fink, MacPorts or Homebrew.</p>
<p>Next, make sure your GAP installation is compiled against the system wide GMP installation. To do so, switch to the GAP root directory, and enter the following commands:</p>
<div class="example"><pre>
make clean
./configure --with-gmp=PATH/TO/YOUR/GMP
make
</pre></div>
<p>Next you need to compile a recent version of Normaliz. This requires the presence of several further system software packages, which you install via your system's package manager. At least the following are required:</p>
<ul>
<li><p>curl OR wget for downloading the source code</p>
</li>
</ul>
<p>Once you have installed these, you can build Normaliz by using the <code class="code">prerequisites.sh</code> script we provide. It takes a single, optional parameter: the location of the GAP root directory.</p>
<div class="example"><pre>
./prerequisites.sh GAPDIR
</pre></div>
<p>Once it completed successfully, you can then build NormalizInterface like this:</p>
<div class="example"><pre>
./configure --with-gaproot=GAPDIR
make
</pre></div>
<div class="chlinkprevnextbot"> <a href="chap0.html">[Top of Book]</a> <a href="chap0.html#contents">[Contents]</a> <a href="chap3.html">[Previous Chapter]</a> <a href="chapBib.html">[Next Chapter]</a> </div>
<div class="chlinkbot"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a> <a href="chap1.html">1</a> <a href="chap2.html">2</a> <a href="chap3.html">3</a> <a href="chap4.html">4</a> <a href="chapBib.html">Bib</a> <a href="chapInd.html">Ind</a> </div>
<hr />
<p class="foot">generated by <a href="https://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc">GAPDoc2HTML</a></p>
</body>
</html>
¤ Dauer der Verarbeitung: 0.3 Sekunden
¤
*© Formatika GbR, Deutschland