GithubHelp home page GithubHelp logo

narc-ontakac2 / polymaking Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gap-packages/polymaking

0.0 0.0 0.0 259 KB

Interfacing the geometry software polymake

Home Page: http://gap-packages.github.io/polymaking

License: GNU General Public License v2.0

GAP 98.49% Shell 0.20% Perl 1.30%

polymaking's Introduction

Build Status Code Coverage

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

  1. Install polymake https://polymake.org

  2. 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.

  3. 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)
  4. 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).

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

  6. 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:

  1. 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.

polymaking's People

Contributors

fingolfin avatar narc-ontakac2 avatar marc-roeder avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.