Thanks Gabor, but the problem is on Hash not on book, I fixed it, can you do a test on version 2.3.2 ?
http:// cinnamonchess.altervista.org/download/tmp/cinnamon2.3.2.exe
Giuseppe
Cinnamon 2.3
Moderators: hgm, Rebel, chrisw
-
- Posts: 36
- Joined: Fri Sep 06, 2013 11:20 am
- Location: Italy
- Full name: Giuseppe Cannella
-
- Posts: 1394
- Joined: Sat Jul 21, 2018 7:43 am
- Location: Budapest, Hungary
- Full name: Gabor Szots
-
- Posts: 50
- Joined: Tue Jul 19, 2016 10:19 am
Re: Cinnamon 2.3
Hi Giuseppe,
What is the maximum size of HASH?
My system has 32 GB ram.
When I type uci from command line in linux :
uci
id name Cinnamon 2.3.2
id author Giuseppe Cannella
option name Hash type spin default 64 min 1 max 131071
...
So theoretically 131071 MB(128 GB).
Engine crashes immediately when using 2 GB hash or more on my system(Cutechess GUI).
Can you check this?
In version 2.2a engine works with 2 GB hash.
Kind regards,
Antonio
What is the maximum size of HASH?
My system has 32 GB ram.
When I type uci from command line in linux :
uci
id name Cinnamon 2.3.2
id author Giuseppe Cannella
option name Hash type spin default 64 min 1 max 131071
...
So theoretically 131071 MB(128 GB).
Engine crashes immediately when using 2 GB hash or more on my system(Cutechess GUI).
Can you check this?
In version 2.2a engine works with 2 GB hash.
Kind regards,
Antonio
-
- Posts: 36
- Joined: Fri Sep 06, 2013 11:20 am
- Location: Italy
- Full name: Giuseppe Cannella
Re: Cinnamon 2.3
yes Antonio, the engine crashes if set 2 GB hash or more, I fixed it in version 2.3.3 at http://cinnamonchess.altervista.orgthunderstruck wrote: ↑Sat Oct 31, 2020 8:17 am Engine crashes immediately when using 2 GB hash or more on my system(Cutechess GUI).
Can you check this?
thanks
Giuseppe
-
- Posts: 725
- Joined: Tue Dec 18, 2007 9:38 pm
- Location: Munich, Germany
- Full name: Dr. Oliver Brausch
Re: Cinnamon 2.3
Hi, this is a very nice and interesting project.
I would like to add Cinnamon to my "list of unix engines", but there is still an error on MacOSX/clang, which is very easily solved by removing
Code: Select all
-static-libgcc
If not this error appears:
Code: Select all
make cinnamon64-BMI2
/Library/Developer/CommandLineTools/usr/bin/make ARC=" -mbmi2 -DUSE_BMI2 " cinnamon64-modern-INTEL
/Library/Developer/CommandLineTools/usr/bin/make ARC="-mbmi2 -DUSE_BMI2 -msse4.2 -march=corei7 " cinnamon64-modern
/Library/Developer/CommandLineTools/usr/bin/make ARC="-mbmi2 -DUSE_BMI2 -msse4.2 -march=corei7 -DHAS_POPCNT -mpopcnt -msse3 -DHAS_POPCNT -DHAS_BSF " cinnamon64-generic
/Library/Developer/CommandLineTools/usr/bin/make -j LIBS="-static-libgcc -static-libstdc++ -lpthread lib/OSX/64/libgtb.a" ARC="-mbmi2 -DUSE_BMI2 -msse4.2 -march=corei7 -DHAS_POPCNT -mpopcnt -msse3 -DHAS_POPCNT -DHAS_BSF -DHAS_64BIT -m64" build
/Library/Developer/CommandLineTools/usr/bin/make EXE="cinnamon" CFLAGS=" -std=c++11 -DDLOG_LEVEL=_FATAL -Wall -Ofast -DNDEBUG -fsigned-char -fno-exceptions -fno-rtti -funroll-loops " all
g++ -mbmi2 -DUSE_BMI2 -msse4.2 -march=corei7 -DHAS_POPCNT -mpopcnt -msse3 -DHAS_POPCNT -DHAS_BSF -DHAS_64BIT -m64 -std=c++11 -DDLOG_LEVEL=_FATAL -Wall -Ofast -DNDEBUG -fsigned-char -fno-exceptions -fno-rtti -funroll-loops -o cinnamon main.o test.o ChessBoard.o board.o GenMoves.o WrapperCinnamon.o Bitboard.o Timer.o Eval.o IniFile.o String.o IterativeDeeping.o Perft.o PerftThread.o Search.o SearchManager.o Hash.o Uci.o OpenBook.o GTB.o SYZYGY.o tbprobe.o -static-libgcc -static-libstdc++ -lpthread lib/OSX/64/libgtb.a
clang: error: unsupported option '-static-libgcc'
make[5]: *** [all] Error 1
make[4]: *** [build] Error 2
make[3]: *** [cinnamon64-generic] Error 2
make[2]: *** [cinnamon64-modern] Error 2
make[1]: *** [cinnamon64-modern-INTEL] Error 2
make: *** [cinnamon64-BMI2] Error 2
-
- Posts: 36
- Joined: Fri Sep 06, 2013 11:20 am
- Location: Italy
- Full name: Giuseppe Cannella
Re: Cinnamon 2.3
Hi OliverBr, I've used used gcc
make cinnamon64-modern-INTEL COMP=g++
anyway you can modify the Makefile as you wish.
make cinnamon64-modern-INTEL COMP=g++
anyway you can modify the Makefile as you wish.
-
- Posts: 725
- Joined: Tue Dec 18, 2007 9:38 pm
- Location: Munich, Germany
- Full name: Dr. Oliver Brausch
Re: Cinnamon 2.3
Hi, of course I can modify the Makefile locally, but I think it should be modified in your repository, too.
So it compiles on MacOSX out-of-the-box, your Makefile does already have an own block for OSX
PS: I am creating a list with stable open source engines which compile easily on Linux and MacOSX.
-
- Posts: 36
- Joined: Fri Sep 06, 2013 11:20 am
- Location: Italy
- Full name: Giuseppe Cannella
Re: Cinnamon 2.3
Ok, I removed -static-libgcc and pushed on githubOliverBr wrote: ↑Mon Nov 02, 2020 9:55 pm Hi, of course I can modify the Makefile locally, but I think it should be modified in your repository, too.
So it compiles on MacOSX out-of-the-box, your Makefile does already have an own block for OSX
PS: I am creating a list with stable open source engines which compile easily on Linux and MacOSX.
thanks
Giuseppe
-
- Posts: 725
- Joined: Tue Dec 18, 2007 9:38 pm
- Location: Munich, Germany
- Full name: Dr. Oliver Brausch
Re: Cinnamon 2.3
This is great. Your engine is now 100% Linux/MacOSX conform and stable. There are not many of them. I checked many hundreds and found only about 40 so far.
-
- Posts: 1394
- Joined: Sat Jul 21, 2018 7:43 am
- Location: Budapest, Hungary
- Full name: Gabor Szots
Re: Cinnamon 2.3
Version 2.3.3 forfeited time 27 times out of 320 games under Arena. Version 2.3 ran perfectly.geko wrote: ↑Sat Oct 31, 2020 12:49 pmyes Antonio, the engine crashes if set 2 GB hash or more, I fixed it in version 2.3.3 at http://cinnamonchess.altervista.orgthunderstruck wrote: ↑Sat Oct 31, 2020 8:17 am Engine crashes immediately when using 2 GB hash or more on my system(Cutechess GUI).
Can you check this?
thanks
Giuseppe
I intended to combine 2.3 and 2.3.3 results but now I am not sure what to do.
Gabor Szots
CCRL testing group
CCRL testing group