Updated Assignments overview (markdown)

master
Martin Polanka 9 years ago
parent e11c17b700
commit 0b75c398c7

@ -67,36 +67,12 @@ files: # or can be in tasks, sha1 hashing function
"recodex.cpp": 94549d889ae96210ff2a73bd0a5bbe3185f05ff6 "recodex.cpp": 94549d889ae96210ff2a73bd0a5bbe3185f05ff6
"01.in": 94549d889ae96210ff2a73bd0a5bbe3185f05ff6 "01.in": 94549d889ae96210ff2a73bd0a5bbe3185f05ff6
tasks: tasks:
- task-id: "compile_test01"
priority: 1
fatal-failure: true
cmd: "g++"
stdin: "recodex.cpp"
stdout: "compile01.out"
stderr: "compile01.err"
log: "compile.log"
sandbox: # if defined task is external and will be run in sandbox
name: "isolate"
limits:
time: 5 # seconds
wall-time: 6 # seconds
extra-time: 2 # seconds
stack-size: 50000 # KB
memory: 50000 # in KB
parallel: false # time and memory limits are merged from all potential processes/threads
disk-usage: 5 # MB
directory-bindings:
- "/tmp/prepared": "/box"
- "/tmp/skeleton": "/"
environ-variable:
ISOLATE_BOX: "/box"
ISOLATE_TMP: "/tmp"
- task-id: "move_test01" - task-id: "move_test01"
priority: 2 priority: 2
dependencies: dependencies:
- compile_test01 - compile_test01
source: "recodex" source: "recodex.cpp"
destination: "/codex/boxes/tmp/recodex" destination: "/codex/boxes/tmp/recodex.cpp"
cmd: "mv" cmd: "mv"
log: "move.log" log: "move.log"
- task-id: "eval_test01" - task-id: "eval_test01"
@ -112,17 +88,32 @@ tasks:
sandbox: # if defined task is external and will be run in sandbox sandbox: # if defined task is external and will be run in sandbox
name: "isolate" name: "isolate"
limits: limits:
time: 5 # seconds - hw-group-id: group1 # determines specific limits for specific machines
wall-time: 6 # seconds time: 5 # seconds
extra-time: 2 # seconds wall-time: 6 # seconds
stack-size: 50000 # KB extra-time: 2 # seconds
memory: 50000 # in KB stack-size: 50000 # KB
parallel: false # time and memory limits are merged from all potential processes/threads memory: 50000 # in KB
disk-usage: 5 # MB parallel: false # time and memory limits are merged from all potential processes/threads
directory-bindings: disk-usage: 5 # MB
directory-bindings:
- "/tmp/prepared": "/box"
- "/tmp/skeleton": "/"
environ-variable:
ISOLATE_BOX: "/box"
ISOLATE_TMP: "/tmp"
- hw-group-id: group2 # determines specific limits for specific machines
time: 6 # seconds
wall-time: 7 # seconds
extra-time: 3 # seconds
stack-size: 60000 # KB
memory: 60000 # in KB
parallel: false # time and memory limits are merged from all potential processes/threads
disk-usage: 50 # MB
directory-bindings:
- "/tmp/prepared": "/box" - "/tmp/prepared": "/box"
- "/tmp/skeleton": "/" - "/tmp/skeleton": "/"
environ-variable: environ-variable:
ISOLATE_BOX: "/box" ISOLATE_BOX: "/box"
ISOLATE_TMP: "/tmp" ISOLATE_TMP: "/tmp"
... ...

Loading…
Cancel
Save