I'm searching somebody to compile ...

Discussion of chess software programming and technical issues.

Moderators: hgm, Dann Corbit, Harvey Williamson

Tennison
Posts: 183
Joined: Sat Nov 26, 2011 2:02 pm

I'm searching somebody to compile ...

Post by Tennison »

Hi,

In my Toga project I have trouble to have good compiles.

And I can't test my compiles against original ones because too slow !!

I'm searching somebody to help me in my project by compiling differents versions.

;-)
Michel
Posts: 2271
Joined: Mon Sep 29, 2008 1:50 am

Re: I'm searching somebody to compile ...

Post by Michel »

Hi,

In my Toga project I have trouble to have good compiles.

And I can't test my compiles against original ones because too slow !!

I'm searching somebody to help me in my project by compiling differents versions.

Don't worry about compiles (except when releasing a final version).

Just test against previous compiles of the same type (e.g. -O2, no other options).
Tennison
Posts: 183
Joined: Sat Nov 26, 2011 2:02 pm

Re: I'm searching somebody to compile ...

Post by Tennison »

Yes it was what I thought but when I compile an original version of Fruit or Toga I'm about 10 and 20% slower in nps.

And then results are bad.

For settings I put in GCC :

-O3
-fno-exceptions
-s
-w

But the problem is I want to tests against multiple opponents to see real elo improvment. Because self testing are only a way but not always a good one if the only one.
Michel
Posts: 2271
Joined: Mon Sep 29, 2008 1:50 am

Re: I'm searching somebody to compile ...

Post by Michel »

But the problem is I want to tests against multiple opponents to see real elo improvment. Because self testing are only a way but not always a good one if the only one.
I don't see the difference. Just use the original version and the new version with the same compile options....
jd1
Posts: 269
Joined: Wed Oct 24, 2012 2:07 am

Re: I'm searching somebody to compile ...

Post by jd1 »

Michel is right, and I do it that way too. Just run your base compile against the opponents, and compare development versions to that result.

Jerry
Tennison
Posts: 183
Joined: Sat Nov 26, 2011 2:02 pm

Re: I'm searching somebody to compile ...

Post by Tennison »

It doesn't work.

Because Original Compiled Versions are far fatest than mine Original compiled.

And I want to compare actual versions with mine over differents opponents.
User avatar
hgm
Posts: 27701
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: I'm searching somebody to compile ...

Post by hgm »

I also always do it as Michel suggests. No problem at all. If my own poor compile of a new version is 20 Elo better than the poor compile of the original version, the difference between the fast compiles will also be 20 Elo.
Michel
Posts: 2271
Joined: Mon Sep 29, 2008 1:50 am

Re: I'm searching somebody to compile ...

Post by Michel »

And I want to compare actual versions with mine over differents opponents.
It is simply not clear to me why you would want to do that. If you have 20 elo improvement in your compiled versions against a pool of engines you will also have 20 elo in good compiles.

The speed difference between compiles can be converted into elo with the rule that 1% is (approximately) 1elo.

But first you should make sure that you really have 20 elo.
jd1
Posts: 269
Joined: Wed Oct 24, 2012 2:07 am

Re: I'm searching somebody to compile ...

Post by jd1 »

The idea is that if your slow compile of your development version is better than your slow compile of the original, when you compare fast compiles of both, the elo gain will still be the same,

Two versions can always be compared as long as the compiles are the same.

Jerry
Tennison
Posts: 183
Joined: Sat Nov 26, 2011 2:02 pm

Re: I'm searching somebody to compile ...

Post by Tennison »

For the nearly 20 elo improvment it's in very fast games.

I hope the same on longer games. And with other opponents.