Senpai 1.0 (new engine)

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

Moderators: hgm, Rebel, chrisw

User avatar
sicilianquake87
Posts: 232
Joined: Wed Nov 14, 2012 3:24 pm
Location: Italy

Re: Senpai 1.0 (new engine)

Post by sicilianquake87 »

Vinvin wrote:
Xann wrote:...
I have been working on a new GPL engine: Senpai.
Where this name come from ?
Japanese?
Someone spitting venom is annoying but harmless. He won't achieve anything. The real harm is done by nicely worded venom. (Ronald de Man)
PK
Posts: 893
Joined: Mon Jan 15, 2007 11:23 am
Location: Warsza

Re: Senpai 1.0 (new engine)

Post by PK »

IIRC senpai = student, sensei = teacher, master.
User avatar
velmarin
Posts: 1600
Joined: Mon Feb 21, 2011 9:48 am

Re: Senpai 1.0 (new engine)

Post by velmarin »

Very Thanks, Fabien.

Compiled by Intel Compiler.
http://www.talkchess.com/forum/viewtopi ... 330#562330

Readme.txt
Senpai has a known issue on Windows. The hash table appears to be 50% full at most. We have been unable to reproduce this problem on either OS X or Linux, using either GCC or Clang. So there is a possibility (though by no means certain or even probable) that it is a compatibility problem with MinGW. We haven't found any Windows programmer with Visual Studio or the Intel compiler, maybe this would fix it?
User avatar
sicilianquake87
Posts: 232
Joined: Wed Nov 14, 2012 3:24 pm
Location: Italy

Re: Senpai 1.0 (new engine)

Post by sicilianquake87 »

PK wrote:IIRC senpai = student, sensei = teacher, master.
In mangas is used to describe an older fellow/equal.
Someone spitting venom is annoying but harmless. He won't achieve anything. The real harm is done by nicely worded venom. (Ronald de Man)
Adam Hair
Posts: 3226
Joined: Wed May 06, 2009 10:31 pm
Location: Fuquay-Varina, North Carolina

Re: Senpai 1.0 (new engine)

Post by Adam Hair »

PK wrote:IIRC senpai = student, sensei = teacher, master.
senpai = mentor or senior

http://en.wikipedia.org/wiki/Senpai
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: Senpai 1.0 (new engine)

Post by michiguel »

lucasart wrote:
syzygy wrote: To compile on and for Linux I had to add -pthread (or it aborts with "terminate called after throwing an instance of 'std::system_error'"):

Code: Select all

g++ -pthread -std=c++11 -O3 -finline-functions -funroll-all-loops -fno-rtti -msse4.2 -o senpai_10 senpai_10.cpp
Doesn't work for me. It compiles w/o errors, but segfaults:

Code: Select all

$ g++ -pthread -std=c++11 -O3 -fno-rtti -msse4.2 -o senpai_10
$ ./senpai_10 
Segmentation fault (core dumped)
I'm using gcc 4.8.1 on Ubuntu 13.10. All very recent stuff. :roll:
Is the binary in the distribution working?

It works for me with
g++-4.8 -static-libstdc++ -std=c++11 -fno-rtti -pthread -O3 -funroll-loops -fstrict-aliasing -march=native -mpopcnt senpai_10.cpp -o senpai

Miguel
Adam Hair
Posts: 3226
Joined: Wed May 06, 2009 10:31 pm
Location: Fuquay-Varina, North Carolina

Re: Senpai 1.0 (new engine)

Post by Adam Hair »

michiguel wrote:
lucasart wrote:
syzygy wrote: To compile on and for Linux I had to add -pthread (or it aborts with "terminate called after throwing an instance of 'std::system_error'"):

Code: Select all

g++ -pthread -std=c++11 -O3 -finline-functions -funroll-all-loops -fno-rtti -msse4.2 -o senpai_10 senpai_10.cpp
Doesn't work for me. It compiles w/o errors, but segfaults:

Code: Select all

$ g++ -pthread -std=c++11 -O3 -fno-rtti -msse4.2 -o senpai_10
$ ./senpai_10 
Segmentation fault (core dumped)
I'm using gcc 4.8.1 on Ubuntu 13.10. All very recent stuff. :roll:
Is the binary in the distribution working?

It works for me with
g++-4.8 -static-libstdc++ -std=c++11 -fno-rtti -pthread -O3 -funroll-loops -fstrict-aliasing -march=native -mpopcnt senpai_10.cpp -o senpai

Miguel
Lucas said in a T&M subforum post that the distributed binary works for him.

By the way, Ronald's method works for me. I am using gcc 4.8.1 and Linux Mint 15 (Ubuntu 13.04).
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: Senpai 1.0 (new engine)

Post by michiguel »

Adam Hair wrote:
michiguel wrote:
lucasart wrote:
syzygy wrote: To compile on and for Linux I had to add -pthread (or it aborts with "terminate called after throwing an instance of 'std::system_error'"):

Code: Select all

g++ -pthread -std=c++11 -O3 -finline-functions -funroll-all-loops -fno-rtti -msse4.2 -o senpai_10 senpai_10.cpp
Doesn't work for me. It compiles w/o errors, but segfaults:

Code: Select all

$ g++ -pthread -std=c++11 -O3 -fno-rtti -msse4.2 -o senpai_10
$ ./senpai_10 
Segmentation fault (core dumped)
I'm using gcc 4.8.1 on Ubuntu 13.10. All very recent stuff. :roll:
Is the binary in the distribution working?

It works for me with
g++-4.8 -static-libstdc++ -std=c++11 -fno-rtti -pthread -O3 -funroll-loops -fstrict-aliasing -march=native -mpopcnt senpai_10.cpp -o senpai

Miguel
Lucas said in a T&M subforum post that the distributed binary works for him.

By the way, Ronald's method works for me. I am using gcc 4.8.1 and Linux Mint 15 (Ubuntu 13.04).
The segfault and the likes are problems related to c++11 and not having the proper libraries present or linked. I had worse issues with Texel until I modified Makefile including -static-libstdc++ because -static does not work for g++. That is really frustrating if you do not know that little "detail". BTW, the one in the distribution is pgo compiled, so it is faster than the plain compile I suggested above. So, if the one in the distributino works, that line I suggest must work since it is how it was obtained.

Miguel
Steve B
Posts: 3697
Joined: Tue Jul 31, 2007 4:26 pm

Re: Senpai 1.0 (new engine)

Post by Steve B »

Hi Fabien

hows that Novag Sapphire II holding up?
:P

Phoenix Resurrection Fruit 2005 WC Regards
Steve
User avatar
Guenther
Posts: 4605
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Senpai 1.0 (new engine)

Post by Guenther »

Xann wrote:Hi Mark!

I don't smoke, but I do computer chess.
I tried to quit but ... it's not easy.
Say NO to computer chess ;)
I hope this won't awake my dormant virus again.
At least I thought I am semi-immune meanwhile??
WTF... welcome back Fabien!

Guenther