Senpai 1.0 (new engine)

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

Moderators: hgm, Rebel, chrisw

j_romang
Posts: 79
Joined: Mon May 16, 2011 2:52 am

Re: Senpai 1.0 (new engine)

Post by j_romang »

Thanks Lucas ; but I would also be happy to follow Fabien's work and progress until Senpai 2.0 :roll: Fabien, do you think you will publish your work in a public version control system ?
User avatar
JuLieN
Posts: 2949
Joined: Mon May 05, 2008 12:16 pm
Location: Bordeaux (France)
Full name: Julien Marcel

Re: Senpai 1.0 (new engine)

Post by JuLieN »

j_romang wrote:Thanks Lucas ; but I would also be happy to follow Fabien's work and progress until Senpai 2.0 :roll: Fabien, do you think you will publish your work in a public version control system ?
A big part of the fun of developing a chess engine is to prepare a big "coup" by releasing an engine hundreds of Elo points stronger than its previous version... The surprise element is very fun... And this is something that such a public development system prevents. Therefore, not all engines author want to go the Stockfish way. ;)
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
User avatar
Dr.Wael Deeb
Posts: 9773
Joined: Wed Mar 08, 2006 8:44 pm
Location: Amman,Jordan

Re: Senpai 1.0 (new engine)

Post by Dr.Wael Deeb »

JuLieN wrote:
j_romang wrote:Thanks Lucas ; but I would also be happy to follow Fabien's work and progress until Senpai 2.0 :roll: Fabien, do you think you will publish your work in a public version control system ?
A big part of the fun of developing a chess engine is to prepare a big "coup" by releasing an engine hundreds of Elo points stronger than its previous version... The surprise element is very fun... And this is something that such a public development system prevents. Therefore, not all engines author want to go the Stockfish way. ;)
Totally agreed my friend....
Dr.D
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
ZirconiumX
Posts: 1334
Joined: Sun Jul 17, 2011 11:14 am

Re: Senpai 1.0 (new engine)

Post by ZirconiumX »

JuLieN wrote:
j_romang wrote:Thanks Lucas ; but I would also be happy to follow Fabien's work and progress until Senpai 2.0 :roll: Fabien, do you think you will publish your work in a public version control system ?
A big part of the fun of developing a chess engine is to prepare a big "coup" by releasing an engine hundreds of Elo points stronger than its previous version... The surprise element is very fun... And this is something that such a public development system prevents. Therefore, not all engines author want to go the Stockfish way. ;)
This is part of the reason, though another part, from bits of correspondence with Fabien is that the dev version has a huge amount of debugging framework in it, along with toys like being able to play a game using CPU time inside a single executable that make things slightly difficult to read.

Matthew:out
Some believe in the almighty dollar.

I believe in the almighty printf statement.
Xann
Posts: 127
Joined: Sat Jan 22, 2011 7:14 pm
Location: Lille, France

Re: Senpai 1.0 (new engine)

Post by Xann »

j_romang wrote:Fabien, do you think you will publish your work in a public version control system ?
No, sorry about that.
User avatar
Marek Soszynski
Posts: 582
Joined: Wed May 10, 2006 7:28 pm
Location: Birmingham, England

Re: Senpai 1.0 (new engine)

Post by Marek Soszynski »

Thank you Fabien!

Could you also provide a non-SSE Linux compile? (You already do provide a non-SSE Windows compile.) I did try to compile one myself, but without success.

Incidentally, the non-SSE Windows compile runs okay on Linux via Wine, and sure enough it exhibits the 50% hash bug.
Marek Soszynski
phenri
Posts: 284
Joined: Tue Aug 13, 2013 9:44 am

Re: Senpai 1.0 (new engine)

Post by phenri »

Marek Soszynski wrote:Thank you Fabien!

Could you also provide a non-SSE Linux compile? (You already do provide a non-SSE Windows compile.) I did try to compile one myself, but without success.

Incidentally, the non-SSE Windows compile runs okay on Linux via Wine, and sure enough it exhibits the 50% hash bug.
try those below:
http://www.solidfiles.com/d/a8052b4b89/

Also, if you gave the model name of your CPU, we could try to compile a version close to your machine.
User avatar
lucasart
Posts: 3232
Joined: Mon May 31, 2010 1:29 pm
Full name: lucasart

Re: Senpai 1.0 (new engine)

Post by lucasart »

Marek Soszynski wrote:Thank you Fabien!

Could you also provide a non-SSE Linux compile? (You already do provide a non-SSE Windows compile.) I did try to compile one myself, but without success.
Try this:

Code: Select all

g++ -static-libstdc++ -std=c++11 -pthread -O3 -sse2 -fno-rtti -s ./senpai_10.cpp -o ./senpai_1.0
Obviously you need a recent enough g++ installed that supports c++11.

I doubt anybody uses a "non SSE" machine these days:
Wikipedia wrote:Streaming SIMD Extensions (SSE) is a SIMD instruction set extension to the x86 architecture, designed by Intel and introduced in 1999 in their Pentium III series processors
1999 was 15 years ago. It's like the paleolithic :wink:

What you probably want is SSE 3, or maybe SSE 2, because your CPU doesn't have SSE 4.2 (essentially hardware popcount).
Last edited by lucasart on Mon Mar 24, 2014 8:08 am, edited 1 time in total.
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
User avatar
Marek Soszynski
Posts: 582
Joined: Wed May 10, 2006 7:28 pm
Location: Birmingham, England

Re: Senpai 1.0 (new engine)

Post by Marek Soszynski »

phenri wrote:
Marek Soszynski wrote:Thank you Fabien!

Could you also provide a non-SSE Linux compile? (You already do provide a non-SSE Windows compile.) I did try to compile one myself, but without success.

Incidentally, the non-SSE Windows compile runs okay on Linux via Wine, and sure enough it exhibits the 50% hash bug.
try those below:
http://www.solidfiles.com/d/a8052b4b89/

Also, if you gave the model name of your CPU, we could try to compile a version close to your machine.
Thank you hugely.
The sse3 compile therein works very well on my machine, and now I am more than happy.
Marek Soszynski
User avatar
Marek Soszynski
Posts: 582
Joined: Wed May 10, 2006 7:28 pm
Location: Birmingham, England

Re: Senpai 1.0 (new engine)

Post by Marek Soszynski »

lucasart wrote:What you probably want is SSE 3, or maybe SSE 2, because your CPU doesn't have SSE 4.2 (essentially hardware popcount).
Quite. And now an appropriate compile has been provided.
Marek Soszynski