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
(C) Graham Ellis 


	The HAP package for group cohomology and related functors
        ---------------------------------------------------------

"HAP" is a package for some basic calculations in the cohomology of finite 
and infinite groups. A full description of the library can be found from the 
html file Hap1.12/www/index.html .

"HAP" is written almost entirely in the GAP language. A few of HAP's (optional) 
functions rely on Polymake software (available from 
www.math.tu-berlin.de/polymake/) which should be installed so that it starts 
using the command "polymake" at the Linux prompt. A few (oprional) functions
rely on Graphviz software (available from http://www.graphviz.org/).

Please send your bug reports to graham.ellis(at)nuigalway.ie .


                     Installing HAP 
                     --------------

On a Linux machine with GAP (and optionally Polymake) installed, the HAP 
library can be loaded as follows:
 
* First download the file hap1.12.tar.gz to the subdirectory "pkg/" of GAP. (If 
you don't have access to this, then create a directory "pkg" in your home 
directory and download the file there.)

* Change to directory "pkg/" and type "gunzip hap1.12.tar.gz" followed by 
"tar -xvf hap1.12.tar" .

* Start GAP. (If you have created "pkg" in your home directory then start GAP 
with the command "gap -l 'path/homedir;' "   where path/homedir is the path to 
your home directory.)

* In GAP type " LoadPackage("HAP"); " .

* Help on HAP can be found on the HAP home page (a version of which is included in directory "pkg/Hap1.12/www" of this distribution).

* Performance can be significantly improved by using a compiled version of the 
HAP library. A compiled version can be created by the following steps.

(1) Change to the directory "pkg/Hap1.12/" .
(2) Edit the file "compile" so that: PKGDIR is equal to the path to the 
directory "pkg" where your GAP packages are stored; GACDIR is equal to the 
path to the directory where the GAP compiler "gac" is stored.
(3) Type "./compile" . 

The next time HAP is loaded a compiled version will be loaded.

* Should you want to return to an uncompiled version, change to the directory
"pkg/Hap1.12/" and type "./uncompile".