File: rd.sh

package info (click to toggle)
gap-hap 1.66%2Bds-1
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 55,348 kB
  • sloc: xml: 15,368; sh: 216; javascript: 155; makefile: 126; ansic: 57; perl: 36
file content (211 lines) | stat: -rwxr-xr-x 8,109 bytes parent folder | download | duplicates (2)
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
#!/bin/bash
read version < ./version;
read date < ./date;

# A script to update the version number in various pages.

file=$(more<<STOP
[![Build Status](https://github.com/gap-packages/hap/workflows/CI/badge.svg?branch=master)](https://github.com/gap-packages/hap/actions?query=workflow%3ACI+branch%3Amaster)
[![Code Coverage](https://codecov.io/github/gap-packages/hap/coverage.svg?branch=master&token=)](https://codecov.io/gh/gap-packages/hap)

# The HAP package for group cohomology and related functors

(C) Graham Ellis

HAP is a package for some calculations in elementary algebraic topology and
the cohomology of groups. The initial focus of the library was on computations 
related to the cohomology of finite and infinite groups, with particular 
emphasis on integral coefficients. The focus has since broadened to include 
Steenrod algebras of finite groups, Bredon homology, cohomology of simplicial 
groups, and general computations in algebraic topology relating to finite 
CW-complexes, covering spaces, knots, knotted surfaces, and topics such as
 persitent homology arising in topological data analysis. A full description 
of the library can be found at https://gap-packages.github.io/hap/ .

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 (optional) 
functions rely on Singular software (available from 
https://www.singular.uni-kl.de/) which should be installed so that it starts 
using the command "singular" 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 hap$version.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 hap$version.tar.gz" followed by
"tar -xvf hap$version.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/Hap$version/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/Hap$version/" .
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/Hap$version/" and type "./uncompile".
STOP
);

echo "$file" >./README.md;

file=$(more<<STOP
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<!-- --------------------HEADER------------------------ -->
  <title>HAP - content</title>
  <meta http-equiv="Content-Type"
 content="text/html; charset=iso-8859-1">
  <link rel="Stylesheet" href="../HAPstyles.css" type="text/css"
 media="screen,print">
  <style type="text/css"></style>
</head>
<body id="content" style="background-image: url(../background.png);">
<div id="content">
<p>HAP is a homological
algebra library for use with the
GAP computer algebra system, and is still under development.
 The current version <a
 href="https://github.com/gap-packages/hap/releases/download/v$version/hap-$version.tar.gz">hap$version.tar.gz</a>  was released on
$date.</p>


<p>
The initial focus of the library was on computations related to the cohomology of finite and infinite groups, with particular emphasis on integral coefficients. The focus has since broadened to include Steenrod algebras of finite groups, Bredon homology, cohomology of simplicial groups, and general computations in algebraic topology relating to finite CW-complexes, covering spaces, knots, knotted surfaces, and topics such as persitent homology arising in topological data analysis. 


 This tutorial <a href="../SideLinks/About/aboutContents.html" target="_top">table of contents</a> gives an indication of  topics covered. This <a href="https://global.oup.com/academic/product/an-invitation-to-computational-homotopy-9780198832980" target="_top">book</a> provides a detailed overview.</p>

<p> A list of some papers which refer to HAP can be found <a href="hap.pdf">here</a>.




<p> <a href="../copyright/copyrightIndex.html" target="_top"> <small>GPL
Copyright</small></a> </p>

</div>
</body>
</html>
STOP
);

echo "$file" > ./www/home/content.html;

file=$(more<<STOP
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<!-- --------------------HEADER------------------------ -->
  <title>HAP - content download</title>
  <meta http-equiv="Content-Type"
 content="text/html; charset=iso-8859-1">
  <link rel="Stylesheet" href="../HAPstyles.css" type="text/css"
 media="screen,print">
  <style type="text/css"></style>
</head>
<body id="content" style="background-image: url(../background.png);">
<div id="content">
<p></p>
<h3>Download Instructions</h3>
<p>
On a Linux machine with GAP installed, the HAP library can be loaded as
follows:<br>
</p>
<ul>
  <li>First download the file <a
 href="https://github.com/gap-packages/hap/releases/download/v$version/hap-$version.tar.gz">hap$version.tar.gz</a>
which contains the most recent development version of HAP to the
subdirectory
"pkg/" of GAP. If you don't have access to this subdirectory,
then create a directory "pkg" in your home directory and download the
file there. (If you'd prefer to download the most
recent development version of HAP then download the file&nbsp; <a
 href="https://github.com/gap-packages/hap/releases/download/v1.47/hap-1.47.tar.gz">hap$version-dev.tar.gz</a>
instead.)<br>
  </li>
</ul>
<ul>
  <li>Change to directory "pkg/" and type "gunzip
hap$version.tar.gz"
followed
by "tar
-xvf hap$version.tar" .</li>
</ul>
<ul>
  <li>Start GAP. (If you have created "pkg" in your home
directory then
start GAP with the command "gap -l 'path/homedir;' " &nbsp; where
path/homedir is the path to your home directory.)</li>
</ul>
<ul>
  <li>In GAP type " LoadPackage("HAP"); "<br>
  </li>
</ul>
<ul>
  <li>Help on HAP can be found on the <a
 href="https://gap-packages.github.io/hap/" target="index">HAP
home page</a> (a version of which is included in directory
"pkg/Hap$version/www" of the distribution).</li>
</ul>
<ul>
  <li>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
(optional) functions rely on Graphviz software (available from
https://www.graphviz.org/).<br>
  </li>
</ul>
<ul>
  <li>Performance can be improved by using a compiled
version of the HAP library. The following steps will produce a compiled
version. <br>
(1) Change to the directory "pkg/Hap$version/" .<br>
(2) Edit the file "compile" so that: PKGDIR is equal to the path to the<br>
directory "pkg" where your GAP packages are stored; GACDIR is equal to
the<br>
path to the directory where the GAP compiler "gac" is stored.<br>
(3) Type "./compile" .<br>
The next time HAP is loaded a compiled version will be loaded.</li>
</ul>
<ul>
  <li>Should you want to return to an uncompiled version, change
to the directory<br>
"pkg/Hap$version/" and type "./uncompile".</li>
</ul>
</div>
</body>
</html>
STOP
);

echo "$file" > ./www/download/downloadContent.html;