From 7370530877ce61b6d58a8d016eafc4c8675cb339 Mon Sep 17 00:00:00 2001 From: andrew Date: Sat, 22 Jul 2023 16:48:43 -0400 Subject: [PATCH] Stockfish for OpenBench --- Client/Client.py | 2 +- Engines/Stockfish.json | 101 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+), 1 deletion(-) create mode 100644 Engines/Stockfish.json diff --git a/Client/Client.py b/Client/Client.py index 6bd889c..4a1e577 100644 --- a/Client/Client.py +++ b/Client/Client.py @@ -309,7 +309,7 @@ class ServerReporter(object): payload = { 'test_id' : config.workload['test']['id'], 'error' : '%s build failed' % (final_name), - 'logs' : compiler_output, + 'logs' : output, } return ServerReporter.report(config, 'clientSubmitError', payload) diff --git a/Engines/Stockfish.json b/Engines/Stockfish.json new file mode 100644 index 0000000..d411fde --- /dev/null +++ b/Engines/Stockfish.json @@ -0,0 +1,101 @@ +{ + "private" : false, + "nps" : 995000, + "base" : "ob_16", + "source" : "https://github.com/AndyGrant/Stockfish", + + "bounds" : "[0.00, 2.00]", + "book" : "Pohl.epd", + "win_adj" : "movecount=5 score=600", + "draw_adj" : "movenumber=32 movecount=6 score=15", + + "build" : { + "path" : "src", + "compilers" : ["g++"], + "cpuflags" : ["AVX2", "FMA", "POPCNT"], + "systems" : ["Windows", "Linux"] + }, + + "testmodes" : { + + "STC" : { + "options" : "Threads=1 Hash=16", + "timecontrol" : "10.0+0.10", + "report_rate" : 16, + "workload_size" : 32 + }, + + "LTC" : { + "options" : "Threads=1 Hash=64", + "timecontrol" : "60.0+0.6", + "report_rate" : 4, + "workload_size" : 8, + "bounds" : "[0.50, 2.50]" + }, + + "SMP STC" : { + "options" : "Threads=7 Hash=64", + "timecontrol" : "10.0+0.1", + "report_rate" : 4, + "workload_size" : 64 + }, + + "SMP LTC" : { + "options" : "Threads=14 Hash=256", + "timecontrol" : "30.0+0.3", + "report_rate" : 4, + "workload_size" : 16, + "bounds" : "[0.50, 2.50]" + }, + + "STC Simplification" : { + "options" : "Threads=1 Hash=16", + "timecontrol" : "10.0+0.10", + "report_rate" : 16, + "workload_size" : 32, + "bounds" : "[-1.75, 0.25]" + }, + + "LTC Simplification" : { + "options" : "Threads=1 Hash=64", + "timecontrol" : "60.0+0.6", + "report_rate" : 4, + "workload_size" : 8, + "bounds" : "[-1.75, 0.25]" + }, + + "STC Regression" : { + "options" : "Threads=1 Hash=16", + "timecontrol" : "10.0+0.10", + "report_rate" : 16, + "workload_size" : 32, + "book" : "8moves_v3.epd", + "games" : 40000 + }, + + "LTC Regression" : { + "options" : "Threads=1 Hash=64", + "timecontrol" : "60.0+0.6", + "report_rate" : 4, + "workload_size" : 8, + "book" : "8moves_v3.epd", + "games" : 40000 + }, + + "STC Fixed Games" : { + "options" : "Threads=1 Hash=16", + "timecontrol" : "10.0+0.10", + "report_rate" : 16, + "workload_size" : 32, + "games" : 40000 + }, + + "LTC Fixed Games" : { + "options" : "Threads=1 Hash=64", + "timecontrol" : "60.0+0.6", + "report_rate" : 4, + "workload_size" : 8, + "games" : 40000 + } + } +} \ No newline at end of file