Gull 3 x64 Mac Results

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

Moderator: Ras

User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Gull 3 x64 Mac Updated Source

Post by MikeB »

IanO wrote:I found that Gull kept crashing with a divide-by-zero error within ten moves or so. I had to add this line to send_best_move() before calculating nps in order to complete a game:

Code: Select all

        if (time_used == 0) time_used = 1;
I also find that the myriad of compile options is no faster than just -Ofast.

On my machine - clang -Ofast -mpopcnt

Code: Select all

info score cp 26 time 20916 nodes 38398335 nps 1835835 pv e2e4 e7e6 d2d4 d7d5 e4d5 e6d5 g1f3 g8f6 f1d3 f8d6 e1g1 e8g8 b1c3 c7c6 f1e1 h7h6 a2a3 b8d7 f3e5 c6c5 
bestmove e2e4 ponder e7e6
gcc (ver 4.7) -pipe -flto --param l1-cache-size=32 --param l2-cache-size=256 -mtune=native -O3 -msse4.2 -mpopcnt -fno-exceptions -fno-rtti -w -Ofast -fprefetch-loop-arrays

Code: Select all

info score cp 26 time 18973 nodes 38398335 nps 2023840 pv e2e4 e7e6 d2d4 d7d5 e4d5 e6d5 g1f3 g8f6 f1d3 f8d6 e1g1 e8g8 b1c3 c7c6 f1e1 h7h6 a2a3 b8d7 f3e5 c6c5 
bestmove e2e4 ponder e7e6
gcc -Ofast mpopcnt

Code: Select all

info score cp 26 time 19211 nodes 38398335 nps 1998768 pv e2e4 e7e6 d2d4 d7d5 e4d5 e6d5 g1f3 g8f6 f1d3 f8d6 e1g1 e8g8 b1c3 c7c6 f1e1 h7h6 a2a3 b8d7 f3e5 c6c5 
bestmove e2e4 ponder e7e6
and one last one that I just tried:

gcc -pipe -flto -Os -mpopcnt -Ofast -O3 gull.cpp -o Gull

Code: Select all

info score cp 26 time 18837 nodes 38398335 nps 2038452 pv e2e4 e7e6 d2d4 d7d5 e4d5 e6d5 g1f3 g8f6 f1d3 f8d6 e1g1 e8g8 b1c3 c7c6 f1e1 h7h6 a2a3 b8d7 f3e5 c6c5 
bestmove e2e4 ponder e7e6
so yes I think it will vary by compiler and machine it's being complied on ..good use of YMMV