CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Views: 418346
1
<?xml version="1.0" encoding="UTF-8"?>
2
3
<!-- This is an automatically generated file. -->
4
<Chapter Label="Chapter_Installing_NormalizInterface">
5
<Heading>Installing NormalizInterface</Heading>
6
7
<P/>
8
<Section Label="Chapter_Installing_NormalizInterface_Section_Compiling">
9
<Heading>Compiling</Heading>
10
11
<P/>
12
NormalizInterface supports GAP 4.8.0 or later, and Normaliz 3.0.0 or later.
13
<P/>
14
<P/>
15
For technical reasons, installing and using NormalizInterface requires
16
that your version of GAP is compiled in a special way. Specifically, GAP
17
must be compiled against the exact same version of the GMP library as
18
Normaliz. By default, GAP compiles its own version of GMP; however, we
19
cannot use that, as it lacks C++ support, which is required by Normaliz.
20
<P/>
21
<P/>
22
Thus as the very first step, please install a version of GMP in your
23
system. On most Linux and BSD distributions, there should be a GMP
24
package available with your system's package manager. On Mac OS X, you
25
can install GMP via Fink, MacPorts or Homebrew.
26
<P/>
27
<P/>
28
Next, make sure your GAP installation is compiled against the system
29
wide GMP installation. To do so, switch to the GAP root directory, and
30
enter the following commands:
31
<P/>
32
<P/>
33
<Listing><![CDATA[
34
make clean
35
./configure --with-gmp=system
36
make
37
]]></Listing>
38
<P/>
39
Next you need to compile a recent version of Normaliz. This requires the
40
presence of several further system software packages, which you install
41
via your system's package manager. At least the following are required:
42
<P/>
43
<P/>
44
<List>
45
<Item>
46
git
47
</Item>
48
<Item>
49
cmake
50
</Item>
51
<Item>
52
boost
53
</Item>
54
</List>
55
<P/>
56
Once you have installed these, you can build Normaliz by using
57
the build-normaliz.sh script we provide. It takes a single,
58
optional parameter: the location of the GAP root directory.
59
<P/>
60
<P/>
61
<Listing><![CDATA[
62
./build-normaliz.sh GAPDIR
63
]]></Listing>
64
<P/>
65
Once it completed successfully, you can then build NormalizInterface
66
like this:
67
<P/>
68
<P/>
69
<Listing><![CDATA[
70
./configure --with-gaproot=GAPDIR
71
make
72
]]></Listing>
73
<P/>
74
If you need to customize the normaliz compilation, please have a look at
75
Normaliz.git/source/INSTALL. Remember to use the same compiler and GMP
76
version as for GAP.
77
<P/>
78
</Section>
79
80
81
</Chapter>
82
83
84