Dear Jaap,
Firstly, Thank you for your answer, I'm sorry for late contact back because of my personal affair
Which version of DOMjudge did you install?
I installed DOMjudge version 5.1.3
Did you build a chroot environment (with the script
misc-tools/dj_make_chroot)? Depending on which version of DOMjudge you're using, did you enable linux cgroups?
You can check by running "ldd runguard" where runguard should be located
under the bin directory of the judgehost installation. It should list libcgroup.so.1 among other things. Thank for your support, based on your guide, I installed cgroup, however, I got this message when compiled source code in java from domjudge: "Compiling failed with exitcode 255, compiler output:
/opt/domjudge/judgehost/bin/runguard: creating cgroup: This kernel does not support this feature(50029) Try `/opt/domjudge/judgehost/bin/runguard --help' for more information.
"
Can you send us a zipfile with the contents of the judging directory.
This will be located under output/judging/$HOSTNAME/endpoint-default/cX-sY-jZ where X,Y,Z are the contest, submission and judging ID respectively. You can find these on the submission page.
Attached here my Java source file which had been uploaded to judge and generated that error.
You can have a look at the "boolfind" example problem. It has both a
custom run and compare script. These are located in the source tree under sql/files/examples/boolfind_{run,cmp}. Thank you, I found the example
Regards,
2017-08-06 6:22 GMT+07:00 Jaap Eldering jaap@jaapeldering.nl:
Hi Tran,
On 04/08/17 12:18, Bình Dương, Tran wrote:
Hi,
I'm from FPT University in Viet Nam. I'm a coacher of ACM Teams in my
university this year.
I installed DomJudge successfully ( including domserver and judgehost )
and work with them well. But I faced with two following problems:
Which version of DOMjudge did you install?
- The judgehost isn't able to judge with Java Code.
(I attached an image for the problem) Hình ảnh nội tuyến 2
Did you build a chroot environment (with the script misc-tools/dj_make_chroot)? Depending on which version of DOMjudge you're using, did you enable linux cgroups?
You can check by running "ldd runguard" where runguard should be located under the bin directory of the judgehost installation. It should list libcgroup.so.1 among other things.
Can you send us a zipfile with the contents of the judging directory. This will be located under output/judging/$HOSTNAME/endpoint-default/cX-sY-jZ where X,Y,Z are the contest, submission and judging ID respectively. You can find these on the submission page.
- I still don't know how to set custom_checking script in case of some
special problems in a contest which contains statements indicate that it has multiple optimal solution depending on developer.
Could you explain and give me an example for that case. ( I can't find
any explicit example )
You can have a look at the "boolfind" example problem. It has both a custom run and compare script. These are located in the source tree under sql/files/examples/boolfind_{run,cmp}.
Also see https://www.domjudge.org/docs/admin-manual-3.html#ss3.12, although I'm not 100% sure it is completely uptodate.
Best, Jaap
My Best Regards,
--
Điện thoại: (04) 37687717 – Máy lẻ: 100 <http://Email:%20linhpt@fpt.
edu.vn/>
Thanks & Best regards
**TRẦN BÌNH DƯƠNG* *
Giảng viên bộ môn Công Nghệ Phần mềm
Trường Đại học FPT
Tel: (04) 37687717 – Máy lẻ: 104
Mobile: 0936 168 165
Email: duongtb@fe.edu.vn mailto:duongtb@fe.edu.vn
The information in this e-mail and any attached files are CONFIDENTIAL
and may be legally privileged or prohibited from disclosure and unauthorized use. The views of the author may not necessarily reflect those of the Company.
It is intended solely for the addressee or the employee or agent
responsible for delivering such materials to the addressee. If you have received this message in error please return it to the sender then delete the email and destroy any copies of it. If you are not the intended recipient, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication or any action taken or omitted to be taken in reliance upon this message or its attachments is prohibited and may be unlawful.
At present the integrity of e-mail across the Internet cannot be
guaranteed and messages sent via this medium are potentially at risk. All liability is excluded to the extent permitted by law for any claims arising as a result of the use of this medium to transmit information by or to FPT University.
DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel
DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel