DanaSah 3.97b for linux
Posted: 21 Oct 2008, 18:56
I changed the code danasah 3.97b to be compatible with Linux.
The biggest problem is that danasah in windows depends on 2 dll, one for the opening book and other for bitbases of Scorpio.
The code of bitbases gives problems because I was not included when I linking an option "- ldl". For the opening book now the code is included within danasah and therefore did not need any external library.
The source code can be found here:
http://danasah.googlepages.com/danasah397b-linux.zip
You can also find in this package the 4 files .bin needed for the book and the file danasah.ini for configuration. Put the 5 files into the same folder that the executable. Modified the file danasah.ini and introduces the path where are the bitbases.
I include two executives made with ubuntu32 (no pgo), but you can do your own executable, I add a file make to gcc and another for intel, although I am not an expert with gcc or intel.
In the command line danasah has 2 functions interesting when you compile:
- bench: resolves a mate in 7, interesting to know that compilation is faster.
- test: tests 30 positions for 10 seconds, interesting if you want to do a compilation PGO.
The biggest problem is that danasah in windows depends on 2 dll, one for the opening book and other for bitbases of Scorpio.
The code of bitbases gives problems because I was not included when I linking an option "- ldl". For the opening book now the code is included within danasah and therefore did not need any external library.
The source code can be found here:
http://danasah.googlepages.com/danasah397b-linux.zip
You can also find in this package the 4 files .bin needed for the book and the file danasah.ini for configuration. Put the 5 files into the same folder that the executable. Modified the file danasah.ini and introduces the path where are the bitbases.
I include two executives made with ubuntu32 (no pgo), but you can do your own executable, I add a file make to gcc and another for intel, although I am not an expert with gcc or intel.
In the command line danasah has 2 functions interesting when you compile:
- bench: resolves a mate in 7, interesting to know that compilation is faster.
- test: tests 30 positions for 10 seconds, interesting if you want to do a compilation PGO.