Проблема с компиляторами

Обсуждение вопросов, связанных с системой проведения турниров ejudge.
alexbagirov
Posts:79
Joined:12 April 2014, 11:08
Re: Проблема с компиляторами

Post by alexbagirov » 28 October 2014, 15:11

Не помогло. Все то же самое.

cher
Posts:1153
Joined:13 March 2004, 17:00
Contact:

Re: Проблема с компиляторами

Post by cher » 28 October 2014, 16:14

Какие у вас сейчас получились serve.cfg и compile.cfg?

alexbagirov
Posts:79
Joined:12 April 2014, 11:08

Re: Проблема с компиляторами

Post by alexbagirov » 28 October 2014, 17:50

Serve.cfg:

Code: Select all

# -*- coding: utf-8 -*-
# $Id$
# Generated by ejudge-setup, version 2.3.28 #1
# Generation date: 2013/11/06 14:37:07
contest_id = 1

contest_time = 120
contest_finish_time = "2014/10/26 23:00:00"
score_system = acm
board_unfog_time = 0
standings_locale = "ru"

compile_dir = "../../compile/var/compile"

team_enable_src_view
team_enable_rep_view
show_deadline
enable_printing
problem_navigation
notify_clar_reply
notify_status_change


compile_max_vm_size = 512M
compile_max_file_size = 32M


stand_fancy_style

cr_serialization_key = 22723
advanced_layout
enable_l10n
team_download_time = 0
cpu_bogomips = 6557

[language]
id = 1
short_name = "fpc"
long_name = "Free Pascal 2.6.2"
src_sfx = ".pas"

[language]
id = 2
short_name = "gcc"
long_name = "GNU C 4.7.2"
src_sfx = ".c"

[language]
id = 3
short_name = "g++"
long_name = "GNU C++ 4.7.2"
src_sfx = ".cpp"

[language]
id = 11
short_name = "yabasic"
long_name = "YaBasic 2.763"
arch = "linux-shared"
src_sfx = ".bas"

[language]
id = 13
short_name = "python"
long_name = "Python 2.7.4"
arch = "linux-shared"
src_sfx = ".py"

[language]
id = 14
short_name = "perl"
long_name = "Perl 5.18.1"
arch = "linux-shared"
src_sfx = ".pl"
disabled

[language]
id = 18
short_name = "javac"
long_name = "Java JDK 1.7.0_09-icedtea"
arch = "java"
src_sfx = ".java"
exe_sfx = ".jar"

[language]
id = 19
short_name = "mcs"
long_name = "Mono C# 2.10.11.0"
arch = "msil"
src_sfx = ".cs"
exe_sfx = ".exe"
insecure

[language]
id = 20
short_name = "vbnc"
long_name = "Mono Visual Basic .NET 0.0.0.5943"
arch = "msil"
src_sfx = ".vb"
exe_sfx = ".exe"
insecure

[language]
id = 21
short_name = "ruby"
long_name = "Ruby 1.9.3p482"
arch = "linux-shared"
src_sfx = ".rb"

[language]
id = 22
short_name = "php"
long_name = "PHP 5.4.17"
arch = "linux-shared"
src_sfx = ".php"

[language]
id = 23
short_name = "python3"
long_name = "Python3 3.3.1"
arch = "linux-shared"
src_sfx = ".py"

[language]
id = 24
short_name = "kumir"
long_name = "Kumir unknown"
arch = "linux-shared"
src_sfx = ".kum"
disable_security

[language]
id = 25
short_name = "make"
long_name = "Make 3.82"
arch = "linux-shared"
src_sfx = ".tar"

[language]
id = 26
short_name = "ghc"
long_name = "The Glasgow Haskell Compiler 7.6.1"
arch = "linux-shared"
src_sfx = ".hs"

[language]
id = 27
short_name = "fbc"
long_name = "Free Basic 0.90.1"
arch = "linux-shared-32"
src_sfx = ".bas"

[language]
id = 51
short_name = "clang"
long_name = "clang C 3.3"
arch = "linux-shared"
src_sfx = ".c"

[language]
id = 52
short_name = "clang++"
long_name = "clang C++ 3.3"
arch = "linux-shared"
src_sfx = ".cpp"

[language]
id = 54
short_name = "make-vg"
long_name = "Make (valgrind) 3.82"
arch = "valgrind"
src_sfx = ".tar"
disabled
disable_testing

[problem]
abstract
short_name = "Generic"
use_stdin
use_stdout
xml_file = "statement.xml"
test_sfx = ".dat"
use_corr
corr_dir = "%Ps"
corr_sfx = ".ans"
time_limit = 1
real_time_limit = 5
max_vm_size = 64M
max_stack_size = 64M
max_file_size = 64M
check_cmd = "check"

[problem]
id = 1
super = "Generic"
short_name = "A"
long_name = ""
standard_checker = "cmp_int"

[problem]
id = 2
super = "Generic"
short_name = "B"
long_name = ""
standard_checker = "cmp_int"

[problem]
id = 3
super = "Generic"
short_name = "C"
long_name = ""
standard_checker = "cmp_yesno"

[problem]
id = 4
super = "Generic"
short_name = "D"
long_name = ""
standard_checker = "cmp_int"

[problem]
id = 5
super = "Generic"
short_name = "E"
long_name = ""

[problem]
id = 6
super = "Generic"
short_name = "F"
long_name = ""

[tester]
name = Generic
arch = ""
abstract
no_core_dump
enable_memory_limit_error
kill_signal = KILL
memory_limit_type = "default"
secure_exec_type = "static"
clear_env

[tester]
name = Linux-shared
arch = "linux-shared"
abstract
no_core_dump
enable_memory_limit_error
kill_signal = KILL
memory_limit_type = "default"
secure_exec_type = "dll"
clear_env

[tester]
name = Linux-shared-32
arch = "linux-shared-32"
abstract
no_core_dump
enable_memory_limit_error
kill_signal = KILL
memory_limit_type = "default"
secure_exec_type = "dll32"
clear_env

[tester]
name = Linux-java
arch = "java"
abstract
no_core_dump
kill_signal = TERM
memory_limit_type = "java"
secure_exec_type = "java"
start_cmd = "runjava"
start_env = "LANG=C"
start_env = "EJUDGE_PREFIX_DIR"

[tester]
name = Linux-msil
arch = "msil"
abstract
no_core_dump
kill_signal = TERM
start_cmd = "runmono"
start_env = "EJUDGE_PREFIX_DIR"

[tester]
name = Valgrind
arch = "valgrind"
abstract
no_core_dump
kill_signal = TERM
memory_limit_type = "valgrind"
secure_exec_type = "valgrind"
start_cmd = "runvg"
clear_env
start_env = "PATH=/usr/local/bin:/usr/bin:/bin"
start_env = "LANG=C"
start_env = "HOME"

[tester]
any
super = Generic

[tester]
any
super = Linux-shared
arch = linux-shared

[tester]
any
super = Linux-shared-32
arch = linux-shared-32

[tester]
any
super = Linux-java
arch = java

[tester]
any
super = Linux-msil
arch = msil

[tester]
any
super = Valgrind
arch = valgrind

# audit: edited 2014/09/20 22:28:40 1 (ejudge) 95.82.232.195
# audit: edited 2014/10/23 21:25:17 1 (ejudge) 95.82.232.195
# audit: edited 2014/10/23 21:37:01 1 (ejudge) 95.82.232.195
# audit: edited 2014/10/23 22:55:57 1 (ejudge) 95.82.232.195
# audit: edited 2014/10/23 22:57:04 1 (ejudge) 95.82.232.195
# audit: edited 2014/10/24 17:14:04 1 (ejudge) 95.82.232.195
# audit: edited 2014/10/25 20:45:45 1 (ejudge) 141.101.105.78
# audit: edited 2014/10/25 21:51:44 1 (ejudge) 141.101.105.78
# audit: edited 2014/10/25 21:54:55 1 (ejudge) 141.101.105.78
# audit: edited 2014/10/26 00:34:13 1 (ejudge) 141.101.105.78
# audit: edited 2014/10/26 00:39:31 1 (ejudge) 141.101.105.78
# audit: edited 2014/10/26 23:24:02 1 (ejudge) 141.101.105.78
# audit: edited 2014/10/26 23:26:13 1 (ejudge) 141.101.105.78
Compile.cfg:

Code: Select all

# Generated by ejudge-configure-compilers, version 2.3.29+ (SVN r7685) #1
# Generation date: 2014/10/28 18:10:34

root_dir = /var/lib/ejudge/compile
cr_serialization_key = 22723

sleep_time = 1000

lang_config_dir = "/etc/ejudge/lang.d"

[language]
id = 1
short_name = "fpc"
long_name = "Free Pascal"
src_sfx = ".pas"
cmd = "fpc"

[language]
id = 2
short_name = "gcc"
long_name = "GNU C"
src_sfx = ".c"
cmd = "gcc"

[language]
id = 3
short_name = "g++"
long_name = "GNU C++"
src_sfx = ".cpp"
cmd = "g++"

[language]
id = 18
short_name = "javac"
long_name = "Java JDK"
src_sfx = ".java"
exe_sfx = ".jar"
cmd = "javac"
arch = "java"

[language]
id = 19
short_name = "mcs"
long_name = "Mono C#"
src_sfx = ".cs"
exe_sfx = ".exe"
insecure
cmd = "mcs"
arch = "msil"

[language]
id = 22
short_name = "php"
long_name = "PHP"
src_sfx = ".php"
cmd = "php"
arch = "linux-shared"

[language]
id = 25
short_name = "make"
long_name = "Make"
src_sfx = ".tar"
binary
cmd = "make"
arch = "linux-shared"

[language]
id = 26
short_name = "ghc"
long_name = "The Glasgow Haskell Compiler"
src_sfx = ".hs"
cmd = "ghc"
arch = "linux-shared"

[language]
id = 51
short_name = "clang"
long_name = "clang C"
src_sfx = ".c"
cmd = "clang"
arch = "linux-shared"

[language]
id = 52
short_name = "clang++"
long_name = "clang C++"
src_sfx = ".cpp"
cmd = "clang++"
arch = "linux-shared"

[language]
id = 54
short_name = "make-vg"
long_name = "Make (valgrind)"
src_sfx = ".tar"
binary
cmd = "make-vg"
arch = "valgrind"


cher
Posts:1153
Joined:13 March 2004, 17:00
Contact:

Re: Проблема с компиляторами

Post by cher » 28 October 2014, 18:12

У вас в serve.cfg есть языки, которые отсутствуют в compile.cfg, например, fbc. Все такие секции [language] надо убрать. А еще лучше вообще убрать все [language] и при редактировании турнира добавить нужные.

alexbagirov
Posts:79
Joined:12 April 2014, 11:08

Re: Проблема с компиляторами

Post by alexbagirov » 28 October 2014, 18:43

Я уже отменил установку PascalABC, так как скоро начнется турнир. На следующей неделе попробую еще и отпишусь о результате.

Post Reply