I am having trouble starting CLOP on my linux desktop.
I am running cutechess-cli 6 and CLOP 0.0.9, both of which, I compiled myself.
When I run it from the GUI, I get the following log output:
Code: Select all
2014-02-04 21:21:27 ===== Starting: futility =====
2014-02-04 21:21:28 Run
2014-02-04 21:21:28 id = 5 (machine6); Seed = 0; Starting new sample
2014-02-04 21:21:28 id = 4 (machine5); Seed = 1; Starting new sample
2014-02-04 21:21:28 id = 3 (machine4); Seed = 2; Starting new sample
2014-02-04 21:21:28 id = 2 (machine3); Seed = 3; Starting new sample
2014-02-04 21:21:28 id = 1 (machine2); Seed = 4; Starting new sample
2014-02-04 21:21:28 id = 0 (machine1); Seed = 5; Starting new sample
2014-02-04 21:21:28 id = 5 (machine6); Seed = 0; Error: Permission denied
2014-02-04 21:21:28 id = 5 stopped. RunningProcessors = 5
2014-02-04 21:21:28 id = 4 (machine5); Seed = 1; Error: Permission denied
2014-02-04 21:21:28 id = 4 stopped. RunningProcessors = 4
2014-02-04 21:21:28 id = 3 (machine4); Seed = 2; Error: Permission denied
2014-02-04 21:21:28 id = 3 stopped. RunningProcessors = 3
2014-02-04 21:21:28 id = 1 (machine2); Seed = 4; Error: Permission denied
2014-02-04 21:21:28 id = 1 stopped. RunningProcessors = 2
2014-02-04 21:21:28 id = 2 (machine3); Seed = 3; Error: Permission denied
2014-02-04 21:21:28 id = 2 stopped. RunningProcessors = 1
2014-02-04 21:21:28 id = 0 (machine1); Seed = 5; Error: Permission denied
2014-02-04 21:21:28 id = 0 stopped. RunningProcessors = 0
2014-02-04 21:21:28 Stop
Code: Select all
#
# DummyExperiment.clop
#
# Example of experiment definition
#
# Name (used for .log and .dat files)
Name futility
# Script for running a game. See DummyScript.py for details.
Script ./clop-cutechess-cli.py
# Parameter(s) to be optimized
# <parameter_type> <name> <min> <max>
# <parameter_type> may be:
# LinearParameter
# IntegerParameter
# GammaParameter
# IntegerGammaParameter
# For GammaParameter, quadratic regression is performed on log(x)
# Warning: 123 and not 123.0 should be used for IntegerParameter
IntegerParameter RM1 -2000 1000
IntegerParameter RM2 -1000 1000
# This could be the list of machine names in a distributed experiment.
# In order to run 4 games in parallel, 2 on machine1, 2 on machine2:
Processor machine1
Processor machine2
Processor machine3
Processor machine4
Processor machine5
Processor machine6
# Call the script "Replications" times in a row with identical parameter values
# Replications may be used to alternate colors, for instance.
# Seed % Replications would indicate color.
Replications 2
# Parameters of statistical model of outcome
# For binary outcome (Win/Loss, no draws), use "DrawElo 0"
# For chess, use "DrawElo 100"
DrawElo 100
# Regression parameters
# H 3 is recommended (it is the default value)
# Correlations may be "all" (default) or "none"
# Even if variables are not correlated "all" should work well. The problem is
# that the regression might become very costly if the number of variables is
# high. So use "Correlations none" only if you are certain parameters are
# independent or you have so many variables that "all" is too costly.
H 3
Correlations all
Code: Select all
# Path to the cutechess-cli executable.
# On Windows this should point to cutechess-cli.exe
cutechess_cli_path = './cutechess-cli.sh'
# The engine whose parameters will be optimized
engine = 'cmd=stockfish proto=uci option.Threads=1'
# Format for the commands that are sent to the engine to
# set the parameter values. When the command is sent,
# {name} will be replaced with the parameter name and {value}
# with the parameter value.
engine_param_cmd = 'setoption name {name} value {value}'
# A pool of opponents for the engine. The opponent will be
# chosen based on the seed sent by CLOP.
opponents = [
'cmd=stockfish proto=uci option.Threads=1 name=base'
]
# Additional cutechess-cli options, eg. time control and opening book
options = '-each tc=2+0.02 proto=uci restart=on -openings file=book5.epd format=epd order=random -draw movenumber=34 movecount=8 score=20 -resign movecount=4 score=400'
Code: Select all
#!/bin/bash
./cutechess-cli -games 10000 -pgnout clopgames.pgn -resign movecount=3 score=400 -draw movenumber=34 movecount=8 score=20 -concurrency 7 -openings file=book5.epd format=epd order=random plies=16 -engine name=stockfish cmd=stockfish -engine name=base cmd=stockfish -each proto=uci option.Threads=1 option.OwnBook=false option.Hash=128 restart=on tc=2+0.02
Code: Select all
chmod +x
P.S. I tried linking it to the executable cutechess-cli, but that didn't work either.