File: README.md

package info (click to toggle)
gap-polymaking 0.8.8-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 816 kB
  • sloc: xml: 682; javascript: 155; makefile: 105; perl: 24; sh: 2
file content (78 lines) | stat: -rw-r--r-- 2,751 bytes parent folder | download
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
[![CI](https://github.com/gap-packages/polymaking/actions/workflows/CI.yml/badge.svg)](https://github.com/gap-packages/polymaking/actions/workflows/CI.yml)
[![Code Coverage](https://codecov.io/github/gap-packages/polymaking/coverage.svg?branch=master&token=)](https://codecov.io/gh/gap-packages/polymaking)

polymak(e)inG(AP)
==================

A very basic GAP-interface to the program "polymake" by
Ewgenij Gawrilow and Michael Joswig which is available at
<https://polymake.org>

Note that this package does not provide the program "polymake", which
has to be installed separately.

This package is distributed under the terms of the GNU general public
license version 2 or later (at your descretion).

(C)2007-2013 by Marc Roeder,
National University of Ireland, Galway


Requirements
------------

polymaking requires GAP version 4.8. It also needs polymake to be
installed.  The GAPDoc package is needed to display the documentation.
polymaking was written for the "first generation" polymake which was
called as a command-line tool. Using it with a current ("next generation")
version of polymake will result in longer runtimes and fewer supported
keywords/features.


Installation
------------

0. Install polymake <https://polymake.org>

1. Download one of the archives
   - `polymaking<ver>.tar.bz2`
   - `polymaking<ver>.tar.gz`
   - `polymaking<ver>-win.zip`

   (where `<ver>` is some version number) to the directory pkg/ of the
   GAP home directory. If you do not have permission to do so, create
   a directory called gap/pkg in your home directory.

2. Change directory to pkg/ and unpack the archive using the according command:
   - `tar -xjf polymaking<ver>.tar.bz2`
   - `tar -xzf polymaking<ver>.tar.gz`
   - `unzip polymaking<ver>-win.zip`
 (replace `<ver>` with the version number)

3. Start GAP. If you have created the directory gap/pkg in your home
   directory, use `gap -l '<homedir>/gap;'` where `<homedir>` is the path of
   your home directory (use `pwd` to find out what it is, if you don't know).

4. Type `LoadPackage("polymaking");` to load the polymaking package.

5. Run `ReadPackage("polymaking","tst/test.gap");` for a quick test.

If polymake is not found automatically (a warning will be printed at
level 1 in this case), try this:

6. Tell GAP where to look for polymake by adding the following lines to
   your `.gaprc` file:

        POLYMAKE_COMMAND:=Filename(Directory("/home/mypolymakebindir/"),"polymake");
        MakeImmutable(POLYMAKE_COMMAND);

    Note that you can also modify the value of the variable `POLYMAKE_COMMAND` in
    `lib/environment.gi`.



Support
-------

If you find a bug or strange behaviour, please submit a bug report to
<https://github.com/gap-packages/polymaking/issues>.