[Pachi] are threads supported for OS X?

jonathan chetwynd j.chetwynd at btconnect.com
Tue May 24 12:23:04 CEST 2011


Intel Core 2 Duo

are threads supported for OS X?

twice as quick, but does it play as well?
my initial impression was maybe not, 

please confirm.

best

Jonathan

game records available, 6 stone handicap

$ ./pachi
Random seed: 1306199091
genmove black
IN: genmove black
Fresh board with random seed 1306199091
[10000] best 0.560965 | seq  G7  E7  F5  D6 | can  G7(0.561)  E7(0.541)  F8(0.556)  G8(0.554) 
[20000] best 0.552240 | seq  G7  E6  E3  F3 | can  G7(0.552)  E7(0.554)  F8(0.556)  G8(0.554) 
[30000] best 0.550765 | seq  E7  F5  H5  G4 | can  E7(0.551)  G7(0.551)  E5(0.581)  F8(0.556) 
[40000] best 0.581249 | seq  E5  F7  D3  C7 | can  E5(0.581)  E7(0.551)  G7(0.551)  F8(0.556) 
[50000] best 0.580196 | seq  E5  F7  D3  C7 | can  E5(0.580)  E7(0.551)  G7(0.551)  F8(0.556) 
[60000] best 0.579885 | seq  E5  E7  G7  D4 | can  E5(0.580)  E7(0.551)  G7(0.551)  F8(0.556) 
[70000] best 0.582669 | seq  E5  E7  G7  D4 | can  E5(0.583)  E7(0.551)  G7(0.551)  F8(0.556) 
[80000] best 0.581626 | seq  E5  E7  G7  D4 | can  E5(0.582)  E7(0.551)  G7(0.551)  F8(0.556) 
(UCT tree; root white; extra komi 0.000000; max depth 15)
[pass] 0.572/80001 [prior 0.000/0 amaf 0.000/0 crit -0.428] h=0 c#=16 <f4240>
 [E5] 0.582/55655 [prior 0.500/14 amaf 0.578/67254 crit 0.127] h=0 c#=15 <f4244>
  [E7] 0.581/28666 [prior 0.250/28 amaf 0.579/44058 crit 0.126] h=0 c#=44 <18ed84>
   [G7] 0.586/19469 [prior 0.750/28 amaf 0.587/24070 crit 0.105] h=0 c#=79 <19dfd4>
    [D4] 0.585/8291 [prior 0.500/14 amaf 0.577/12371 crit 0.111] h=0 c#=78 <1f3780>
     [D5] 0.599/4984 [prior 0.875/56 amaf 0.601/6335 crit 0.150] h=0 c#=77 <244325>
      [C5] 0.589/1703 [prior 0.125/56 amaf 0.575/3105 crit 0.098] h=0 c#=76 <244372>
     [C6] 0.588/1638 [prior 0.750/28 amaf 0.595/5061 crit 0.146] h=0 c#=77 <24432c>
    [D5] 0.579/4245 [prior 0.500/14 amaf 0.567/8953 crit 0.120] h=0 c#=78 <1f3789>
     [D4] 0.596/2305 [prior 0.875/56 amaf 0.595/3160 crit 0.145] h=0 c#=77 <252234>
      [E4] 0.578/1192 [prior 0.125/56 amaf 0.580/1660 crit 0.133] h=0 c#=76 <2522d0>
   [F7] 0.573/1627 [prior 0.833/42 amaf 0.586/14133 crit 0.108] h=0 c#=79 <19dfd3>
   [F6] 0.573/1402 [prior 0.750/28 amaf 0.596/14207 crit 0.128] h=0 c#=79 <19dfcf>
   [F3] 0.580/1279 [prior 0.500/14 amaf 0.596/14577 crit 0.112] h=0 c#=79 <19dfc1>
   [G8] 0.585/1237 [prior 0.750/28 amaf 0.591/16734 crit 0.104] h=0 c#=79 <19dfd9>
  [F7] 0.580/24883 [prior 0.250/28 amaf 0.579/40314 crit 0.099] h=0 c#=80 <18ed85>
   [D3] 0.584/8323 [prior 0.500/14 amaf 0.590/16069 crit 0.092] h=0 c#=79 <19e1b0>
    [C7] 0.567/4618 [prior 0.500/14 amaf 0.571/6332 crit 0.071] h=0 c#=78 <1d7f07>
     [H3] 0.581/1035 [prior 0.500/14 amaf 0.594/2700 crit 0.087] h=0 c#=77 <1e9d29>
   [H4] 0.574/4408 [prior 0.500/14 amaf 0.589/14518 crit 0.103] h=0 c#=79 <19e1bd>
    [C5] 0.533/1117 [prior 0.500/14 amaf 0.543/2468 crit 0.129] h=0 c#=78 <2d7019>
   [G5] 0.596/2822 [prior 0.750/28 amaf 0.593/14389 crit 0.104] h=0 c#=79 <19e1c4>
   [C5] 0.592/1899 [prior 0.500/14 amaf 0.595/12911 crit 0.107] h=0 c#=79 <19e1c1>
   [E8] 0.581/1426 [prior 0.750/28 amaf 0.593/12181 crit 0.101] h=0 c#=79 <19e1dc>
   [E2] 0.588/1066 [prior 0.500/14 amaf 0.591/13227 crit 0.121] h=0 c#=79 <19e1a8>
 [E7] 0.551/11615 [prior 0.750/28 amaf 0.570/27399 crit 0.113] h=0 c#=45 <f4247>
  [F5] 0.544/6019 [prior 0.250/28 amaf 0.544/8791 crit 0.131] h=0 c#=80 <f4269>
  [F4] 0.539/1663 [prior 0.500/14 amaf 0.542/6870 crit 0.112] h=0 c#=80 <f4264>
  [G7] 0.550/1386 [prior 0.250/28 amaf 0.533/6270 crit 0.094] h=0 c#=80 <f4273>
 [G7] 0.551/11243 [prior 0.750/28 amaf 0.578/51577 crit 0.099] h=0 c#=45 <f4249>
  [E6] 0.536/4530 [prior 0.250/28 amaf 0.540/7677 crit 0.145] h=0 c#=80 <f4335>
  [E7] 0.545/1838 [prior 0.250/28 amaf 0.547/7123 crit 0.127] h=0 c#=80 <f433b>
  [D7] 0.552/1533 [prior 0.167/42 amaf 0.543/6527 crit 0.109] h=0 c#=80 <f433a>
(avg score 0.000000/0 value 0.000000/0)
[80001] best 0.581626 | seq  E5  E7  G7  D4 | can  E5(0.582)  E7(0.551)  G7(0.551)  F8(0.556) 
*** WINNER is E5 (5,5) with score 0.5816 (55655/80001:80001/80001 games), extra komi 0.000000
genmove in 14.02s (5706 games/s, 5706 games/s/thread)
tree pruned in 0.0670302 s, prev 0 s ago, dest depth 12 wanted 6, size 203965520->27036944/295279001, playouts 55655
playing move E5
Move:   1  Komi: 0.0  Handicap: 0  Captures B: 0 W: 0
      A B C D E F G H J        A B C D E F G H J  
    +-------------------+    +-------------------+
  9 | . . . . . . . . . |  9 | , , , , , , , , , |
  8 | . . . . . . . . . |  8 | , , , , , , , , , |
  7 | . . . . . . . . . |  7 | , , , , , , , , , |
  6 | . . . . . . . . . |  6 | , , , , , , , , , |
  5 | . . . . X). . . . |  5 | , , , , x , , , , |
  4 | . . . . . . . . . |  4 | , , , , , , , , , |
  3 | . . . . . . . . . |  3 | , , , , , , , , , |
  2 | . . . . . . . . . |  2 | , , , , , , , , , |
  1 | . . . . . . . . . |  1 | , , , , , , , , , |
    +-------------------+    +-------------------+

= E5

$ ./pachi threads=2
Random seed: 1306139195
genmove black
IN: genmove black
Fresh board with random seed 1306139195
[20000] best 0.602205 | seq  E5  F6  E6  E7 | can  E5(0.602)  E7(0.580)  F7(0.560)  F6(0.514) 
[40000] best 0.591240 | seq  E5  F7  G6  G7 | can  E5(0.591)  F7(0.571)  E7(0.580)  G7(0.526) 
[60000] best 0.589863 | seq  E5  F7  G6  G7 | can  E5(0.590)  F7(0.570)  E7(0.571)  E8(0.555) 
[80000] best 0.590543 | seq  E5  F7  G6  G7 | can  E5(0.591)  F7(0.569)  E7(0.568)  E8(0.554) 
(UCT tree; root white; extra komi 0.000000; max depth 17)
[pass] 0.589/80002 [prior 0.000/0 amaf 0.000/0 crit -0.411] h=0 c#=16 <f4240>
 [E5] 0.591/75551 [prior 0.500/14 amaf 0.590/77673 crit 0.127] h=0 c#=15 <f4244>
  [F7] 0.586/57661 [prior 0.250/28 amaf 0.586/66447 crit 0.101] h=0 c#=80 <f4a7b>
   [G6] 0.590/27917 [prior 0.750/28 amaf 0.590/41154 crit 0.116] h=0 c#=79 <106ec5>
    [G7] 0.583/17976 [prior 0.125/56 amaf 0.582/22416 crit 0.098] h=0 c#=78 <1cfc61>
     [F6] 0.589/9800 [prior 0.875/56 amaf 0.591/13708 crit 0.128] h=0 c#=77 <1cfca8>
      [D7] 0.572/4302 [prior 0.250/28 amaf 0.576/7143 crit 0.066] h=0 c#=76 <1cfe29>
       [H7] 0.590/1280 [prior 0.833/42 amaf 0.598/2460 crit 0.108] h=0 c#=75 <24b95c>
      [H6] 0.591/1604 [prior 0.125/56 amaf 0.563/4888 crit 0.088] h=0 c#=76 <1cfe24>
      [E7] 0.600/1009 [prior 0.167/42 amaf 0.572/5361 crit 0.093] h=0 c#=76 <1cfe2a>
     [H5] 0.592/1611 [prior 0.750/28 amaf 0.604/10419 crit 0.135] h=0 c#=77 <1cfca1>
    [D5] 0.578/1395 [prior 0.500/14 amaf 0.578/12198 crit 0.123] h=0 c#=78 <1cfc4f>
     [D4] 0.609/1008 [prior 0.875/56 amaf 0.603/1164 crit 0.164] h=0 c#=77 <1e3c76>
    [G3] 0.583/1385 [prior 0.250/28 amaf 0.576/14601 crit 0.103] h=0 c#=78 <1cfc40>
   [E7] 0.596/13790 [prior 0.833/42 amaf 0.596/31323 crit 0.109] h=0 c#=79 <106ecc>
    [E8] 0.588/6693 [prior 0.125/56 amaf 0.587/10098 crit 0.094] h=0 c#=78 <106f23>
     [F6] 0.598/4953 [prior 0.833/42 amaf 0.598/5801 crit 0.113] h=0 c#=77 <106f63>
      [G7] 0.586/2110 [prior 0.143/49 amaf 0.579/3280 crit 0.074] h=0 c#=76 <109732>
      [D7] 0.590/1320 [prior 0.125/56 amaf 0.573/3079 crit 0.089] h=0 c#=76 <109731>
    [F6] 0.598/4833 [prior 0.167/42 amaf 0.588/6783 crit 0.130] h=0 c#=78 <106f14>
     [E6] 0.622/2923 [prior 0.875/56 amaf 0.618/3834 crit 0.123] h=0 c#=77 <107096>
   [C3] 0.574/5838 [prior 0.500/14 amaf 0.603/30683 crit 0.088] h=0 c#=79 <106ea7>
    [F3] 0.554/4103 [prior 0.250/28 amaf 0.562/4931 crit 0.140] h=0 c#=78 <17873d>
     [G4] 0.578/1079 [prior 0.750/28 amaf 0.571/2471 crit 0.159] h=0 c#=77 <181173>
     [F4] 0.566/1037 [prior 0.833/42 amaf 0.576/2415 crit 0.126] h=0 c#=77 <181172>
   [C6] 0.584/1589 [prior 0.500/14 amaf 0.601/28780 crit 0.120] h=0 c#=79 <106ec1>
   [E2] 0.574/1263 [prior 0.500/14 amaf 0.603/28986 crit 0.111] h=0 c#=79 <106ea0>
   [C4] 0.590/1130 [prior 0.500/14 amaf 0.599/28685 crit 0.084] h=0 c#=79 <106eb0>
  [F6] 0.602/9891 [prior 0.250/28 amaf 0.585/35714 crit 0.114] h=0 c#=44 <f4a79>
   [E6] 0.608/8638 [prior 0.875/56 amaf 0.607/9228 crit 0.130] h=0 c#=79 <f4d8c>
    [E7] 0.605/5494 [prior 0.125/56 amaf 0.600/6797 crit 0.101] h=0 c#=78 <f61c0>
     [D7] 0.636/3381 [prior 0.875/56 amaf 0.620/4462 crit 0.119] h=0 c#=77 <f65f7>
      [F5] 0.616/1338 [prior 0.167/42 amaf 0.615/2017 crit 0.133] h=0 c#=76 <f79ba>
  [E6] 0.609/7243 [prior 0.167/42 amaf 0.582/32775 crit 0.116] h=0 c#=44 <f4a78>
   [F6] 0.624/4803 [prior 0.875/56 amaf 0.621/5963 crit 0.136] h=0 c#=79 <f4a9f>
    [D6] 0.609/1523 [prior 0.143/49 amaf 0.608/2877 crit 0.134] h=0 c#=78 <f4ae2>
    [E7] 0.613/1114 [prior 0.143/49 amaf 0.607/2638 crit 0.115] h=0 c#=78 <f4aea>
   [F5] 0.597/1288 [prior 0.833/42 amaf 0.616/4252 crit 0.143] h=0 c#=79 <f4a9b>
 [F7] 0.569/1730 [prior 0.750/28 amaf 0.605/12039 crit 0.114] h=0 c#=81 <f4248>
 [E7] 0.568/1011 [prior 0.750/28 amaf 0.598/39868 crit 0.125] h=0 c#=45 <f4247>
(avg score 0.000000/0 value 0.000000/0)
[80002] best 0.590543 | seq  E5  F7  G6  G7 | can  E5(0.591)  F7(0.569)  E7(0.568)  E8(0.554) 
*** WINNER is E5 (5,5) with score 0.5905 (75551/80002:80002/80002 games), extra komi 0.000000
genmove in 7.23s (11058 games/s, 5529 games/s/thread)
tree pruned in 0.0563922 s, prev 0 s ago, dest depth 12 wanted 6, size 199959056->22264440/295279001, playouts 75551
playing move E5
Move:   1  Komi: 0.0  Handicap: 0  Captures B: 0 W: 0
      A B C D E F G H J        A B C D E F G H J  
    +-------------------+    +-------------------+
  9 | . . . . . . . . . |  9 | , , , , , , , , , |
  8 | . . . . . . . . . |  8 | , , , , , , , , , |
  7 | . . . . . . . . . |  7 | , , , , , , , , , |
  6 | . . . . . . . . . |  6 | , , , , , , , , , |
  5 | . . . . X). . . . |  5 | , , , , X , , , , |
  4 | . . . . . . . . . |  4 | , , , , , , , , , |
  3 | . . . . . . . . . |  3 | , , , , , , , , , |
  2 | . . . . . . . . . |  2 | , , , , , , , , , |
  1 | . . . . . . . . . |  1 | , , , , , , , , , |
    +-------------------+    +-------------------+

= E5






More information about the Pachi mailing list