Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
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
Project: cocalc-sagemath-dev-slelievre
Views: 4183461[1X2 [33X[0;0YInstallation[133X[101X234[1X2.1 [33X[0;0YInstallation and system requirements[133X[101X56[33X[0;0YBoth [5XSCSCP[105X client and server for [5XGAP[105X work in Linux, OS X and Windows.[133X78[33X[0;0YTo use the [5XSCSCP[105X package it is necessary to install recent versions of [5XGAP[105X49packages [5XIO[105X [Neu], [5XGAPDoc[105X [LN] and [5XOpenMath[105X [CKS].[133X1011[33X[0;0YThe [5XSCSCP[105X package is distributed in standard formats ([11Xtar.gz[111X, [11Xtar.bz2[111X) and12can be obtained from [7Xhttps://gap-packages.github.io/scscp/[107X or from the [5XGAP[105X13web site (the latter also offers [11Xzoo[111X- and [11Xwin.zip[111X-archives. To unpack the14[11Xzoo[111X-archive the program [11Xunzoo[111X is needed, which can be obtained from the [5XGAP[105X15homepage [7Xhttp://www.gap-system.org/[107X (see section `Distribution'). To install16[5XSCSCP[105X package, put its [11Xzoo[111X-archive into the [11Xpkg[111X subdirectory of your [5XGAP[105X4.417installation and enter the command [10Xunzoo -x scscp-X.X.X.zoo[110X, then the18subdirectory [11Xscscp[111X (containing subdirectories [11Xdoc[111X, [11Xlib[111X etc.) will be created19in the [11Xpkg[111X subdirectory. Installation using other archive formats is20performed in a similar way.[133X2122[33X[0;0YWhen there are no access rights to the root directory of the main [5XGAP[105X23installation, it is also possible to install the package [13Xoutside the [5XGAP[105X24main directory[113X by unpacking it inside a directory [11XMYGAPDIR/pkg[111X. Then to load25the package [5XGAP[105X should be started with [10X-l ";MYGAPDIR"[110X option.[133X262728[1X2.2 [33X[0;0YConfiguration files[133X[101X2930[33X[0;0YThere are four files in the package which may need to be modified to setup31and customise the package. The first three files are related with the32server's functionality:[133X3334[30X [33X[0;6Y[11Xscscp/config.g[111X specifies:[133X3536[30X [33X[0;12Ydefault [10XInfoLevel[110X for the [2XInfoSCSCP[102X ([14X9.2-1[114X) class;[133X3738[30X [33X[0;12Ydefault [5XSCSCP[105X server name and port to be used by [2XRunSCSCPserver[102X39([14X5.2-1[114X) if [5XGAP[105X is started with the [11Xscscp/example/myserver.g[111X40file;[133X4142[30X [33X[0;12Ywhether the server accepts calls to procedures which are43standard [5XOpenMath[105X symbols, or only procedures installed in the44transient content dictionary (see [2XInstallSCSCPprocedure[102X45([14X5.1-1[114X));[133X4647[30X [33X[0;12Yservice description to be returned to the client by48[2XGetServiceDescription[102X ([14X5.3-1[114X).[133X4950[30X [33X[0;6Y[11Xscscp/gapd.sh[111X is the script to start the [5XGAP[105X [5XSCSCP[105X server as a daemon.51To use it, adjust the local call of [5XGAP[105X and, if necessary, call52options (for example, memory usage, startup from the workspace etc.)53and the location of the root directory of the [5XSCSCP[105X package in section541 of this script.[133X5556[30X [33X[0;6Y[11Xscscp/example/myserver.g[111X is an example of the server configuration57file which loads all necessary packages, reads all needed code,58installs all procedures which will be exposed to the client and59finally starts the [5XSCSCP[105X server (see Chapter [14X5[114X).[133X6061[33X[0;0YThe fourth file is related with the client's functionality for parallel62computations:[133X6364[30X [33X[0;6YThe file [11Xscscp/configpar.g[111X assigns the global variable [10XSCSCPservers[110X65which specifies a list of hosts and ports to search for [5XSCSCP[105X services66(which may be not only represented by [5XGAP[105X services, but also by67another [5XSCSCP[105X-compliant systems). It will be used to run parallel68computations with the [5XSCSCP[105X package (see Chapter [14X8[114X).[133X6970[33X[0;0YSee comments in these configuration files for further details and examples.[133X71727374