Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
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
Project: cocalc-sagemath-dev-slelievre
Views: 418346<?xml version="1.0" encoding="UTF-8"?>12<!-- This is an automatically generated file. -->3<Chapter Label="Chapter_Installing_NormalizInterface">4<Heading>Installing NormalizInterface</Heading>56<P/>7<Section Label="Chapter_Installing_NormalizInterface_Section_Compiling">8<Heading>Compiling</Heading>910<P/>11NormalizInterface supports GAP 4.8.0 or later, and Normaliz 3.0.0 or later.12<P/>13<P/>14For technical reasons, installing and using NormalizInterface requires15that your version of GAP is compiled in a special way. Specifically, GAP16must be compiled against the exact same version of the GMP library as17Normaliz. By default, GAP compiles its own version of GMP; however, we18cannot use that, as it lacks C++ support, which is required by Normaliz.19<P/>20<P/>21Thus as the very first step, please install a version of GMP in your22system. On most Linux and BSD distributions, there should be a GMP23package available with your system's package manager. On Mac OS X, you24can install GMP via Fink, MacPorts or Homebrew.25<P/>26<P/>27Next, make sure your GAP installation is compiled against the system28wide GMP installation. To do so, switch to the GAP root directory, and29enter the following commands:30<P/>31<P/>32<Listing><![CDATA[33make clean34./configure --with-gmp=system35make36]]></Listing>37<P/>38Next you need to compile a recent version of Normaliz. This requires the39presence of several further system software packages, which you install40via your system's package manager. At least the following are required:41<P/>42<P/>43<List>44<Item>45git46</Item>47<Item>48cmake49</Item>50<Item>51boost52</Item>53</List>54<P/>55Once you have installed these, you can build Normaliz by using56the build-normaliz.sh script we provide. It takes a single,57optional parameter: the location of the GAP root directory.58<P/>59<P/>60<Listing><![CDATA[61./build-normaliz.sh GAPDIR62]]></Listing>63<P/>64Once it completed successfully, you can then build NormalizInterface65like this:66<P/>67<P/>68<Listing><![CDATA[69./configure --with-gaproot=GAPDIR70make71]]></Listing>72<P/>73If you need to customize the normaliz compilation, please have a look at74Normaliz.git/source/INSTALL. Remember to use the same compiler and GMP75version as for GAP.76<P/>77</Section>787980</Chapter>81828384