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
1
2
2 Installation
3
4
5
2.1 Installation and system requirements
6
7
Both SCSCP client and server for GAP work in Linux, OS X and Windows.
8
9
To use the SCSCP package it is necessary to install recent versions of GAP4
10
packages IO [Neu], GAPDoc [LN] and OpenMath [CKS].
11
12
The SCSCP package is distributed in standard formats (tar.gz, tar.bz2) and
13
can be obtained from https://gap-packages.github.io/scscp/ or from the GAP
14
web site (the latter also offers zoo- and win.zip-archives. To unpack the
15
zoo-archive the program unzoo is needed, which can be obtained from the GAP
16
homepage http://www.gap-system.org/ (see section `Distribution'). To install
17
SCSCP package, put its zoo-archive into the pkg subdirectory of your GAP4.4
18
installation and enter the command unzoo -x scscp-X.X.X.zoo, then the
19
subdirectory scscp (containing subdirectories doc, lib etc.) will be created
20
in the pkg subdirectory. Installation using other archive formats is
21
performed in a similar way.
22
23
When there are no access rights to the root directory of the main GAP
24
installation, it is also possible to install the package outside the GAP
25
main directory by unpacking it inside a directory MYGAPDIR/pkg. Then to load
26
the package GAP should be started with -l ";MYGAPDIR" option.
27
28
29
2.2 Configuration files
30
31
There are four files in the package which may need to be modified to setup
32
and customise the package. The first three files are related with the
33
server's functionality:
34
35
 scscp/config.g specifies:
36
37
 default InfoLevel for the InfoSCSCP (9.2-1) class;
38
39
 default SCSCP server name and port to be used by RunSCSCPserver
40
(5.2-1) if GAP is started with the scscp/example/myserver.g
41
file;
42
43
 whether the server accepts calls to procedures which are
44
standard OpenMath symbols, or only procedures installed in the
45
transient content dictionary (see InstallSCSCPprocedure
46
(5.1-1));
47
48
 service description to be returned to the client by
49
GetServiceDescription (5.3-1).
50
51
 scscp/gapd.sh is the script to start the GAP SCSCP server as a daemon.
52
To use it, adjust the local call of GAP and, if necessary, call
53
options (for example, memory usage, startup from the workspace etc.)
54
and the location of the root directory of the SCSCP package in section
55
1 of this script.
56
57
 scscp/example/myserver.g is an example of the server configuration
58
file which loads all necessary packages, reads all needed code,
59
installs all procedures which will be exposed to the client and
60
finally starts the SCSCP server (see Chapter 5).
61
62
The fourth file is related with the client's functionality for parallel
63
computations:
64
65
 The file scscp/configpar.g assigns the global variable SCSCPservers
66
which specifies a list of hosts and ports to search for SCSCP services
67
(which may be not only represented by GAP services, but also by
68
another SCSCP-compliant systems). It will be used to run parallel
69
computations with the SCSCP package (see Chapter 8).
70
71
See comments in these configuration files for further details and examples.
72
73
74