I had to compile my own binary due to a glibc thing.
Tried a few hacks but i got nowhere. My box is 64 bit Linux.... havent tried windows version.
Code: Select all
$make
gcc -Wall -O2 -ansi -pedantic -std=c99 -lm -march=x86-64 -o zeta_cl zeta.c opencl.c bitboard.c -I. -lm -lOpenCL
zeta.c:1078:13: warning: ‘print_bitboard’ defined but not used
$./zeta_cl
Zeta 097x by Srdja Matovic, Montenegro
Copyright (C) 2011 Srdja Matovic <srdja.matovic@googlemail.com>
> new
###ABCDEFGH###
#8 rnbqkbnr
#7 pppppppp
#6 --------
#5 --------
#4 --------
#3 --------
#2 PPPPPPPP
#1 RNBQKBNR
> go
0 0 0 0 move a1a1
Code: Select all
$cat zeta_cl.debug
Error: Getting Platforms. (clGetPlatformsIDs)
, status:-1001iterations: 0 ,Expaned Nodes: 0 , AB-Nodes: 0 , Movecount: 0 , Node Copies: 0, bestmove: 0, sec: 0.000000
Error: Creating Context Info (cps, clCreateContextFromType)
, status:-1iterations: 0 ,Expaned Nodes: 0 , AB-Nodes: 0 , Movecount: 0 , Node Copies: 0, bestmove: 0, sec: 0.000000
Error: Creating Context Info (cps, clCreateContextFromType)
, status:-1iterations: 0 ,Expaned Nodes: 0 , AB-Nodes: 0 , Movecount: 0 , Node Copies: 0, bestmove: 0, sec: 0.000000
Error: Creating Context Info (cps, clCreateContextFromType)
, status:-1iterations: 0 ,Expaned Nodes: 0 , AB-Nodes: 0 , Movecount: 0 , Node Copies: 0, bestmove: 0, sec: 0.000000
Error: Building Program (clBuildProgram)
, status:-11buildlog: <program source>:1486:17: error: no matching function for call to 'atom_max'
atom_max(&global_pid_ab_score[pid*max_depth*2+(sd-1)*2+ALPHA], -global_pid_ab_score[pid*max_depth*2+sd*2+ALPHA]);
^~~~~~~~
<built-in>:4298:24: note: candidate function
ulong __OVERLOADABLE__ atom_max(__local volatile ulong *, ulong);
^
<built-in>:4297:23: note: candidate function
long __OVERLOADABLE__ atom_max(__local volatile long *, long);
^
<built-in>:4296:24: note: candidate function
ulong __OVERLOADABLE__ atom_max(__global volatile ulong *, ulong);
^
<built-in>:4295:23: note: candidate function
long __OVERLOADABLE__ atom_max(__global volatile long *, long);
^
<built-in>:4294:23: note: candidate function
uint __OVERLOADABLE__ atom_max(__local volatile uint *, uint);
^
<built-in>:4293:22: note: candidate function
int __OVERLOADABLE__ atom_max(__local volatile int *, int);
^
<built-in>:4292:23: note: candidate function
uint __OVERLOADABLE__ atom_max(__global volatile uint *, uint);
^
<built-in>:4291:22: note: candidate function
int __OVERLOADABLE__ atom_max(__global volatile int *, int);
Sorry - but i don't want to debug it too much.
Code: Select all
Scid vs. PC <--> Engine communication log file
Engine: Zeta
Command: /usr/share/scid/engines/zeta/zeta
Directory: /usr/share/scid/engines/zeta/
Date: Sat Jul 14 14:59:09 EST 2012
Engine: Zeta 097x by Srdja Matovic, Montenegro
Note: First line from engine seen; sending it initial commands now.
Scid : xboard
Scid : protover 2
Scid : easy
Scid : post
Engine: Copyright (C) 2011 Srdja Matovic <srdja.matovic@googlemail.com>
Engine: > feature done=0
Engine: feature myname="Zeta 097x"
Engine: feature reuse=0
Engine: feature setboard=1
Engine: feature memory=1
Engine: feature smp=1
Engine: feature usermove=1
Engine: feature san=0
Engine: feature time=1
Engine: feature debug=1
Engine: feature done=1
Scid : setboard rnbq1rk1/ppp2p2/3p1n1p/2b3p1/2PN3B/2N1P3/PP3PPP/R2QKB1R w KQ - 0 9
Scid : new
Scid : force
Scid : setboard rnbq1rk1/ppp2p2/3p1n1p/2b3p1/2PN3B/2N1P3/PP3PPP/R2QKB1R w KQ - 0 9
Scid : white
Scid : st 120000
Scid : sd 50
Scid : post
Scid : go
Engine: ###ABCDEFGH###
Engine: #8 rnbqkbnr
Engine: #7 pppppppp
Engine: #6 --------
Engine: #5 --------
Engine: #4 --------
Engine: #3 --------
Engine: #2 PPPPPPPP
Engine: #1 RNBQKBNR
Engine: 0 0 100 0 move a1a1
Scid : exit
Scid : quit