1010[ ![ COPR] ( https://copr.fedorainfracloud.org/coprs/semai/ReCodEx/package/recodex-worker/status_image/last_build.png )] ( https://copr.fedorainfracloud.org/coprs/semai/ReCodEx/ )
1111
1212The job of the worker is to securely execute a job according to its
13- configuration and upload results back for latter processing. After receiving an
14- evaluation request, worker has to do following:
13+ configuration and upload results back for later processing. After receiving an
14+ evaluation request, a worker has to do the following:
1515
16- - download the archive containing submitted source files and configuration file
16+ - download the archive containing the submitted source files and configuration file
1717- download any supplementary files based on the configuration file, such as test
1818 inputs or helper programs (this is done on demand, using a ` fetch ` command
1919 in the assignment configuration)
20- - evaluate the submission according to job configuration
21- - during evaluation progress messages can be sent back to broker
20+ - evaluate the submission according to the job configuration
21+ - during evaluation progress messages can be sent back to the broker
2222- upload the results of the evaluation to the fileserver
23- - notify broker that the evaluation finished
23+ - notify the broker that the evaluation finished
2424
2525## Installation
2626
2727### COPR Installation
28-
29- Follows description for CentOS which will do all steps as described in _ Manual Installation_ .
28+ Follows the description for RHEL-like systems which will do all steps as described in _ Manual Installation_ .
3029
3130```
32- # yum install yum -plugin-copr
33- # yum copr enable semai/ReCodEx
34- # yum install recodex-worker
31+ # dnf install dnf -plugin-copr
32+ # dnf copr enable semai/ReCodEx
33+ # dnf install recodex-worker
3534```
3635
3736### Manual Installation
3837
3938#### Dependencies
40-
41- Worker specific requirements are written in this section. It covers only basic
39+ Worker-specific requirements are written in this section. It covers only basic
4240requirements, additional runtimes or tools may be needed depending on type of
43- use. The package names are for CentOS if not specified otherwise.
41+ use. The package names are for CentOS if not specified otherwise.
4442
45- - Boost 1.70 development libs (` boost-devel ` package)
43+ - Boost 1.74 development libs or newer (` boost-devel ` package, or ` libboost-all-dev ` on Debian/Ubuntu )
4644- ZeroMQ in version at least 4.0, packages ` zeromq ` and ` zeromq-devel `
4745 (` libzmq3-dev ` on Debian)
4846- YAML-CPP library, ` yaml-cpp ` and ` yaml-cpp-devel ` (` libyaml-cpp0.5v5 ` and
@@ -55,21 +53,20 @@ use. The package names are for CentOS if not specified otherwise.
5553
5654** Isolate** (only for Linux installations)
5755
58- First, we need to compile sandbox Isolate from source and install it. Current
59- worker is tested against version 1.3 , so this version needs to be checked out.
60- Assume that we keep source code in ` /opt/src ` dir. For building man page you
56+ First, we need to compile sandbox Isolate from the source and install it. The current
57+ worker is tested against our local clone which has some patches in it , so this version needs to be checked out.
58+ Assume that we keep the source code in ` /opt/src ` dir. For building man page you
6159need to have package ` asciidoc ` installed.
6260
6361```
6462$ cd /opt/src
65- $ git clone https://github.com/ioi /isolate.git
63+ $ git clone https://github.com/ReCodEx /isolate
6664$ cd isolate
67- $ git checkout v1.3
6865$ make
6966# make install && make install-doc
7067```
7168
72- For proper work Isolate depends on several advanced features of the Linux
69+ For proper work, Isolate depends on several advanced features of the Linux
7370kernel. Make sure that your kernel is compiled with ` CONFIG_PID_NS ` ,
7471` CONFIG_IPC_NS ` , ` CONFIG_NET_NS ` , ` CONFIG_CPUSETS ` , ` CONFIG_CGROUP_CPUACCT ` ,
7572` CONFIG_MEMCG ` . If your machine has swap enabled, also check
@@ -107,7 +104,7 @@ worker source codes.
107104 that ` rpm ` and ` deb ` packages are build in the same time. You may need to have
108105 ` rpmbuild ` command (usually as ` rpmbuild ` or ` rpm ` package) or edit
109106 CPACK_GENERATOR variable in _ CMakeLists.txt_ file in root of source code tree.
110- - Install generated package through your package manager (` yum ` , ` dnf ` , ` dpkg ` ).
107+ - Install generated package through your package manager (` dnf ` , ` dnf ` , ` dpkg ` ).
111108
112109The worker installation process is composed of following steps:
113110
0 commit comments