Re: current development

2019-12-03 Thread Ralph Corderoy
Hi Joseph, > What we really need is someone with access to some computing power > (aka grid) to run a set of reference positions - 0-ply cube decisions > vs 2-ply, and see what the difference is. That would give a hint as to > what to do. How about reporting your grep -m1 '^model name' /proc

Re: current development

2019-12-03 Thread Ralph Corderoy
Hi Russ, > case -2: > outputerrf(_("No cpuid check available\n")); > break; > case 0: > /* No SIMD support */ > break; > case 1: > /* SIMD support */ > simderror = FALSE; > break; ... >

Re: current development

2019-12-03 Thread Joseph Heled
OK, I compiled gnubg. It was not a pleasant experience. And the rollout time dropped from 2 min to 1:45. So compiling helped only a little bit. This is probably what GNUBG is capable off, as this rollout at 2-ply cube decisions needs about 44M evaluations. People familiar with XG, how fast is it

Re: current development

2019-12-03 Thread Joseph Heled
Well, are you? On Wed, 4 Dec 2019 at 16:19, Timothy Y. Chow wrote: > > Just wanted to put this out there... > > It's surely occurred to some people that it would be interesting to see > what would happen if one were to apply "AlphaZero methods" to backgammon. > I suspect that doing so would final

Re: current development

2019-12-03 Thread Timothy Y. Chow
Just wanted to put this out there... It's surely occurred to some people that it would be interesting to see what would happen if one were to apply "AlphaZero methods" to backgammon. I suspect that doing so would finally plug the one glaring hole in the repertoire of the current leading bots (

Re: current development

2019-12-03 Thread Russ Allbery
Joseph Heled writes: > I am on kubuntu. > $ sudo apt-get install build-dep gnubg > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Unable to locate package build-dep Argh, sorry. It's just: sudo apt-get build-dep gnubg -- Russ Allbery (e

Re: current development

2019-12-03 Thread Russ Allbery
Joseph Heled writes: > tried to compile gnubg > missing glib2 > any ideas? > checking for GLIB... no > configure: error: You need to have glib2 version 2.8.0 or higher to > compile GNU Backgammon > joseph@blkdow:~/Projects/gnubg/gnubg$ sudo apt-get install glib2-devel > Reading package lists...

Re: current development

2019-12-03 Thread Joseph Heled
I am on kubuntu. $ sudo apt-get install build-dep gnubg Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package build-dep On Wed, 4 Dec 2019 at 15:03, Russ Allbery wrote: > > Joseph Heled writes: > > > tried to compile gnubg > > missi

Re: current development

2019-12-03 Thread Joseph Heled
So, there is a shapes.inc in the directory. Unacceptable!! case is unimportant only in Bill's world Now stuck with this unknown library: ShimOGL.c:5:10: fatal error: cglm\affine.h: No such file or directory #include ^~~ compilation terminated. I did not expect gnubg to det

Re: current development

2019-12-03 Thread Joseph Heled
It is the usual hell of installing all missing dev packages and getting configure to complete. But this is unexpected: DrawOGL.c:25:10: fatal error: Shapes.inc: No such file or directory make[2]: Entering directory '/home/joseph/Projects/gnubg/gnubg/board3d' /bin/bash ../libtool --tag=CC --mo

Re: current development

2019-12-03 Thread Joseph Heled
Is that the right way to specify both? ./configure --enable-simd=avx --enable-simd=sse2 Thanks, Joseph On Wed, 4 Dec 2019 at 13:13, Joseph Heled wrote:

Re: current development

2019-12-03 Thread Joseph Heled
tried to compile gnubg missing glib2 any ideas? checking for GLIB... no configure: error: You need to have glib2 version 2.8.0 or higher to compile GNU Backgammon joseph@blkdow:~/Projects/gnubg/gnubg$ sudo apt-get install glib2-devel Reading package lists... Done Building dependency tree Reading s

Re: current development

2019-12-03 Thread Russ Allbery
Philippe Michel writes: > Reasonably recent versions of gcc and clang have a feature (ifuncs) that > should allow to to this in one single binary. I don't know how onerous > it would be at package building stage, but I think a few parts of Linux, > for instance glibc, use that feature, so at leas

Re: current development

2019-12-03 Thread Russ Allbery
Philippe Michel writes: > Debian's choice of building with SSE2 support seems reasonable for > amd64. For 32 bits architectures, I don't know at which point SSE2 > instructions are guaranteed to be available (are they in i686 ?), but if > they build without SIMD instructions to support older CPUs

Re: current development

2019-12-03 Thread Joseph Heled
I set number of threads to 4 Rolled a cube decision world-class: 2-ply for move/cube-action : 18 minutes expert (0ply) moves/ 2-ply cube actions: 2 minutes. exper: 0 ply both 0.041 Still seems something is amiss. -Joseph On Wed, 4 Dec 2019 at 12:07, Philippe Michel wrote: > > On Wed, Dec 04

Re: current development

2019-12-03 Thread Joseph Heled
Just for the record: 450924 evaluations/second. -Joseph On Wed, 4 Dec 2019 at 12:49, Joseph Heled wrote: > > I set number of threads to 4 > > Rolled a cube decision > > world-class: 2-ply for move/cube-action : 18 minutes > expert (0ply) moves/ 2-ply cube actions: 2 minutes. > exper: 0 ply bot

Re: current development

2019-12-03 Thread Philippe Michel
On Wed, Dec 04, 2019 at 10:53:44AM +1300, Joseph Heled wrote: > Perhaps the GNUBG code can be structured in a way that it can be > compiled with all those "advance features", yet they are used *only* > in rollouts and so everything else works on older systems? > > Is that possible or am I just sh

Re: current development

2019-12-03 Thread Philippe Michel
On Wed, Dec 04, 2019 at 09:46:09AM +1300, Joseph Heled wrote: > All I know is that I installed gnubg from the repository (GNU > Backgammon 1.06.002) and the rollouts speed seemed terrible. > > Do I need to do something in the GUI to enable multi-threading? (and I > hope that by multi-threading we

Re: current development

2019-12-03 Thread Philippe Michel
On Wed, Dec 04, 2019 at 10:07:18AM +1300, Joseph Heled wrote: > Yes, info says multithread support. It says SSE/SSE2 support. What > about SSE3/4 etc, or they confer no real improvement over SSE2? SSE3/4 probably wouldn't make a meningful difference. AVX helps but these SIMD instructions are use

Fwd: current development

2019-12-03 Thread Joseph Heled
-- Forwarded message - From: Joseph Heled Date: Wed, 4 Dec 2019 at 11:07 Subject: Re: current development To: Russ Allbery Yes, I assumed GNUBG is not ready yet, but was not sure if you can actually compile a (say) version with SSE2 and AVX support which will run as long as the

Re: current development

2019-12-03 Thread Russ Allbery
Joseph Heled writes: > I fully appreciate your plight as a package maintainer, but I think that > users which use rollouts, a quite important GNUBG feature, care a *lot* > about speed. > Perhaps the GNUBG code can be structured in a way that it can be > compiled with all those "advance features"

Re: current development

2019-12-03 Thread Øystein Schønning-Johansen
Hmmm SSE3/4 doesn't have much instructions that improves the I actually operations needed in the matrix multiplications. However, I think the clever boys (Michael and Philippe) have implemented AVX support which is pretty normal on modern machines. Try to recompile from source and see if you ca

Re: current development

2019-12-03 Thread Joseph Heled
I fully appreciate your plight as a package maintainer, but I think that users which use rollouts, a quite important GNUBG feature, care a *lot* about speed. Perhaps the GNUBG code can be structured in a way that it can be compiled with all those "advance features", yet they are used *only* in rol

Re: current development

2019-12-03 Thread Joseph Heled
Like I said, installed from the standard Ubuntu rep. Yes, info says multithread support. It says SSE/SSE2 support. What about SSE3/4 etc, or they confer no real improvement over SSE2? -Joseph On Wed, 4 Dec 2019 at 09:58, Øystein Schønning-Johansen wrote: > > Did you compile from source or insta

Re: current development

2019-12-03 Thread Russ Allbery
Joseph Heled writes: > My cpu (i7) has sse4 and avx2 support. Compiling from source is not the > right answer in general. Users should get this in the compiled package, > no? The Ubuntu packaging is a copy of the Debian packaging, which I maintain. The Debian packaging uses the most conservative

Re: current development

2019-12-03 Thread Øystein Schønning-Johansen
Did you compile from source or install a binary from a packet manager? Does it say multi-thread support in: Help->About->Build Info ? -Øystein On Tue, Dec 3, 2019 at 9:46 PM Joseph Heled wrote: > All I know is that I installed gnubg from the repository (GNU > Backgammon 1.06.002) and the rollou

Re: current development

2019-12-03 Thread Joseph Heled
My cpu (i7) has sse4 and avx2 support. Compiling from source is not the right answer in general. Users should get this in the compiled package, no? On Wed, 4 Dec 2019 at 10:25, Øystein Schønning-Johansen wrote: > > Hmmm SSE3/4 doesn't have much instructions that improves the I actually > ope

Re: current development

2019-12-03 Thread Joseph Heled
All I know is that I installed gnubg from the repository (GNU Backgammon 1.06.002) and the rollouts speed seemed terrible. Do I need to do something in the GUI to enable multi-threading? (and I hope that by multi-threading we are talking about multi-core, not just threading, which does not help)

Re: current development

2019-12-03 Thread Øystein Schønning-Johansen
On Tue, Dec 3, 2019 at 7:37 PM Joseph Heled wrote: > I am out of the loop too, but speeding up rollouts (i.e. using modern > multicores) seems like a worthy improvement. > Isn't that done already? I think the code is multithreaded using gthreads from glib. I think it was done by Michael (and Ph

Re: current development

2019-12-03 Thread Joseph Heled
I am out of the loop too, but speeding up rollouts (i.e. using modern multicores) seems like a worthy improvement. -Joseph On Wed, 4 Dec 2019 at 07:08, Øystein Schønning-Johansen wrote: > > Hi Sarah! > > Thanks for taking contact. Good to hear that you like GNU Backgammon. > Is it still under d

Re: current development

2019-12-03 Thread Øystein Schønning-Johansen
Hi Sarah! Thanks for taking contact. Good to hear that you like GNU Backgammon. Is it still under development? Hmmm... debatable. There has not been many major improvements the last few years. Take a look at the projects ChangeLog. http://cvs.savannah.gnu.org/viewvc/gnubg/gnubg/ChangeLog?revision

current development

2019-12-03 Thread Sarah Payne
Hello there. Been a huge fan for many years of gnu backgammon, many thanks to everyone involved. Is the software still under development with new versions coming? Is it possible to contribute directly to this project? Thanks Sarah Sent from Mail