Senpai 1.0 (new engine)

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
sicilianquake87
Posts: 232
Joined: Wed Nov 14, 2012 2:24 pm
Location: Italy

Re: Senpai 1.0 (new engine)

Post by sicilianquake87 » Tue Mar 18, 2014 12:44 pm

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: 861
Joined: Mon Jan 15, 2007 10:23 am
Location: Warsza
Contact:

Re: Senpai 1.0 (new engine)

Post by PK » Tue Mar 18, 2014 12:47 pm

IIRC senpai = student, sensei = teacher, master.

User avatar
velmarin
Posts: 1600
Joined: Mon Feb 21, 2011 8:48 am

Re: Senpai 1.0 (new engine)

Post by velmarin » Tue Mar 18, 2014 12:51 pm

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 2:24 pm
Location: Italy

Re: Senpai 1.0 (new engine)

Post by sicilianquake87 » Tue Mar 18, 2014 1:13 pm

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: 3222
Joined: Wed May 06, 2009 8:31 pm
Location: Fuquay-Varina, North Carolina

Re: Senpai 1.0 (new engine)

Post by Adam Hair » Tue Mar 18, 2014 1:19 pm

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 7:30 pm
Location: Chicago, Illinois, USA
Contact:

Re: Senpai 1.0 (new engine)

Post by michiguel » Tue Mar 18, 2014 2:38 pm

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: 3222
Joined: Wed May 06, 2009 8:31 pm
Location: Fuquay-Varina, North Carolina

Re: Senpai 1.0 (new engine)

Post by Adam Hair » Tue Mar 18, 2014 2:52 pm

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 7:30 pm
Location: Chicago, Illinois, USA
Contact:

Re: Senpai 1.0 (new engine)

Post by michiguel » Tue Mar 18, 2014 3:01 pm

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 2:26 pm
Contact:

Re: Senpai 1.0 (new engine)

Post by Steve B » Tue Mar 18, 2014 5:28 pm

Hi Fabien

hows that Novag Sapphire II holding up?
:P

Phoenix Resurrection Fruit 2005 WC Regards
Steve

Guenther
Posts: 3344
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Full name: Guenther Simon
Contact:

Re: Senpai 1.0 (new engine)

Post by Guenther » Tue Mar 18, 2014 6:11 pm

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

Post Reply