Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

563557 views
1
2
<!-- %W atlasrep.xml GAP 4 package AtlasRep Thomas Breuer -->
3
<!-- %Y Copyright 2001, Lehrstuhl D f�r Mathematik, RWTH Aachen, Germany -->
4
5
6
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
7
<Chapter Label="chap:atlasrep">
8
<Heading>Customizations of the <Package>AtlasRep</Package> Package</Heading>
9
10
11
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
12
<Section Label="sect:Installing the AtlasRep Package">
13
<Heading>Installing the <Package>AtlasRep</Package> Package</Heading>
14
15
To install the package, unpack the archive file in a
16
directory in the <F>pkg</F> directory of your local copy of &GAP;&nbsp;4.
17
This might be the <F>pkg</F> directory of the &GAP;&nbsp;4 root directory,
18
see&nbsp;<Ref Sect="Installing a GAP Package" BookName="ref"/>
19
for details.
20
It is however also possible to keep an additional <F>pkg</F> directory
21
in your private directories,
22
see Section&nbsp;<Ref Sect="GAP Root Directories" BookName="ref"/>.
23
The latter possibility <E>must</E> be chosen if you do not have write access
24
to the &GAP; root directory.
25
26
<P/>
27
28
Data files that are available from an earlier version
29
of the package are in principle kept;
30
see&nbsp;<Ref
31
Func="AtlasOfGroupRepresentationsTestTableOfContentsRemoteUpdates"/>
32
for necessary updates.
33
34
<P/>
35
36
If it is likely that one will work offline, it makes sense to install the
37
<Q>starter archive</Q> that can be downloaded from the package's homepage.
38
39
<P/>
40
41
The package consists entirely of &GAP; code,
42
no external binaries need to be compiled for the package itself.
43
However, if the &GAP; package <Package>IO</Package> <Cite Key="IO"/>
44
<Index>IO package</Index>
45
is used to access remote data files
46
(see Section&nbsp;<Ref Sect="subsect:Accessing data files with wget or IO"/>)
47
then its external binary must be available.
48
49
<P/>
50
51
After unpacking the package archive,
52
the write permissions for those directories should be checked
53
into which users will download files.
54
Every user can customize these paths via a user preference,
55
see Section <Ref Subsect="subsect:AtlasRepDataDirectory"/>,
56
the defaults are the subdirectories
57
<F>datagens</F> and <F>dataword</F> of the package directory.
58
The recommended permissions under UNIX for the default directories
59
are set as follows.
60
61
<P/>
62
63
<Log><![CDATA[
64
you@unix> chmod 1777 atlasrep/data*
65
you@unix> ls -ld atlasrep/data*
66
drwxrwxrwt 3 you you 1024 Oct 31 12:34 datagens
67
drwxrwxrwt 3 you you 1024 Oct 31 12:34 dataword
68
]]></Log>
69
70
<P/>
71
72
<#Include Label="[1]{testinst.g}">
73
74
<P/>
75
76
PDF, HTML, and text versions of the package manual are available
77
in the <F>doc</F> directory of the package.
78
79
</Section>
80
81
82
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
83
<Section Label="sect:Maintaining the Local Data of the AtlasRep Package">
84
<Heading>Maintaining the Local Data of the <Package>AtlasRep</Package>
85
Package</Heading>
86
87
<!-- The section title is referenced in index.html. -->
88
<Alt Only="HTML"><![CDATA[<a id="sect:maintain"/>]]></Alt>
89
90
The current <E>table of contents</E> of the database is contained in
91
the file <F>gap/atlasprm.g</F> of the <Package>AtlasRep</Package> package.
92
This file is read by default when the package is loaded.
93
It may happen that new data files have been added to the servers since the
94
last release of the <Package>AtlasRep</Package> package,
95
thus it is useful to update the table of contents of the package
96
from time to time.
97
98
<P/>
99
100
For that, one can fetch the most recent version of the file
101
<F>gap/atlasprm.g</F> from the home page of the package
102
(see Section&nbsp;<Ref Sect="sect:Web Services for the AtlasRep Package"/>),
103
either by calling&nbsp;<Ref Func="ReloadAtlasTableOfContents"/>
104
in a &GAP; session
105
or <Q>by hand</Q>.
106
In the latter case, the new file can then be read into the &GAP; session via
107
<Ref Func="ReplaceAtlasTableOfContents"/>.
108
<#Include Label="ATLASREP_TOCFILE">
109
110
<P/>
111
112
Users who have write access to the directory where the
113
<Package>AtlasRep</Package> package is
114
installed can alternatively use the <F>maketoc</F> script in the <F>etc</F>
115
directory of the package for regularly updating the file
116
<F>gap/atlasprm.g</F>.
117
Users without this write access can store the new file in a different place,
118
and read it with <Ref Func="ReplaceAtlasTableOfContents"/>.
119
120
<P/>
121
122
<#Include Label="ReloadAtlasTableOfContents">
123
<#Include Label="StoreAtlasTableOfContents">
124
<#Include Label="ReplaceAtlasTableOfContents">
125
<#Include Label="AGRTestTableOfContentsRemoteUpdates">
126
127
</Section>
128
129
130
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
131
<Section Label="sect:User Parameters for the AtlasRep Package">
132
<Heading>User Parameters for the <Package>AtlasRep</Package> Package</Heading>
133
134
This section lists global parameters for which it might make sense
135
to change their defaults by assignments to global variables
136
(see <Ref Func="AtlasOfGroupRepresentationsUserParameters"/>
137
for an overview of these parameters)
138
or using &GAP;'s user preferences
139
(see <Ref Subsect="Configuring User preferences" BookName="ref"/>).
140
141
142
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
143
<Subsection Label="subsect:Local or remote access">
144
<Heading>Local or Remote Access</Heading>
145
146
<Index>local access</Index>
147
<Index>remote access</Index>
148
<Index>servers</Index>
149
There are two possibilities to use the <Package>AtlasRep</Package> package.
150
151
<P/>
152
153
<List>
154
<Mark><E>Local access only (offline)</E></Mark>
155
<Item>
156
You can restrict the access to the data that are actually stored in
157
the local installation of &GAP;.
158
</Item>
159
<Mark><E>Remote access (online)</E></Mark>
160
<Item>
161
If your computer is connected to a network that provides access to
162
the &ATLAS; data (for example the internet) then the functions of the
163
package may fetch the requested data automatically from remote servers
164
when they are required for the first time;
165
these data are then by default stored in the local copy,
166
so later access to them needs no network transfer.
167
</Item>
168
</List>
169
170
<P/>
171
172
The latter possibility is presently not used by other &GAP; packages,
173
so it may be regarded as an important feature of the
174
<Package>AtlasRep</Package> package.
175
Anyhow it requires a few words of explanation.
176
177
<P/>
178
179
The possibility of online access reflects in particular the fact
180
that the &ATLAS; of Group Representations is designed
181
as an <E>open database</E>, it is expected to grow.
182
As soon as the developers of the &ATLAS; of Group Representations add
183
new information to the servers,
184
these data become available in &GAP; when remote access is enabled,
185
after one has updated the corresponding table of contents
186
(see Section&nbsp;<Ref Sect="sect:Maintaining the Local Data of the AtlasRep Package"/>).
187
188
<P/>
189
190
Remote access is enabled if and only if the value of the <C>remote</C>
191
component of the global variable
192
<Ref Var="AtlasOfGroupRepresentationsInfo"/> is <K>true</K>.
193
If one wants to work offline, i.e., if one does <E>not</E> want &GAP;
194
to attempt accessing remote data
195
then this value must be set to <K>false</K>.
196
197
<P/>
198
199
Conversely, if the default value of the <C>remote</C> component
200
in your &GAP; installation is <K>false</K>
201
then changing this value to <K>true</K> may be not successful.
202
First, it might be the case that no server is reachable.
203
And second, if one can in principle <E>download</E> files from a server then
204
it might be impossible to actually <E>store</E> these files
205
in the data directories of the installed package;
206
in this case, it is advisable to install the whole package
207
or just its data directories in a private directory,
208
see&nbsp;<Ref Sect="GAP Root Directories" BookName="ref"/> for details.
209
210
</Subsection>
211
212
213
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
214
<Subsection Label="subsect:Adding and Removing Servers">
215
<Heading>Adding and Removing Servers</Heading>
216
217
When access to remote data is enabled
218
(see Section&nbsp;<Ref Sect="subsect:Local or remote access"/>)
219
then the available servers are given by the <C>servers</C> component
220
of the global variable <Ref Var="AtlasOfGroupRepresentationsInfo"/>.
221
222
<P/>
223
224
<E>Removing</E> entries from this list means to disable access to the
225
corresponding servers,
226
<E>adding</E> entries makes the corresponding servers available.
227
Of course the latter makes sense only if the new servers really exist,
228
for example in a local network.
229
230
<P/>
231
232
Currently there is just one remote server.
233
As soon as other servers become available, or a server name is changed
234
which makes it necessary to adjust the <C>servers</C> component,
235
this will be announced in the &GAP; Forum, cf.
236
<Ref Sect="Further Information about GAP" BookName="tut"/>.
237
The same holds when upgrades of the package become available.
238
239
</Subsection>
240
241
242
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
243
<Subsection Label="subsect:Accessing data files with wget or IO">
244
<Heading>Accessing Data Files with the &GAP; Package <Package>IO</Package>
245
or with <F>wget</F></Heading>
246
247
<#Include Label="IO_or_wget">
248
249
</Subsection>
250
251
252
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
253
<Subsection Label="subsect:Compressed or uncompressed data files">
254
<Heading>Compressed or Uncompressed Data Files</Heading>
255
256
When used with UNIX, &GAP; can read <F>gzip</F>ped files,
257
see&nbsp;<Ref Sect="Saving and Loading a Workspace" BookName="ref"/>.
258
If the component <C>compress</C>
259
<Index Key ="compress"><C>compress</C></Index>
260
of <Ref Var="AtlasOfGroupRepresentationsInfo"/> has the value <K>true</K>
261
then each &MeatAxe; format file that is fetched from a remote
262
server is afterwards compressed with <F>gzip</F>.
263
<Index Key ="gzip"><F>gzip</F></Index>
264
This saves a lot of space if many &MeatAxe; format files are accessed.
265
(Note that data files in other formats are very small.)
266
For example, at the time of the release of version&nbsp;1.5.1 there were about
267
<M>8\,400</M> data files in &MeatAxe; format,
268
which needed about <M>1\,400</M> MB in uncompressed text format
269
and about <M>275</M> MB in compressed text format.
270
The default value for the component <C>compress</C> is <K>false</K>.
271
272
</Subsection>
273
274
275
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
276
<Subsection Label="subsect:Customizing DisplayAtlasInfo">
277
<Heading>Customizing <C>DisplayAtlasInfo</C></Heading>
278
279
The way how <Ref Func="DisplayAtlasInfo"/> shows the requested overview
280
is controlled by the component <C>displayFunction</C>
281
of <Ref Var="AtlasOfGroupRepresentationsInfo"/>.
282
The default value is <Ref Func="Print" BookName="ref"/>,
283
other useful values are <Ref Func="PrintFormattedString" BookName="gapdoc"/>
284
and <C>AGR.Pager</C>;
285
the latter calls <Ref Func="Pager" BookName="ref"/> with the <C>formatted</C>
286
option, which is necessary for switching off &GAP;'s automatic line breaking.
287
288
</Subsection>
289
290
291
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
292
<Subsection Label="subsect:Customizing the Access to Data files">
293
<Heading>Customizing the Access to Data Files</Heading>
294
295
By default, local data files are stored in the subdirectories <F>datagens</F>
296
and <F>dataword</F> of the directory given by the user preference
297
<C>AtlasRepDataDirectory</C>
298
(see Section <Ref Subsect="subsect:AtlasRepDataDirectory"/>),
299
and the files are exactly the text files provided on the servers.
300
However, a more flexible approach may be useful.
301
302
<P/>
303
304
First, one may want to use <E>different file formats</E>,
305
for example the &MeatAxe; binary files that are provided by the servers
306
parallel to the &MeatAxe; text files.
307
Second, one may want to use <E>a different directory structure</E>,
308
for example the same structure as used on the servers
309
&ndash;this makes sense for example if a local mirror of a server
310
is available, because then one can read the server files directly,
311
without transferring/copying them to another directory.
312
313
<P/>
314
315
As a consequence, one would like to customize the meaning of the following
316
three access steps.
317
318
<P/>
319
320
<List>
321
<Mark>Are the required files locally available?</Mark>
322
<Item>
323
The required files may have a different name or a different path,
324
and the data can be available in one file or can be distributed to several
325
files.
326
</Item>
327
<Mark>How can a file be made locally available?</Mark>
328
<Item>
329
A different server file may be fetched
330
or some postprocessing may be required.
331
</Item>
332
<Mark>How is the data of a file accessed by &GAP;?</Mark>
333
<Item>
334
A different function may be needed to read the file.
335
</Item>
336
</List>
337
338
<P/>
339
340
Details how to achieve these customizations can be found in Section
341
<Ref Sect="sect:How to Customize the Access to Data files"/>.
342
343
</Subsection>
344
345
346
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
347
<Subsection Label="subsect:Reading large matrices over finite fields">
348
<Heading>Reading Large Matrices over Finite Fields</Heading>
349
350
Matrices over finite fields in &GAP; can be represented in a compressed
351
format that needs less space than the corresponding text file.
352
Such a &MeatAxe; format text file can be read by
353
<Ref Func="ScanMeatAxeFile"/> either line by line (which is the default)
354
or as a whole; the latter is faster but needs more space than the former.
355
For example, a <M>4\,370</M> by <M>4\,370</M> matrix over the field
356
with two elements
357
(as occurs for an irreducible representation of the Baby Monster) requires
358
less than <M>3</M> MB space in &GAP; but the corresponding &MeatAxe; format
359
text file is more than <M>19</M> MB large,
360
which means that when one reads the file with the fast variant,
361
&GAP; will temporarily grow by more than this value.
362
One can change the mode by setting the global variable
363
<Ref Var="CMeatAxe.FastRead"/> to <K>true</K> or <K>false</K>, respectively.
364
365
<P/>
366
367
Note that this parameter is meaningful only when
368
<Ref Func="ScanMeatAxeFile"/> is used.
369
It has no effect for example if &MeatAxe; binary files are read,
370
cf.&nbsp;<Ref Func="FFMatOrPermCMtxBinary"/>.
371
372
</Subsection>
373
374
<#Include Label="AtlasOfGroupRepresentationsShowUserParameters">
375
376
<#Include Label="AtlasRepDataDirectory">
377
<#Include Label="WriteMeatAxeFilesOfMode2">
378
<#Include Label="BaseOfMeatAxePermutation">
379
380
</Section>
381
382
383
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
384
<Section Label="sect:Web Services for the AtlasRep Package">
385
<Heading>Web Services for the <Package>AtlasRep</Package> Package</Heading>
386
387
The home page of the <Package>AtlasRep</Package> package is
388
389
<P/>
390
<URL>&ATLASREPHOME;</URL>.
391
<P/>
392
393
Besides package archives and introductory package information, it provides
394
395
<P/>
396
397
<List>
398
<Item>
399
the current file with the <E>table of contents</E>
400
(the file <F>gap/atlasprm.g</F> of the package, see
401
<URL>&ATLASREPHOME;/atlasprm.g</URL>),
402
cf.&nbsp;<Ref Func="ReloadAtlasTableOfContents"/>,
403
</Item>
404
<Item>
405
a <E>starter archive</E>
406
containing many small representations and programs
407
(see <URL>&ATLASREPHOME;/atlasrepdata.tar.gz</URL>),
408
</Item>
409
<Item>
410
the list of <E>changes of server files</E> in HTML format
411
(see <URL>&ATLASREPHOME;/htm/data/changes.htm</URL>),
412
cf.&nbsp;<Ref Func="AtlasOfGroupRepresentationsTestTableOfContentsRemoteUpdates"/>,
413
and
414
</Item>
415
<Item>
416
an <E>overview of the data</E> available via the &GAP; interface to the
417
&ATLAS; of Group Representations, in HTML format (see
418
<URL>&ATLASREPHOME;/htm/data/overview.htm</URL>);
419
this is similar to the information shown by <Ref Func="DisplayAtlasInfo"/>,
420
further information can be found on the home page of the &ATLAS;,
421
see &ATLASSERVER;.
422
</Item>
423
</List>
424
425
</Section>
426
427
428
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
429
<Section Label="sect:Extending the Atlas Database">
430
<Heading>Extending the &ATLAS; Database</Heading>
431
432
Users who have computed new representations that might be interesting for
433
inclusion into the &ATLAS; of Group representations can send the data in
434
question to&nbsp;&WILSONMAIL;.
435
436
<P/>
437
438
It is also possible to store <Q>private</Q> representations and programs
439
in local directories,
440
and to use them in the same way as the <Q>official</Q> data.
441
See Chapter&nbsp;<Ref Chap="chap:Private Extensions"/> for details.
442
443
</Section>
444
445
446
<!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
447
448
</Chapter>
449
450
451