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
2
4 Installing NormalizInterface
3
4
5
4.1 Compiling
6
7
NormalizInterface supports GAP 4.8.0 or later, and Normaliz 3.0.0 or later.
8
9
For technical reasons, installing and using NormalizInterface requires that
10
your version of GAP is compiled in a special way. Specifically, GAP must be
11
compiled against the exact same version of the GMP library as Normaliz. By
12
default, GAP compiles its own version of GMP; however, we cannot use that,
13
as it lacks C++ support, which is required by Normaliz.
14
15
Thus as the very first step, please install a version of GMP in your system.
16
On most Linux and BSD distributions, there should be a GMP package available
17
with your system's package manager. On Mac OS X, you can install GMP via
18
Fink, MacPorts or Homebrew.
19
20
Next, make sure your GAP installation is compiled against the system wide
21
GMP installation. To do so, switch to the GAP root directory, and enter the
22
following commands:
23
24

25
make clean
26
./configure --with-gmp=system
27
make
28

29
30
Next you need to compile a recent version of Normaliz. This requires the
31
presence of several further system software packages, which you install via
32
your system's package manager. At least the following are required:
33
34
 git
35
36
 cmake
37
38
 boost
39
40
Once you have installed these, you can build Normaliz by using the
41
build-normaliz.sh script we provide. It takes a single, optional parameter:
42
the location of the GAP root directory.
43
44

45
./build-normaliz.sh GAPDIR
46

47
48
Once it completed successfully, you can then build NormalizInterface like
49
this:
50
51

52
./configure --with-gaproot=GAPDIR
53
make
54

55
56
If you need to customize the normaliz compilation, please have a look at
57
Normaliz.git/source/INSTALL. Remember to use the same compiler and GMP
58
version as for GAP.
59
60
61