From c64725f1813fbad24372be5f0f558816ac3ac2fb Mon Sep 17 00:00:00 2001 From: andrew Date: Sat, 18 Nov 2023 09:14:07 -0500 Subject: [PATCH] Kick to v20; additionally chmod cutechess-ob from worker.py --- Client/worker.py | 5 ++++- Config/config.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Client/worker.py b/Client/worker.py index c0429ac..8f096b4 100644 --- a/Client/worker.py +++ b/Client/worker.py @@ -50,7 +50,7 @@ from client import try_forever ## Basic configuration of the Client. These timeouts can be changed at will -CLIENT_VERSION = 19 # Client version to send to the Server +CLIENT_VERSION = 20 # Client version to send to the Server TIMEOUT_HTTP = 30 # Timeout in seconds for HTTP requests TIMEOUT_ERROR = 10 # Timeout in seconds when any errors are thrown TIMEOUT_WORKLOAD = 30 # Timeout in seconds between workload requests @@ -1346,6 +1346,9 @@ def run_openbench_worker(args): try_forever(server_configure_worker, [config], setup_error) + if IS_LINUX: + os.system('chmod 777 cutechess-ob') + while True: try: # Cleanup on each workload request diff --git a/Config/config.json b/Config/config.json index 2985cc7..6ce2230 100644 --- a/Config/config.json +++ b/Config/config.json @@ -1,5 +1,5 @@ { - "client_version" : 19, + "client_version" : 20, "client_repo_url" : "https://github.com/AndyGrant/OpenBench", "client_repo_ref" : "master",