File: README.guava

package info (click to toggle)
gap-guava 3.15%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,804 kB
  • sloc: ansic: 20,868; xml: 10,543; makefile: 267; sh: 47
file content (131 lines) | stat: -rw-r--r-- 5,026 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
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
              The GUAVA Coding Theory Package         
              -------------------------------

GUAVA is a package that implements coding theory algorithms
in  GAP.  With GUAVA, codes can be created and manipulated 
and information about these codes can be calculated.

GUAVA consists of various files written in the GAP language,  
and an external program from J.S. Leon for dealing with
automorphism  groups of codes and isomorphism testing 
functions.  Several algorithms that need the speed are 
integrated in the GAP kernel. Please send your bug reports
and feature requests to support@gap-system.org. You can 
also create an "issue" at the GUAVA github repository.  
See the section "Bug reports" below.

For an overview of the history of the GUAVA project see the
file "HISTORY.guava" in the main GUAVA package directory.

                      Installing GUAVA
                      ----------------
A fresh installation of GAP 4.7 or higher will include Guava
automatically in the system `pkg' directory (typically 
something like /usr/lib/gap4r7/pkg on unix machines.)  The 
backtrack programs which compute code automorphism groups 
may need to be compiled (see below).

If GUAVA is not present (a call to LoadPackage("guava") 
fails at a GAP prompt.)  You may need to install GUAVA (as 
a GAP4 Package) as a separate step.  Unpack the archive 
file in a directory in the `pkg' hierarchy of your version 
of GAP4. (This  might be the `pkg' directory of the GAP4 
home directory; it is however also possible to keep an 
additional `pkg' directory in your private directories, see
section "Installing GAP Packages" of the GAP4 reference 
manual for details on how to do this.)

After unpacking GUAVA the GAP-only part of GUAVA is 
installed.  The parts of GUAVA depending on J. S. Leon's 
backtrack programs package (for computing automorphism 
groups and code equivalence) need to be compiled separately. 
For Windows machines it will probably be necessary to 
install additional software -- instructions are available 
at the Guava website.

In a UNIX or MacOS environment.  You should proceed as 
follows:

Go to the  newly  created  `guava'  directory  and  call  
`./configure <path>' where <path> is the path to the GAP 
home directory.  So for example, if you install the package 
in the main `pkg' directory call 

  ./configure ../..

(For rpm-based 64-bit linux machines, such as suse or 
redhat, you may need 

  ./configure ../.. --enable-libsuffix=64
  
instead.)

This will fetch the architecture type for which GAP has been
compiled last and create a `Makefile'. Now call

  make

to compile the binaries and to install them in the 
appropriate place.

This completes the installation of GUAVA for a single 
architecture. If you use this installation of GUAVA on 
different hardware platforms you will have to compile the 
binaries for each platform separately.  This is done by 
calling  `configure'  and  `make' for the package anew
immediately after compiling GAP itself for the respective
architecture. If your version of GAP is already compiled 
(and has last been compiled on the same architecture) you 
do not need to compile GAP again; it is sufficient to call 
the `configure' script in the GAP home directory.

                       Loading GUAVA
                       -------------

After starting up GAP, the GUAVA package needs to be  
loaded.  Load GUAVA by typing at the GAP prompt:

  gap> LoadPackage( "guava" );

If GUAVA isn't already in memory, it is loaded and its 
beautiful banner is displayed.

If you  are a frequent user of  GUAVA, you might consider 
putting this line in your `gaprc' file, or add GUAVA to the 
"PackagesToLoad" preference in your gap.ini file (the 
location of the ini file can be determined by typing

  gap> GAPInfo.UserGapRoot;
  
at the gap prompt.

Additionally, you may wish to test the installation by 
reading in the Guava test file:

  gap> Test(Filename(DirectoriesPackageLibrary("guava", "tst"), "guava.tst"));

                        Bug reports
                        -----------

The preferred method for bug reports and feature requests 
is to raise an issue at the GUAVA GitHub repository:

  https://github.com/gap-packages/guava/issues

Alternatively, you are welcome to send bug reports and 
other requests via email to support@gap-system.org.  
Remember we will need to be able to reproduce the problem; 
so please include:

 * The version of GAP you are using; either look at  the  header  when
   you start up GAP, or at the gap> prompt type: GAPInfo.Version;
 * The operating system you are using e.g. Linux, SunOS 5.8 =  Solaris
   2.8, IRIX 6.5, MacOS, Windows, ...
 * The compiler (if any) you used to compile the binaries and the options  
   you used. Type: gcc -v or: cc -version.
 * A script that demonstrates the bug, along with a description of why
   it's a bug  (e.g.  by  adding  comments  to  the  script  -  recall
   comments in GAP  begin with a #).

  - Joe Fields (fieldsj1@southernct.edu)
    April, 2018