Discussion of anything and everything relating to chess playing software and machines.
Moderators: hgm , Rebel , chrisw
bob
Posts: 20943 Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL
Post
by bob » Thu Jun 12, 2014 7:24 pm
Norbert Raimund Leisner wrote: Hello Dani,
I had the intention to make a 40/20 min-match between Andscacs 0.64-32 and Crafty 24.0 win32 under WinBoard-GUI 4.7.3a
http://www.open-aurec.com/wbforum/viewt ... 19&t=51528
Both engines can be embedded into this interface of course, but before Crafty 24.0 executes its first move, a Windows XP message is visible:
crafty 24.exe-error in application
The command in "0x0045747b" allocates to the storage in "0x92c40be0". The procedure "read" could not be executed from the storage"
Click on "OK", to finish the program.
Astonishing:
Just a double mouse-click on the Crafty 24.0 executable file shows normally a window with an inscript like other Crafty versions before:
unable to open book file [books\bin]
book is disabled
unable to open book file [books\bin]
Initializing multiple threads
System is SMP, not NUMA
Crafty v24.0 <1 cpus>
White <1> _
Best wishes,
Norbert
The changes he gave are puzzling, because Crafty compiles perfectly as a 64 bit application using MSVC. Yet Peter could not get it to compile when trying to produce a 32 bit executable. The changes given likely break something else although allowing it to compile cleanly..
Since he said he removed all includes, that will make it run slower also since the inline.h file has a faster LSB/MSB/PopCnt implementation using inline asm.
Sylwy
Posts: 4465 Joined: Fri Apr 21, 2006 4:19 pm
Location: IASI - the historical capital of MOLDOVA
Full name: SilvianR
Post
by Sylwy » Thu Jun 12, 2014 9:51 pm
Works perfectly in my old Windows XP !
THANK YOU a lot, Maestro Daniel !
Already in tests !
Silvian R
Modern Times
Posts: 3546 Joined: Thu Jun 07, 2012 11:02 pm
Post
by Modern Times » Thu Jun 12, 2014 10:39 pm
Lucky you
An X64 compile that works on AMD Phenom II X6 1100T would be nice, I don't think Peter has solved that yet.
cdani
Posts: 2204 Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra
Post
by cdani » Thu Jun 12, 2014 11:17 pm
Hi again.
I have done a x64 compile with exactly the same configuration and changes thant the x32, so maybe you are lucky and it works on your AMD Phenom II X6.
http://www.andscacs.com/crafty24_x64.rar
Good luck!
Modern Times
Posts: 3546 Joined: Thu Jun 07, 2012 11:02 pm
Post
by Modern Times » Fri Jun 13, 2014 12:23 am
cdani wrote: Hi again.
I have done a x64 compile with exactly the same configuration and changes thant the x32, so maybe you are lucky and it works on your AMD Phenom II X6.
http://www.andscacs.com/crafty24_x64.rar
Good luck!
Indeed it does work, thanks !
cdani
Posts: 2204 Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra
Post
by cdani » Fri Jun 13, 2014 12:29 am
Modern Times wrote: Indeed it does work, thanks !
May the problem with the other compile it was related to the vc++ runtime library, that in my compile it's inside.
Sylwy
Posts: 4465 Joined: Fri Apr 21, 2006 4:19 pm
Location: IASI - the historical capital of MOLDOVA
Full name: SilvianR
Post
by Sylwy » Sat Jun 14, 2014 8:48 pm
Silvian R
Jesse Gersenson
Posts: 593 Joined: Sat Aug 20, 2011 9:43 am
Post
by Jesse Gersenson » Sat Jun 14, 2014 10:50 pm
Compiled fine on my 64-bit linux box. Thanks.
Was using the annotate command. Are the dollar signs eval symbols? Here is a snippet from 'test.pgn.can'
Code: Select all
56. Kh5 Ke6
57. Kh6 Kf5
58. Bd4 Rg6+
59. Kh5
({21:-7.22} 59. Kh5 Rd6 60. Bc5 Rd5 61. Bf8 Rd8 62. Bg7 Rd1 63. Kh4 Rh1+ 64. Kg3 Rg1+ 65. Kf3 Rxg7 66. Ke3 Rg1 67. Kd4 Ra1 68. Kd5 Rb1 69. Kd6 Rd1+ 70. Kc5 Rc1+ 71. Kd6 $19)
({21:+0.00} 59. Kh7 $10)
Unrelated to the new release, just today I downloaded Crafty 23.4 from here:
http://craftychess.com/
and got the following output during compile:
Code: Select all
~/Downloads/chess/crafty-23.4$ make linux-64
make target=LINUX \
CC=icc CXX=icc \
CFLAGS='-w -xP -O2 -fno-alias -prof-use -prof_dir ./profdir' \
CXFLAGS='-w -xP -O2 -prof-use -prof-dir ./profdir' \
LDFLAGS=' -lpthread -lstdc++' \
opt=' -DINLINE64 -DCPUS=2' \
crafty-make
make[1]: Entering directory `/home/jesse/Downloads/chess/crafty-23.4'
make[2]: Entering directory `/home/jesse/Downloads/chess/crafty-23.4'
icc -w -xP -O2 -fno-alias -prof-use -prof_dir ./profdir -DINLINE64 -DCPUS=2 -DLINUX -c crafty.c
make[2]: icc: Command not found
make[2]: *** [crafty.o] Error 127
make[2]: Leaving directory `/home/jesse/Downloads/chess/crafty-23.4'
make[1]: *** [crafty-make] Error 2
make[1]: Leaving directory `/home/jesse/Downloads/chess/crafty-23.4'
make: *** [linux-64] Error 2
perhaps useful for debugging:
Code: Select all
~/Downloads/chess/crafty-24.0$ icc
No command 'icc' found, but there are 25 similar ones
icc: command not found
bob
Posts: 20943 Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL
Post
by bob » Sat Jun 14, 2014 11:37 pm
Jesse Gersenson wrote: Compiled fine on my 64-bit linux box. Thanks.
Was using the annotate command. Are the dollar signs eval symbols? Here is a snippet from 'test.pgn.can'
Code: Select all
56. Kh5 Ke6
57. Kh6 Kf5
58. Bd4 Rg6+
59. Kh5
({21:-7.22} 59. Kh5 Rd6 60. Bc5 Rd5 61. Bf8 Rd8 62. Bg7 Rd1 63. Kh4 Rh1+ 64. Kg3 Rg1+ 65. Kf3 Rxg7 66. Ke3 Rg1 67. Kd4 Ra1 68. Kd5 Rb1 69. Kd6 Rd1+ 70. Kc5 Rc1+ 71. Kd6 $19)
({21:+0.00} 59. Kh7 $10)
Unrelated to the new release, just today I downloaded Crafty 23.4 from here:
http://craftychess.com/
and got the following output during compile:
Code: Select all
~/Downloads/chess/crafty-23.4$ make linux-64
make target=LINUX \
CC=icc CXX=icc \
CFLAGS='-w -xP -O2 -fno-alias -prof-use -prof_dir ./profdir' \
CXFLAGS='-w -xP -O2 -prof-use -prof-dir ./profdir' \
LDFLAGS=' -lpthread -lstdc++' \
opt=' -DINLINE64 -DCPUS=2' \
crafty-make
make[1]: Entering directory `/home/jesse/Downloads/chess/crafty-23.4'
make[2]: Entering directory `/home/jesse/Downloads/chess/crafty-23.4'
icc -w -xP -O2 -fno-alias -prof-use -prof_dir ./profdir -DINLINE64 -DCPUS=2 -DLINUX -c crafty.c
make[2]: icc: Command not found
make[2]: *** [crafty.o] Error 127
make[2]: Leaving directory `/home/jesse/Downloads/chess/crafty-23.4'
make[1]: *** [crafty-make] Error 2
make[1]: Leaving directory `/home/jesse/Downloads/chess/crafty-23.4'
make: *** [linux-64] Error 2
perhaps useful for debugging:
Code: Select all
~/Downloads/chess/crafty-24.0$ icc
No command 'icc' found, but there are 25 similar ones
icc: command not found
need to change the Makefile. I used icc for years, since it is free for Linux, but it is not free for Mac os x, so I have been using gcc...