Crafty 25.0 Release

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

Moderator: Ras

User avatar
Werner
Posts: 2990
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Crafty 25.0 Release

Post by Werner »

Can anybody please help with an ..exe , please
Thanks!
Werner
Dann Corbit
Posts: 12790
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Crafty 25.0 Release

Post by Dann Corbit »

I will deliver one on Monday.
P.S.
It cannot be built with visual studio.
The EGTB code that gets created is invalid.
It has to be built with gcc.
The supplied makefile does not work, and it takes a lot of fiddling to make a good one.
I could do it again from here, but I am too lazy for that.

I am sure someone else can make one.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
User avatar
velmarin
Posts: 1600
Joined: Mon Feb 21, 2011 9:48 am

Re: Crafty 25.0 Release

Post by velmarin »

Dann Corbit wrote:I will deliver one on Monday.
P.S.
It cannot be built with visual studio.
The EGTB code that gets created is invalid.
It has to be built with gcc.
The supplied makefile does not work, and it takes a lot of fiddling to make a good one.
I could do it again from here, but I am too lazy for that.
I am sure someone else can make one.
Hi, Dann and all, built with Intel compiler.
I am not familiar with the crafty code.
Defined CPUS how 8
POPCNT defined how on and off.
Nalimov EGTB I not have on my computer, I have not tried.
Define smpmt = x(número de cores) in crafty.rc (I think that it is the case)
Added Wb2Uci of crafty24.
Linked statically.
The three executables work on my system.
Waiting for some official relase, they have to play a little.
Merry Christmas.

http://www.mediafire.com/download/d4pkq ... ty-25.0.7z
Dann Corbit
Posts: 12790
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Crafty 25.0 Release

Post by Dann Corbit »

I did not test the EGTB access yet, but all three binaries run fine for me.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
User avatar
cdani
Posts: 2204
Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra

Re: Crafty 25.0 Release

Post by cdani »

velmarin wrote:
Dann Corbit wrote:I will deliver one on Monday.
P.S.
It cannot be built with visual studio.
The EGTB code that gets created is invalid.
It has to be built with gcc.
The supplied makefile does not work, and it takes a lot of fiddling to make a good one.
I could do it again from here, but I am too lazy for that.
I am sure someone else can make one.
Hi, Dann and all, built with Intel compiler.
I am not familiar with the crafty code.
Defined CPUS how 8
POPCNT defined how on and off.
Nalimov EGTB I not have on my computer, I have not tried.
Define smpmt = x(número de cores) in crafty.rc (I think that it is the case)
Added Wb2Uci of crafty24.
Linked statically.
The three executables work on my system.
Waiting for some official relase, they have to play a little.
Merry Christmas.

http://www.mediafire.com/download/d4pkq ... ty-25.0.7z
Thanks! I was having trouble making it work in Visual Studio. I managed to compile a version without cpus, but with cpus was crashing.

I'm trying the 64 bits popcnt with cutechess-cli and works nicely.
User avatar
F.Huber
Posts: 867
Joined: Thu Mar 09, 2006 4:50 pm
Location: Austria
Full name: Franz Huber

Re: Crafty 25.0 Release

Post by F.Huber »

Dann Corbit wrote:I did not test the EGTB access yet, but all three binaries run fine for me.
Have you looked at the hash usage?

I can only test the 32bit compile here, but no matter what I enter for hash/hashe/hashp in crafty.rc - this is what I get running crafty:

Warning-- xboard 'memory' option disabled
hash table memory = 0 bytes (0 entries).
Warning-- xboard 'memory' option disabled
eval hash table memory = 0 bytes (0 entries).
Warning-- xboard 'memory' option disabled
pawn hash table memory = 0 bytes (0 entries).

Franz
User avatar
mclane
Posts: 18910
Joined: Thu Mar 09, 2006 6:40 pm
Location: US of Europe, germany
Full name: Thorsten Czub

Re: Crafty 25.0 Release

Post by mclane »

velmarin wrote:
Dann Corbit wrote:I will deliver one on Monday.
P.S.
It cannot be built with visual studio.
The EGTB code that gets created is invalid.
It has to be built with gcc.
The supplied makefile does not work, and it takes a lot of fiddling to make a good one.
I could do it again from here, but I am too lazy for that.
I am sure someone else can make one.
Hi, Dann and all, built with Intel compiler.
I am not familiar with the crafty code.
Defined CPUS how 8
POPCNT defined how on and off.
Nalimov EGTB I not have on my computer, I have not tried.
Define smpmt = x(número de cores) in crafty.rc (I think that it is the case)
Added Wb2Uci of crafty24.
Linked statically.
The three executables work on my system.
Waiting for some official relase, they have to play a little.
Merry Christmas.

http://www.mediafire.com/download/d4pkq ... ty-25.0.7z
My virus software says there is a Trojan in the file.
(Heur/qvm10.1.Malware.gen)
What seems like a fairy tale today may be reality tomorrow.
Here we have a fairy tale of the day after tomorrow....
User avatar
velmarin
Posts: 1600
Joined: Mon Feb 21, 2011 9:48 am

Re: Crafty 25.0 Release

Post by velmarin »

mclane wrote: My virus software says there is a Trojan in the file.
(Heur/qvm10.1.Malware.gen)
For the year 2016 a change of antivirus, maybe?

Code: Select all

URL:	http://www.mediafire.com/download/d4pkq8aybyd4uuo/Crafty-25.0.7z
Detecciones:	0 / 66
Fecha de análisis:	2015-12-27 14:57:18 UTC ( hace 0 minutos )
https://www.virustotal.com/es/url/1bb48 ... 451228238/
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Crafty 25.0 Release

Post by bob »

F.Huber wrote:
Dann Corbit wrote:I did not test the EGTB access yet, but all three binaries run fine for me.
Have you looked at the hash usage?

I can only test the 32bit compile here, but no matter what I enter for hash/hashe/hashp in crafty.rc - this is what I get running crafty:

Warning-- xboard 'memory' option disabled
hash table memory = 0 bytes (0 entries).
Warning-- xboard 'memory' option disabled
eval hash table memory = 0 bytes (0 entries).
Warning-- xboard 'memory' option disabled
pawn hash table memory = 0 bytes (0 entries).

Franz
That simply means that you have added a hash/hashp/etc command to the .craftyrc, or to the command line. When you specify a specific hash setting, I prevent xboard from overriding your setting since I assume you set it for a reason. If you want to use the xboard options to set hash, don't set it in the .craftyrc file or on the command line.

But for your case, I don't know how you can get the hash sizes set to zero. hash=0 produces an error:

White(1): hash=0
Warning-- xboard 'memory' option disabled
ERROR. Minimum hash table size is 64K bytes.
White(1):

So how you are doing that I don't know. Perhaps a bad adaptive hash command?

Here is normal output:

White(1): hash=64M
Warning-- xboard 'memory' option disabled
hash table memory = 64M bytes (4M entries).
White(1): hash=1G
Warning-- xboard 'memory' option disabled
hash table memory = 1G bytes (64M entries).
White(1): hash=128K
Warning-- xboard 'memory' option disabled
hash table memory = 128K bytes (8K entries).
White(1):

There are no guarantees anything works on a 32 bit system, however.

32 bit compiles are dangerous since Crafty is a 64 bit program from the ground up...
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Crafty 25.0 Release

Post by bob »

SzG wrote:
F.Huber wrote:
Dann Corbit wrote:I did not test the EGTB access yet, but all three binaries run fine for me.
Have you looked at the hash usage?

I can only test the 32bit compile here, but no matter what I enter for hash/hashe/hashp in crafty.rc - this is what I get running crafty:

Warning-- xboard 'memory' option disabled
hash table memory = 0 bytes (0 entries).
Warning-- xboard 'memory' option disabled
eval hash table memory = 0 bytes (0 entries).
Warning-- xboard 'memory' option disabled
pawn hash table memory = 0 bytes (0 entries).

Franz
Hi Franz and all,

This is what I get with 128 MB, 32 MB and 8 MB set for the hash tables:

Warning-- xboard 'memory' option disabled
hash table memory = 128M bytes (8M entries).
Warning-- xboard 'memory' option disabled
eval hash table memory = 32M bytes (4M entries).
Warning-- xboard 'memory' option disabled
pawn hash table memory = 6M bytes (256K entries).

And now if I issue the 'memory 1024' command:

White(1): Warning-- xboard 'memory' option disabled
hash table memory = 1G bytes (64M entries).
Warning-- xboard 'memory' option disabled
pawn hash table memory = 768M bytes (32M entries).

So it seems the memory command is not disabled, contrary to what is claimed, although it does not work like expected because it allocates 1GB to each one of the hash tables.

BTW, EGTB support also seems to work.
Had not noticed this. Apparently somewhere over the last year or so this was broken. I just fixed it so the next version will work as expected and ignore the xboard memory command if you set hash or hashp manually...