Zeta 0970 - Alpha II Release

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

stevenaaus
Posts: 613
Joined: Wed Oct 13, 2010 9:44 am
Location: Australia

Re: Zeta 0970 - Alpha II Release

Post by stevenaaus »

Yes - it seems to run ok, but I can't get it to play a tournament or give PV. All it gives is 0 0 100 0 move a1a1
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
If i try NVGPU in the config i get

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);
and 0 0 1400 0 move a1a1
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
smatovic
Posts: 3330
Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic

Re: Zeta 0970 - Alpha II Release

Post by smatovic »

$cat zeta_cl.debug

Error: Getting Platforms. (clGetPlatformsIDs)
Zeta is unable to initialize the OpenCL platform from Nvidia.

If you have the command "clinfo" on your box you could check if your "platform name" is "Nvidia"....

Some older driver have no Platform-Information, i think with OpenCL 1.1 this was introduced....
Sorry - but i don't want to debug it too much.
Thanks anyway for testing!

--
Srdja