Any friendly Mac users out there?

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

Moderator: Ras

Tord Romstad
Posts: 1808
Joined: Wed Mar 08, 2006 9:19 pm
Location: Oslo, Norway

Any friendly Mac users out there?

Post by Tord Romstad »

I'm trying to generate universal binaries of the new Glaurung, but because I don't have any PowerPC or 32-bit intel Macs, and no Macs running Tiger, I can't test how it works. To save myself from the embarassment of releasing something that doesn't work at all, I'd like to find someone who could verify that my binaries run correctly on all combinations of CPUs (32-bit PowerPC, 64-bit PowerPC, 32-bit Intel, 64-bit Intel) and recent MacOS versions (10.4, 10.5).

A collection of Glaurung binaries can be found here. The downloadable file unpacks to two directories, "leopard" and "tiger", which contain binaries for the two platforms. Both directories contain five files:
  • glaurung-intel-32, for 32-bit x86 CPUs.
  • glaurung-intel-64, for 64-bit x86 CPUs.
  • glaurung-ppc-32, for 32-bit PowerPC CPUs
  • glaurung-ppc-64, for 64-bit PowerPC CPUs.
  • glaurung-universal, a universal binary containing all of the above.
I'm looking for people who can verify that the binaries for the various CPU/MacOS version combinations work. Please test both the binary for your specific CPU (e.g. glaurung-ppc32 in the "tiger" directory for a G4 Mac running Tiger) and the universal binary for your OS version, and check that they both work and give similar N/s counts.

The Leopard Intel binaries are compiled with the Intel compiler, and are a lot faster (52% for the 32-bit version, 27% for the 64-bit version) than the Tiger Intel binaries, which are compiled with GCC (I haven't been able to compile a Tiger compatible binary with the Intel compiler, despite hours of frustrating work). Another somewhat annoying thing about the Tiger binaries is that they don't detect the number of CPUs correctly, and always start with a single search thread.

Tord
User avatar
Roman Hartmann
Posts: 295
Joined: Wed Mar 08, 2006 8:29 pm

Re: Any friendly Mac users out there?

Post by Roman Hartmann »

Hi Tord,
I just tested the binaries on my MacBook (10.5.2, Leopard, 2Ghz Intel Core 2 Duo). Only uci, ucinewgame, go infinite no throughout testing though.

-glaurung-intel-32, for 32-bit x86 CPUs. ->works and uses both cores (1.4Mn/s)
-glaurung-intel-64, for 64-bit x86 CPUs. ->works and uses both cores (1.9Mn/s)
-glaurung-universal ->works, and uses both cores (1.8Mn/s)

I also tried the Intel-compiles for Tiger and they run on Leopard as well but use only a single core.

best regards
Roman
Tord Romstad
Posts: 1808
Joined: Wed Mar 08, 2006 9:19 pm
Location: Oslo, Norway

Re: Any friendly Mac users out there?

Post by Tord Romstad »

Thanks, Roman!

Your setup is similar to mine (I have a MacBook 2.4 GHz Core 2 Duo and an iMac 2.8 GHz Core 2 Duo), so it is no suprise that everything appears to work.
Roman Hartmann wrote:I just tested the binaries on my MacBook (10.5.2, Leopard, 2Ghz Intel Core 2 Duo, both running Leopard). Only uci, ucinewgame, go infinite no throughout testing though.
No more thorough testing is required.
-glaurung-intel-32, for 32-bit x86 CPUs. ->works and uses both cores (1.4Mn/s)
-glaurung-intel-64, for 64-bit x86 CPUs. ->works and uses both cores (1.9Mn/s)
-glaurung-universal ->works, and uses both cores (1.8Mn/s)
Looks normal. On both of my machines, the MN/s count is approximately 0.95 x the clock frequency in GHz. It is slightly weird that the universal binary was a little slower than the 64-bit Intel binary; they should be identical. I guess there was just some random process which stole a few CPU cycles while you tested the universal binary.
I also tried the Intel-compiles for Tiger and they run on Leopard as well but use only a single core.
They use two cores if you set the "Threads" UCI option to 2 (there's no need to test this, I am 100% sure it is correct). The problem is that the technique I use to detect the number of CPU cores doesn't work in Tiger. When Glaurung can't detect the number of CPU cores, it defaults to a single search thread.

Tord
Guetti

Re: Any friendly Mac users out there?

Post by Guetti »

Unfortunately none of the Leopard versions works on my PowerMac G5.
The Tiger versions run fine with 1 (default) or 4 threads on Leopard 10.5.2

:shock:


OS: 10.5.2
CPU: 4 x 2.5 Ghz PowerPC G5

Code: Select all

orcabox:~/Downloads/mac-glaurung/leopard andreas% glaurung-ppc-32 
Glaurung 080513.  Copyright (C) 2004-2008 Tord Romstad.
uci
id name Glaurung 080513
id author Tord Romstad
option name Use Search Log type check default false
option name Search Log Filename type string default SearchLog.txt
option name Book File type string default book.bin
option name Mobility (Middle Game) type spin default 100 min 0 max 200
option name Mobility (Endgame) type spin default 100 min 0 max 200
option name Pawn Structure (Middle Game) type spin default 100 min 0 max 200
option name Pawn Structure (Endgame) type spin default 100 min 0 max 200
option name Passed Pawns (Middle Game) type spin default 100 min 0 max 200
option name Passed Pawns (Endgame) type spin default 100 min 0 max 200
option name Aggressiveness type spin default 100 min 0 max 200
option name Cowardice type spin default 100 min 0 max 200
option name King Safety Curve type combo default Quadratic var Quadratic var Linear var From File
option name King Safety Coefficient type spin default 40 min 1 max 100
option name King Safety X Intercept type spin default 0 min 0 max 20
option name King Safety Max Slope type spin default 30 min 10 max 100
option name King Safety Max Value type spin default 500 min 100 max 1000
option name Queen Contact Check Bonus type spin default 4 min 0 max 8
option name Rook Contact Check Bonus type spin default 2 min 0 max 4
option name Queen Check Bonus type spin default 2 min 0 max 4
option name Rook Check Bonus type spin default 1 min 0 max 4
option name Bishop Check Bonus type spin default 1 min 0 max 4
option name Knight Check Bonus type spin default 1 min 0 max 4
option name Discovered Check Bonus type spin default 3 min 0 max 8
option name Mate Threat Bonus type spin default 3 min 0 max 8
option name Check Extension (PV nodes) type spin default 2 min 0 max 2
option name Check Extension (non-PV nodes) type spin default 1 min 0 max 2
option name Single Reply Extension (PV nodes) type spin default 2 min 0 max 2
option name Single Reply Extension (non-PV nodes) type spin default 2 min 0 max 2
option name Mate Threat Extension (PV nodes) type spin default 0 min 0 max 2
option name Mate Threat Extension (non-PV nodes) type spin default 0 min 0 max 2
option name Pawn Push to 7th Extension (PV nodes) type spin default 1 min 0 max 2
option name Pawn Push to 7th Extension (non-PV nodes) type spin default 1 min 0 max 2
option name Passed Pawn Extension (PV nodes) type spin default 1 min 0 max 2
option name Passed Pawn Extension (non-PV nodes) type spin default 0 min 0 max 2
option name Pawn Endgame Extension (PV nodes) type spin default 2 min 0 max 2
option name Pawn Endgame Extension (non-PV nodes) type spin default 2 min 0 max 2
option name Full Depth Moves (PV nodes) type spin default 14 min 1 max 100
option name Full Depth Moves (non-PV nodes) type spin default 3 min 1 max 100
option name Threat Depth type spin default 5 min 0 max 100
option name Selective Plies type spin default 7 min 0 max 10
option name Futility Pruning (Main Search) type check default true
option name Futility Pruning (Quiescence Search) type check default true
option name Futility Margin 0 type spin default 50 min 0 max 1000
option name Futility Margin 1 type spin default 100 min 0 max 1000
option name Futility Margin 2 type spin default 300 min 0 max 1000
option name Maximum Razoring Depth type spin default 3 min 0 max 4
option name Razoring Margin type spin default 300 min 150 max 600
option name Randomness type spin default 0 min 0 max 10
option name Minimum Split Depth type spin default 4 min 4 max 7
option name Maximum Number of Threads per Split Point type spin default 8 min 4 max 8
option name Threads type spin default 4 min 1 max 8
option name Hash type spin default 32 min 4 max 4096
option name Clear Hash type button
option name Ponder type check default true
option name OwnBook type check default true
option name MultiPV type spin default 1 min 1 max 500
option name UCI_ShowCurrLine type check default false
option name UCI_Chess960 type check default false
uciok
go depth 16
[1]    1569 bus error  glaurung-ppc-32
orcabox:~/Downloads/mac-glaurung/leopard andreas% glaurung-ppc-64
Glaurung 080513.  Copyright (C) 2004-2008 Tord Romstad.
uci
id name Glaurung 080513
id author Tord Romstad
option name Use Search Log type check default false
option name Search Log Filename type string default SearchLog.txt
option name Book File type string default book.bin
option name Mobility (Middle Game) type spin default 100 min 0 max 200
option name Mobility (Endgame) type spin default 100 min 0 max 200
option name Pawn Structure (Middle Game) type spin default 100 min 0 max 200
option name Pawn Structure (Endgame) type spin default 100 min 0 max 200
option name Passed Pawns (Middle Game) type spin default 100 min 0 max 200
option name Passed Pawns (Endgame) type spin default 100 min 0 max 200
option name Aggressiveness type spin default 100 min 0 max 200
option name Cowardice type spin default 100 min 0 max 200
option name King Safety Curve type combo default Quadratic var Quadratic var Linear var From File
option name King Safety Coefficient type spin default 40 min 1 max 100
option name King Safety X Intercept type spin default 0 min 0 max 20
option name King Safety Max Slope type spin default 30 min 10 max 100
option name King Safety Max Value type spin default 500 min 100 max 1000
option name Queen Contact Check Bonus type spin default 4 min 0 max 8
option name Rook Contact Check Bonus type spin default 2 min 0 max 4
option name Queen Check Bonus type spin default 2 min 0 max 4
option name Rook Check Bonus type spin default 1 min 0 max 4
option name Bishop Check Bonus type spin default 1 min 0 max 4
option name Knight Check Bonus type spin default 1 min 0 max 4
option name Discovered Check Bonus type spin default 3 min 0 max 8
option name Mate Threat Bonus type spin default 3 min 0 max 8
option name Check Extension (PV nodes) type spin default 2 min 0 max 2
option name Check Extension (non-PV nodes) type spin default 1 min 0 max 2
option name Single Reply Extension (PV nodes) type spin default 2 min 0 max 2
option name Single Reply Extension (non-PV nodes) type spin default 2 min 0 max 2
option name Mate Threat Extension (PV nodes) type spin default 0 min 0 max 2
option name Mate Threat Extension (non-PV nodes) type spin default 0 min 0 max 2
option name Pawn Push to 7th Extension (PV nodes) type spin default 1 min 0 max 2
option name Pawn Push to 7th Extension (non-PV nodes) type spin default 1 min 0 max 2
option name Passed Pawn Extension (PV nodes) type spin default 1 min 0 max 2
option name Passed Pawn Extension (non-PV nodes) type spin default 0 min 0 max 2
option name Pawn Endgame Extension (PV nodes) type spin default 2 min 0 max 2
option name Pawn Endgame Extension (non-PV nodes) type spin default 2 min 0 max 2
option name Full Depth Moves (PV nodes) type spin default 14 min 1 max 100
option name Full Depth Moves (non-PV nodes) type spin default 3 min 1 max 100
option name Threat Depth type spin default 5 min 0 max 100
option name Selective Plies type spin default 7 min 0 max 10
option name Futility Pruning (Main Search) type check default true
option name Futility Pruning (Quiescence Search) type check default true
option name Futility Margin 0 type spin default 50 min 0 max 1000
option name Futility Margin 1 type spin default 100 min 0 max 1000
option name Futility Margin 2 type spin default 300 min 0 max 1000
option name Maximum Razoring Depth type spin default 3 min 0 max 4
option name Razoring Margin type spin default 300 min 150 max 600
option name Randomness type spin default 0 min 0 max 10
option name Minimum Split Depth type spin default 4 min 4 max 7
option name Maximum Number of Threads per Split Point type spin default 8 min 4 max 8
option name Threads type spin default 4 min 1 max 8
option name Hash type spin default 32 min 4 max 4096
option name Clear Hash type button
option name Ponder type check default true
option name OwnBook type check default true
option name MultiPV type spin default 1 min 1 max 500
option name UCI_ShowCurrLine type check default false
option name UCI_Chess960 type check default false
uciok
go deph 16
[1]    1575 segmentation fault  glaurung-ppc-64
orcabox:~/Downloads/mac-glaurung/leopard andreas% glaurung-universal 
Glaurung 080513.  Copyright (C) 2004-2008 Tord Romstad.
uci
id name Glaurung 080513
id author Tord Romstad
option name Use Search Log type check default false
option name Search Log Filename type string default SearchLog.txt
option name Book File type string default book.bin
option name Mobility (Middle Game) type spin default 100 min 0 max 200
option name Mobility (Endgame) type spin default 100 min 0 max 200
option name Pawn Structure (Middle Game) type spin default 100 min 0 max 200
option name Pawn Structure (Endgame) type spin default 100 min 0 max 200
option name Passed Pawns (Middle Game) type spin default 100 min 0 max 200
option name Passed Pawns (Endgame) type spin default 100 min 0 max 200
option name Aggressiveness type spin default 100 min 0 max 200
option name Cowardice type spin default 100 min 0 max 200
option name King Safety Curve type combo default Quadratic var Quadratic var Linear var From File
option name King Safety Coefficient type spin default 40 min 1 max 100
option name King Safety X Intercept type spin default 0 min 0 max 20
option name King Safety Max Slope type spin default 30 min 10 max 100
option name King Safety Max Value type spin default 500 min 100 max 1000
option name Queen Contact Check Bonus type spin default 4 min 0 max 8
option name Rook Contact Check Bonus type spin default 2 min 0 max 4
option name Queen Check Bonus type spin default 2 min 0 max 4
option name Rook Check Bonus type spin default 1 min 0 max 4
option name Bishop Check Bonus type spin default 1 min 0 max 4
option name Knight Check Bonus type spin default 1 min 0 max 4
option name Discovered Check Bonus type spin default 3 min 0 max 8
option name Mate Threat Bonus type spin default 3 min 0 max 8
option name Check Extension (PV nodes) type spin default 2 min 0 max 2
option name Check Extension (non-PV nodes) type spin default 1 min 0 max 2
option name Single Reply Extension (PV nodes) type spin default 2 min 0 max 2
option name Single Reply Extension (non-PV nodes) type spin default 2 min 0 max 2
option name Mate Threat Extension (PV nodes) type spin default 0 min 0 max 2
option name Mate Threat Extension (non-PV nodes) type spin default 0 min 0 max 2
option name Pawn Push to 7th Extension (PV nodes) type spin default 1 min 0 max 2
option name Pawn Push to 7th Extension (non-PV nodes) type spin default 1 min 0 max 2
option name Passed Pawn Extension (PV nodes) type spin default 1 min 0 max 2
option name Passed Pawn Extension (non-PV nodes) type spin default 0 min 0 max 2
option name Pawn Endgame Extension (PV nodes) type spin default 2 min 0 max 2
option name Pawn Endgame Extension (non-PV nodes) type spin default 2 min 0 max 2
option name Full Depth Moves (PV nodes) type spin default 14 min 1 max 100
option name Full Depth Moves (non-PV nodes) type spin default 3 min 1 max 100
option name Threat Depth type spin default 5 min 0 max 100
option name Selective Plies type spin default 7 min 0 max 10
option name Futility Pruning (Main Search) type check default true
option name Futility Pruning (Quiescence Search) type check default true
option name Futility Margin 0 type spin default 50 min 0 max 1000
option name Futility Margin 1 type spin default 100 min 0 max 1000
option name Futility Margin 2 type spin default 300 min 0 max 1000
option name Maximum Razoring Depth type spin default 3 min 0 max 4
option name Razoring Margin type spin default 300 min 150 max 600
option name Randomness type spin default 0 min 0 max 10
option name Minimum Split Depth type spin default 4 min 4 max 7
option name Maximum Number of Threads per Split Point type spin default 8 min 4 max 8
option name Threads type spin default 4 min 1 max 8
option name Hash type spin default 32 min 4 max 4096
option name Clear Hash type button
option name Ponder type check default true
option name OwnBook type check default true
option name MultiPV type spin default 1 min 1 max 500
option name UCI_ShowCurrLine type check default false
option name UCI_Chess960 type check default false
uciok
go depth 16
[1]    1603 segmentation fault  glaurung-universal
Guetti

Re: Any friendly Mac users out there?

Post by Guetti »

Here the Tiger vesion:

Code: Select all

orcabox:~/Downloads/mac-glaurung/tiger andreas% glaurung-ppc-64 
Glaurung 080513.  Copyright (C) 2004-2008 Tord Romstad.
uci
id name Glaurung 080513
id author Tord Romstad
option name Use Search Log type check default false
option name Search Log Filename type string default SearchLog.txt
option name Book File type string default book.bin
option name Mobility (Middle Game) type spin default 100 min 0 max 200
option name Mobility (Endgame) type spin default 100 min 0 max 200
option name Pawn Structure (Middle Game) type spin default 100 min 0 max 200
option name Pawn Structure (Endgame) type spin default 100 min 0 max 200
option name Passed Pawns (Middle Game) type spin default 100 min 0 max 200
option name Passed Pawns (Endgame) type spin default 100 min 0 max 200
option name Aggressiveness type spin default 100 min 0 max 200
option name Cowardice type spin default 100 min 0 max 200
option name King Safety Curve type combo default Quadratic var Quadratic var Linear var From File
option name King Safety Coefficient type spin default 40 min 1 max 100
option name King Safety X Intercept type spin default 0 min 0 max 20
option name King Safety Max Slope type spin default 30 min 10 max 100
option name King Safety Max Value type spin default 500 min 100 max 1000
option name Queen Contact Check Bonus type spin default 4 min 0 max 8
option name Rook Contact Check Bonus type spin default 2 min 0 max 4
option name Queen Check Bonus type spin default 2 min 0 max 4
option name Rook Check Bonus type spin default 1 min 0 max 4
option name Bishop Check Bonus type spin default 1 min 0 max 4
option name Knight Check Bonus type spin default 1 min 0 max 4
option name Discovered Check Bonus type spin default 3 min 0 max 8
option name Mate Threat Bonus type spin default 3 min 0 max 8
option name Check Extension (PV nodes) type spin default 2 min 0 max 2
option name Check Extension (non-PV nodes) type spin default 1 min 0 max 2
option name Single Reply Extension (PV nodes) type spin default 2 min 0 max 2
option name Single Reply Extension (non-PV nodes) type spin default 2 min 0 max 2
option name Mate Threat Extension (PV nodes) type spin default 0 min 0 max 2
option name Mate Threat Extension (non-PV nodes) type spin default 0 min 0 max 2
option name Pawn Push to 7th Extension (PV nodes) type spin default 1 min 0 max 2
option name Pawn Push to 7th Extension (non-PV nodes) type spin default 1 min 0 max 2
option name Passed Pawn Extension (PV nodes) type spin default 1 min 0 max 2
option name Passed Pawn Extension (non-PV nodes) type spin default 0 min 0 max 2
option name Pawn Endgame Extension (PV nodes) type spin default 2 min 0 max 2
option name Pawn Endgame Extension (non-PV nodes) type spin default 2 min 0 max 2
option name Full Depth Moves (PV nodes) type spin default 14 min 1 max 100
option name Full Depth Moves (non-PV nodes) type spin default 3 min 1 max 100
option name Threat Depth type spin default 5 min 0 max 100
option name Selective Plies type spin default 7 min 0 max 10
option name Futility Pruning (Main Search) type check default true
option name Futility Pruning (Quiescence Search) type check default true
option name Futility Margin 0 type spin default 50 min 0 max 1000
option name Futility Margin 1 type spin default 100 min 0 max 1000
option name Futility Margin 2 type spin default 300 min 0 max 1000
option name Maximum Razoring Depth type spin default 3 min 0 max 4
option name Razoring Margin type spin default 300 min 150 max 600
option name Randomness type spin default 0 min 0 max 10
option name Minimum Split Depth type spin default 4 min 4 max 7
option name Maximum Number of Threads per Split Point type spin default 8 min 4 max 8
option name Threads type spin default 1 min 1 max 8
option name Hash type spin default 32 min 4 max 4096
option name Clear Hash type button
option name Ponder type check default true
option name OwnBook type check default true
option name MultiPV type spin default 1 min 1 max 500
option name UCI_ShowCurrLine type check default false
option name UCI_Chess960 type check default false
uciok
setoption name Threads value 4
go depth 16
info depth 2
info depth 2 score cp 11 time 7 nodes 46 nps 6571 pv g1f3 g8f6 
info depth 3
info depth 3 score cp 54 time 8 nodes 200 nps 25000 pv g1f3 g8f6 b1c3 
info depth 4
info depth 4 score cp 11 time 9 nodes 396 nps 44000 pv g1f3 g8f6 b1c3 b8c6 
info depth 5
info depth 5 score cp 23 time 11 nodes 971 nps 88272 pv g1f3 g8f6 b1c3 b8c6 d2d3 
info depth 6
info depth 6 score cp 11 time 16 nodes 1849 nps 115562 pv g1f3 g8f6 b1c3 b8c6 d2d3 d7d6 
info depth 7
info depth 7 score cp 31 time 71 nodes 5180 nps 72957 pv g1f3 g8f6 b1c3 b8c6 e2e3 d7d6 f1d3 
info depth 8
info depth 8 score cp 47 time 109 nodes 11466 nps 105192 pv g1f3 g8f6 e2e3 b8c6 f1d3 c6b4 e1g1 b4d3 c2d3 
info depth 9
info depth 9 score cp 56 time 161 nodes 30515 nps 189534 pv g1f3 g8f6 e2e3 e7e6 f1d3 f8d6 b1c3 e8g8 e1g1 
info depth 10
info depth 10 score cp 11 time 219 nodes 46869 nps 214013 pv g1f3 g8f6 e2e3 e7e6 f1d3 f8d6 b1c3 e8g8 e1g1 b8c6 
info depth 11
info depth 11 score cp 7 time 325 nodes 112147 nps 345067 pv g1f3 g8f6 e2e3 e7e6 f1d3 f8d6 b1c3 e8g8 e1g1 b8c6 f3g5 
info depth 12
info depth 12 score cp 17 time 522 nodes 259734 nps 497574 pv g1f3 g8f6 e2e3 e7e6 f1d3 f8b4 a2a3 b4d6 b1c3 e8g8 e1g1 b8c6 
info depth 13
info depth 13 score cp 21 time 783 nodes 553591 nps 707012 pv g1f3 g8f6 e2e3 e7e6 b1c3 b8c6 f1b5 f8b4 e1g1 e8g8 d2d4 d7d5 c1d2 
info depth 14
info nodes 838581 nps 820555 time 1022 hashfull 31
info depth 14 score cp 19 time 1138 nodes 1054274 nps 926427 pv g1f3 g8f6 e2e3 e7e6 b1c3 b8c6 f1b5 f8b4 e1g1 e8g8 a2a3 b4d6 d2d4 f6g4 
info currmove e2e4 currmovenumber 2
info currmove g1h3 currmovenumber 3
info currmove d2d4 currmovenumber 4
info currmove e2e3 currmovenumber 5
info currmove d2d3 currmovenumber 6
info currmove b1a3 currmovenumber 7
info currmove c2c4 currmovenumber 8
info currmove b2b3 currmovenumber 9
info currmove g2g3 currmovenumber 10
info currmove b1c3 currmovenumber 11
info currmove h2h4 currmovenumber 12
info currmove g2g4 currmovenumber 13
info currmove a2a4 currmovenumber 14
info currmove b2b4 currmovenumber 15
info currmove h2h3 currmovenumber 16
info currmove c2c3 currmovenumber 17
info currmove a2a3 currmovenumber 18
info currmove f2f4 currmovenumber 19
info currmove f2f3 currmovenumber 20
info depth 15
info currmove g1f3 currmovenumber 1
info depth 15 score cp 21 time 1995 nodes 2096990 nps 1051122 pv g1f3 g8f6 e2e3 e7e6 b1c3 b8c6 f1b5 f8b4 e1g1 e8g8 a2a3 b4d6 d2d4 a7a6 b5d3 
info currmove e2e4 currmovenumber 2
info nodes 2203259 nps 1058252 time 2082 hashfull 73
info currmove d2d4 currmovenumber 3
info currmove e2e3 currmovenumber 4
info currmove g1h3 currmovenumber 5
info currmove b2b3 currmovenumber 6
info currmove b1a3 currmovenumber 7
info currmove h2h3 currmovenumber 8
info currmove a2a4 currmovenumber 9
info currmove f2f4 currmovenumber 10
info currmove d2d3 currmovenumber 11
info currmove g2g3 currmovenumber 12
info currmove c2c4 currmovenumber 13
info currmove h2h4 currmovenumber 14
info currmove b1c3 currmovenumber 15
info currmove g2g4 currmovenumber 16
info currmove a2a3 currmovenumber 17
info currmove b2b4 currmovenumber 18
info currmove c2c3 currmovenumber 19
info currmove f2f3 currmovenumber 20
info depth 16
info currmove g1f3 currmovenumber 1
info nodes 3592905 nps 1143517 time 3142 hashfull 119
info nodes 5596605 nps 1346983 time 4155 hashfull 173
info depth 16 score cp 17 time 4346 nodes 5949689 nps 1369003 pv g1f3 g8f6 e2e3 e7e6 d2d4 d7d5 b1c3 f8d6 f1d3 c8d7 c1d2 b8c6 e1g1 e8g8 f3g5 c6b4 
info currmove e2e4 currmovenumber 2
info nodes 7588927 nps 1463352 time 5186 hashfull 232
info nodes 9524354 nps 1538175 time 6192 hashfull 284
info nodes 11576348 nps 1602708 time 7222 hashfull 334
info nodes 13622224 nps 1645993 time 8275 hashfull 378
info nodes 15676218 nps 1688885 time 9282 hashfull 423
info nodes 17763552 nps 1721109 time 10321 hashfull 467
info depth 16 score cp 50 time 10456 nodes 18023968 nps 1723791 pv e2e4 b8c6 g1f3 g8f6 e4e5 f6d5 f1b5 e7e6 e1g1 f8e7 b1c3 d5c3 d2c3 e8g8 c1e3 a7a6 b5d3 
info currmove d2d4 currmovenumber 3
info currmove e2e3 currmovenumber 4
info currmove g1h3 currmovenumber 5
info currmove h2h3 currmovenumber 6
info currmove g2g3 currmovenumber 7
info currmove c2c4 currmovenumber 8
info currmove a2a4 currmovenumber 9
info currmove b1a3 currmovenumber 10
info currmove b2b3 currmovenumber 11
info currmove a2a3 currmovenumber 12
info currmove d2d3 currmovenumber 13
info currmove h2h4 currmovenumber 14
info currmove g2g4 currmovenumber 15
info currmove b1c3 currmovenumber 16
info currmove b2b4 currmovenumber 17
info currmove f2f4 currmovenumber 18
info currmove f2f3 currmovenumber 19
info currmove c2c3 currmovenumber 20
info nodes 18385517 nps 1689379 time 10883 hashfull 478
bestmove e2e4 ponder b8c6
Tord Romstad
Posts: 1808
Joined: Wed Mar 08, 2006 9:19 pm
Location: Oslo, Norway

Re: Any friendly Mac users out there?

Post by Tord Romstad »

Andreas,

Thanks for the information. I was able to reproduce the problem with the 32-bit PowerPC binary by running it in Rosetta on my Mac. I am not sure what was wrong, but it turns out that the problem disappears when I compile with the -g flag. Really weird.

I have updated the Leopard PowerPC binaries. I hope at least the 32-bit version should work now (I have no way to test the 64-bit binary, because Rosetta doesn't support 64-bit PowerPC programs).

The performance of the quad G4 is a little disappointing. It is slower than Roman's 2 GHz Core 2 Duo. :(

Tord
Guetti

Re: Any friendly Mac users out there?

Post by Guetti »

Tord Romstad wrote:Andreas,

Thanks for the information. I was able to reproduce the problem with the 32-bit PowerPC binary by running it in Rosetta on my Mac. I am not sure what was wrong, but it turns out that the problem disappears when I compile with the -g flag. Really weird.

I have updated the Leopard PowerPC binaries. I hope at least the 32-bit version should work now (I have no way to test the 64-bit binary, because Rosetta doesn't support 64-bit PowerPC programs).

The performance of the quad G4 is a little disappointing. It is slower than Roman's 2 GHz Core 2 Duo. :(

Tord
I usually compile glaurung with
CXXFLAGS = -O3 -DNDEBUG -funroll-loops -fomit-frame-pointer -fstrict-aliasing -fno-exceptions -fno-rtti -Wall -arch ppc64 -mtune=G5 -fast


Ok, all three (universal included) versions work now:

glaurung-ppc-32 (nps 1485873)
glaurung-ppc-64 (nps 1865006)

Code: Select all

orcabox:~/Chess/engines/glaurung2/mac-glaurung/leopard andreas% glaurung-universal
Glaurung 080513.  Copyright (C) 2004-2008 Tord Romstad.
uci
id name Glaurung 080513
id author Tord Romstad
option name Use Search Log type check default false
option name Search Log Filename type string default SearchLog.txt
option name Book File type string default book.bin
option name Mobility (Middle Game) type spin default 100 min 0 max 200
option name Mobility (Endgame) type spin default 100 min 0 max 200
option name Pawn Structure (Middle Game) type spin default 100 min 0 max 200
option name Pawn Structure (Endgame) type spin default 100 min 0 max 200
option name Passed Pawns (Middle Game) type spin default 100 min 0 max 200
option name Passed Pawns (Endgame) type spin default 100 min 0 max 200
option name Aggressiveness type spin default 100 min 0 max 200
option name Cowardice type spin default 100 min 0 max 200
option name King Safety Curve type combo default Quadratic var Quadratic var Linear var From File
option name King Safety Coefficient type spin default 40 min 1 max 100
option name King Safety X Intercept type spin default 0 min 0 max 20
option name King Safety Max Slope type spin default 30 min 10 max 100
option name King Safety Max Value type spin default 500 min 100 max 1000
option name Queen Contact Check Bonus type spin default 4 min 0 max 8
option name Rook Contact Check Bonus type spin default 2 min 0 max 4
option name Queen Check Bonus type spin default 2 min 0 max 4
option name Rook Check Bonus type spin default 1 min 0 max 4
option name Bishop Check Bonus type spin default 1 min 0 max 4
option name Knight Check Bonus type spin default 1 min 0 max 4
option name Discovered Check Bonus type spin default 3 min 0 max 8
option name Mate Threat Bonus type spin default 3 min 0 max 8
option name Check Extension (PV nodes) type spin default 2 min 0 max 2
option name Check Extension (non-PV nodes) type spin default 1 min 0 max 2
option name Single Reply Extension (PV nodes) type spin default 2 min 0 max 2
option name Single Reply Extension (non-PV nodes) type spin default 2 min 0 max 2
option name Mate Threat Extension (PV nodes) type spin default 0 min 0 max 2
option name Mate Threat Extension (non-PV nodes) type spin default 0 min 0 max 2
option name Pawn Push to 7th Extension (PV nodes) type spin default 1 min 0 max 2
option name Pawn Push to 7th Extension (non-PV nodes) type spin default 1 min 0 max 2
option name Passed Pawn Extension (PV nodes) type spin default 1 min 0 max 2
option name Passed Pawn Extension (non-PV nodes) type spin default 0 min 0 max 2
option name Pawn Endgame Extension (PV nodes) type spin default 2 min 0 max 2
option name Pawn Endgame Extension (non-PV nodes) type spin default 2 min 0 max 2
option name Full Depth Moves (PV nodes) type spin default 14 min 1 max 100
option name Full Depth Moves (non-PV nodes) type spin default 3 min 1 max 100
option name Threat Depth type spin default 5 min 0 max 100
option name Selective Plies type spin default 7 min 0 max 10
option name Futility Pruning (Main Search) type check default true
option name Futility Pruning (Quiescence Search) type check default true
option name Futility Margin 0 type spin default 50 min 0 max 1000
option name Futility Margin 1 type spin default 100 min 0 max 1000
option name Futility Margin 2 type spin default 300 min 0 max 1000
option name Maximum Razoring Depth type spin default 3 min 0 max 4
option name Razoring Margin type spin default 300 min 150 max 600
option name Randomness type spin default 0 min 0 max 10
option name Minimum Split Depth type spin default 4 min 4 max 7
option name Maximum Number of Threads per Split Point type spin default 8 min 4 max 8
option name Threads type spin default 4 min 1 max 8
option name Hash type spin default 32 min 4 max 4096
option name Clear Hash type button
option name Ponder type check default true
option name OwnBook type check default true
option name MultiPV type spin default 1 min 1 max 500
option name UCI_ShowCurrLine type check default false
option name UCI_Chess960 type check default false
uciok
go depth 18
info depth 2
info depth 2 score cp 11 time 7 nodes 46 nps 6571 pv g1f3 g8f6 
info depth 3
info depth 3 score cp 54 time 8 nodes 200 nps 25000 pv g1f3 g8f6 b1c3 
info depth 4
info depth 4 score cp 11 time 8 nodes 396 nps 49500 pv g1f3 g8f6 b1c3 b8c6 
info depth 5
info depth 5 score cp 23 time 11 nodes 971 nps 88272 pv g1f3 g8f6 b1c3 b8c6 d2d3 
info depth 6
info depth 6 score cp 11 time 15 nodes 1849 nps 123266 pv g1f3 g8f6 b1c3 b8c6 d2d3 d7d6 
info depth 7
info depth 7 score cp 31 time 108 nodes 5160 nps 47777 pv g1f3 g8f6 b1c3 b8c6 e2e3 d7d6 f1d3 
info depth 8
info depth 8 score cp 47 time 121 nodes 11376 nps 94016 pv g1f3 g8f6 e2e3 b8c6 f1d3 c6b4 e1g1 b4d3 c2d3 
info depth 9
info depth 9 score cp 56 time 206 nodes 29300 nps 142233 pv g1f3 g8f6 e2e3 e7e6 f1d3 f8d6 b1c3 e8g8 e1g1 
info depth 10
info depth 10 score cp 11 time 333 nodes 46911 nps 140873 pv g1f3 g8f6 e2e3 e7e6 f1d3 f8d6 b1c3 e8g8 e1g1 b8c6 
info depth 11
info depth 11 score cp 21 time 504 nodes 142761 nps 283255 pv g1f3 g8f6 d2d4 b8c6 b1c3 e7e6 e2e3 f8d6 f1d3 e8g8 e1g1 
info depth 12
info depth 12 score cp 15 time 749 nodes 354932 nps 473874 pv g1f3 g8f6 e2e3 e7e6 f1c4 d7d5 c4b5 c7c6 b5d3 f8d6 b1c3 e8g8 e1g1 
info depth 13
info nodes 664877 nps 628536 time 1058 hashfull 24
info depth 13 score cp 21 time 1136 nodes 764311 nps 672217 pv g1f3 g8f6 e2e3 e7e6 d2d4 d7d5 f1d3 f8d6 b1c3 e8g8 e1g1 b8c6 c1d2 
info currmove d2d4 currmovenumber 2
info currmove e2e4 currmovenumber 3
info currmove e2e3 currmovenumber 4
info currmove d2d3 currmovenumber 5
info currmove g1h3 currmovenumber 6
info currmove b1a3 currmovenumber 7
info currmove b2b3 currmovenumber 8
info currmove a2a3 currmovenumber 9
info currmove a2a4 currmovenumber 10
info currmove h2h3 currmovenumber 11
info currmove h2h4 currmovenumber 12
info currmove g2g3 currmovenumber 13
info currmove c2c4 currmovenumber 14
info currmove b2b4 currmovenumber 15
info currmove b1c3 currmovenumber 16
info currmove g2g4 currmovenumber 17
info currmove c2c3 currmovenumber 18
info currmove f2f4 currmovenumber 19
info currmove f2f3 currmovenumber 20
info depth 14
info currmove g1f3 currmovenumber 1
info depth 14 score cp 11 time 1852 nodes 1650068 nps 890965 pv g1f3 g8f6 e2e3 e7e6 d2d4 d7d5 f1d3 f8d6 b1c3 e8g8 e1g1 b8c6 c1d2 c8d7 
info currmove e2e4 currmovenumber 2
info nodes 2066171 nps 972324 time 2125 hashfull 73
info depth 14 score cp 13 time 3003 nodes 3798650 nps 1264951 pv e2e4 b8c6 b1c3 g8f6 g1f3 e7e5 f1c4 f8c5 e1g1 e8g8 d2d3 d7d6 c1e3 c5e3 f2e3 
info currmove d2d4 currmovenumber 3
info currmove e2e3 currmovenumber 4
info currmove g1h3 currmovenumber 5
info currmove d2d3 currmovenumber 6
info nodes 3978632 nps 1234072 time 3224 hashfull 135
info currmove c2c4 currmovenumber 7
info currmove g2g3 currmovenumber 8
info currmove b2b3 currmovenumber 9
info currmove b1a3 currmovenumber 10
info currmove h2h3 currmovenumber 11
info currmove b1c3 currmovenumber 12
info currmove h2h4 currmovenumber 13
info currmove g2g4 currmovenumber 14
info currmove a2a4 currmovenumber 15
info currmove b2b4 currmovenumber 16
info currmove f2f3 currmovenumber 17
info currmove c2c3 currmovenumber 18
info currmove f2f4 currmovenumber 19
info currmove a2a3 currmovenumber 20
info depth 15
info currmove e2e4 currmovenumber 1
info nodes 5260282 nps 1238616 time 4247 hashfull 172
info depth 15 score cp 41 time 5078 nodes 6937523 nps 1366192 pv e2e4 b8c6 d2d4 g8f6 e4e5 f6d5 g1f3 e7e6 f1c4 d5b6 c4d3 f8b4 c2c3 b4e7 e1g1 e8g8 
info currmove g1f3 currmovenumber 2
info currmove d2d4 currmovenumber 3
info currmove a2a4 currmovenumber 4
info currmove e2e3 currmovenumber 5
info currmove d2d3 currmovenumber 6
info currmove c2c4 currmovenumber 7
info currmove b1a3 currmovenumber 8
info nodes 7136793 nps 1343778 time 5311 hashfull 221
info currmove g1h3 currmovenumber 9
info currmove g2g3 currmovenumber 10
info currmove f2f4 currmovenumber 11
info currmove b2b3 currmovenumber 12
info currmove h2h3 currmovenumber 13
info currmove a2a3 currmovenumber 14
info currmove h2h4 currmovenumber 15
info currmove b1c3 currmovenumber 16
info currmove g2g4 currmovenumber 17
info currmove b2b4 currmovenumber 18
info currmove f2f3 currmovenumber 19
info currmove c2c3 currmovenumber 20
info depth 16
info currmove e2e4 currmovenumber 1
info nodes 8466418 nps 1332248 time 6355 hashfull 248
info depth 16 score cp 27 time 7184 nodes 10217942 nps 1422319 pv e2e4 b8c6 d2d4 g8f6 e4e5 f6d5 g1f3 e7e6 f1d3 f8e7 e1g1 e8g8 b1c3 d5c3 b2c3 d7d5 e5d6 d8d6 
info currmove g1f3 currmovenumber 2
info nodes 10480881 nps 1420587 time 7378 hashfull 291
info currmove d2d4 currmovenumber 3
info currmove e2e3 currmovenumber 4
info currmove g1h3 currmovenumber 5
info currmove g2g3 currmovenumber 6
info currmove d2d3 currmovenumber 7
info currmove b1a3 currmovenumber 8
info currmove b2b3 currmovenumber 9
info currmove c2c4 currmovenumber 10
info currmove h2h3 currmovenumber 11
info currmove a2a3 currmovenumber 12
info currmove h2h4 currmovenumber 13
info currmove a2a4 currmovenumber 14
info currmove b1c3 currmovenumber 15
info currmove g2g4 currmovenumber 16
info currmove f2f4 currmovenumber 17
info currmove f2f3 currmovenumber 18
info currmove b2b4 currmovenumber 19
info currmove c2c3 currmovenumber 20
info nodes 11452215 nps 1365309 time 8387 hashfull 314
info depth 17
info currmove e2e4 currmovenumber 1
info nodes 13371061 nps 1420201 time 9415 hashfull 347
info nodes 15518877 nps 1488338 time 10427 hashfull 385
info nodes 17705622 nps 1548238 time 11436 hashfull 426
info nodes 19893258 nps 1597725 time 12451 hashfull 467
info nodes 21975558 nps 1633147 time 13455 hashfull 505
info depth 17 score cp 41 time 13723 nodes 22518809 nps 1640953 pv e2e4 b8c6 d2d4 g8f6 e4e5 f6d5 g1f3 e7e6 f1c4 f8b4 c1d2 e8g8 c4d5 b4d2 d1d2 e6d5 b1c3 d7d6 e1g1 d6e5 f3e5 c6e5 d4e5 
info currmove g1f3 currmovenumber 2
info currmove d2d4 currmovenumber 3
info currmove c2c4 currmovenumber 4
info currmove e2e3 currmovenumber 5
info currmove d2d3 currmovenumber 6
info currmove g1h3 currmovenumber 7
info currmove g2g3 currmovenumber 8
info nodes 23593110 nps 1627337 time 14497 hashfull 529
info currmove b1a3 currmovenumber 9
info currmove h2h3 currmovenumber 10
info currmove b2b3 currmovenumber 11
info currmove h2h4 currmovenumber 12
info currmove b1c3 currmovenumber 13
info currmove a2a3 currmovenumber 14
info currmove g2g4 currmovenumber 15
info currmove a2a4 currmovenumber 16
info currmove f2f3 currmovenumber 17
info currmove b2b4 currmovenumber 18
info currmove f2f4 currmovenumber 19
info currmove c2c3 currmovenumber 20
info depth 18
info currmove e2e4 currmovenumber 1
info nodes 24956881 nps 1606495 time 15535 hashfull 547
info nodes 27139385 nps 1637271 time 16576 hashfull 575
info nodes 29394817 nps 1667508 time 17628 hashfull 603
info nodes 31568058 nps 1693112 time 18645 hashfull 630
info nodes 33773939 nps 1714854 time 19695 hashfull 655
info nodes 35828680 nps 1730191 time 20708 hashfull 673
info nodes 37998372 nps 1746172 time 21761 hashfull 695
info nodes 40270497 nps 1765017 time 22815 hashfull 716
info nodes 42516892 nps 1782833 time 23848 hashfull 739
info nodes 44715301 nps 1799196 time 24853 hashfull 757
info nodes 46971590 nps 1814490 time 25887 hashfull 774
info nodes 49227365 nps 1828454 time 26923 hashfull 791
info nodes 51501282 nps 1841308 time 27970 hashfull 807
info nodes 53682033 nps 1852578 time 28976 hashfull 820
info nodes 55844088 nps 1862342 time 29986 hashfull 834
info nodes 58073916 nps 1871966 time 31022 hashfull 846
info nodes 60268117 nps 1880150 time 32055 hashfull 857
info nodes 62537824 nps 1888849 time 33109 hashfull 868
info nodes 64721899 nps 1897004 time 34117 hashfull 879
info nodes 66846070 nps 1903199 time 35123 hashfull 888
info nodes 69056197 nps 1909162 time 36170 hashfull 897
info nodes 71272116 nps 1915199 time 37214 hashfull 904
info nodes 73477844 nps 1920289 time 38264 hashfull 911
info nodes 75574143 nps 1923594 time 39288 hashfull 918
info nodes 77718233 nps 1927966 time 40311 hashfull 923
info nodes 79894909 nps 1932116 time 41351 hashfull 929
info depth 18 score cp 52 time 41898 nodes 80920186 nps 1931361 pv e2e4 b8c6 d2d4 g8f6 e4e5 f6d5 g1f3 e7e6 f1b5 f8e7 c2c4 d5b6 e1g1 e8g8 b1c3 a7a6 b5c6 d7c6 d1d3 
info currmove g1f3 currmovenumber 2
info nodes 81789543 nps 1929044 time 42399 hashfull 933
info currmove d2d4 currmovenumber 3
info currmove e2e3 currmovenumber 4
info currmove d2d3 currmovenumber 5
info currmove g1h3 currmovenumber 6
info nodes 83484830 nps 1919765 time 43487 hashfull 937
info currmove b2b3 currmovenumber 7
info currmove g2g3 currmovenumber 8
info currmove b1a3 currmovenumber 9
info currmove a2a3 currmovenumber 10
info currmove c2c4 currmovenumber 11
info currmove b1c3 currmovenumber 12
info currmove h2h3 currmovenumber 13
info currmove h2h4 currmovenumber 14
info currmove g2g4 currmovenumber 15
info currmove f2f4 currmovenumber 16
info currmove a2a4 currmovenumber 17
info currmove c2c3 currmovenumber 18
info currmove f2f3 currmovenumber 19
info currmove b2b4 currmovenumber 20
info nodes 84155384 nps 1900699 time 44276 hashfull 939
bestmove e2e4 ponder b8c6
krazyken

Re: Any friendly Mac users out there?

Post by krazyken »

I can confirm the new batch working on Leopard on my MacPro and Mac G5

Initial testing results indicate that Glaurung is the strongest chess app available for 8-core MacPro

some early results:
Match Glaurung 080430 vs. HIARCS 11.2 MP: final score 39-18-43
Match Glaurung 080430 vs. Deep Shredder 11 UCI: final score 6-2-2

Looks like the 080513 is performing stronger yet.
Tord Romstad
Posts: 1808
Joined: Wed Mar 08, 2006 9:19 pm
Location: Oslo, Norway

Re: Any friendly Mac users out there?

Post by Tord Romstad »

krazyken wrote:I can confirm the new batch working on Leopard on my MacPro and Mac G5
Great! Then all that remains is to find out whether the Tiger binaries work.
Initial testing results indicate that Glaurung is the strongest chess app available for 8-core MacPro
In general, I don't care much about how my program performs relatively to other programs, but in this particular case, I hope you are right, because it might force Mark to release Hiarcs 12 for Mac OS X.
:D
some early results:
Match Glaurung 080430 vs. HIARCS 11.2 MP: final score 39-18-43
Match Glaurung 080430 vs. Deep Shredder 11 UCI: final score 6-2-2
That's a lot better than the last results you sent me (I've received and read all your e-mails, but haven't finished digesting them yet). Have you found some further improvements in the MP related parameters since your last e-mail? Reply by mail, please -- the discussion probably has little public interest.
Looks like the 080513 is performing stronger yet.
I don't think so. They should be practically the same; I have made very few changes in the code since 080430.

Tord
User avatar
Zach Wegner
Posts: 1922
Joined: Thu Mar 09, 2006 12:51 am
Location: Earth

Re: Any friendly Mac users out there?

Post by Zach Wegner »

My Mac got fried somehow when I got my new computer, so I can't test it, sorry. But I do have to say that this:
Tord Romstad wrote:To save myself from the embarassment of releasing something that doesn't work at all
is quite nice if you can do it. :lol: