Compiling Gurus: need advice

Discussion of chess software programming and technical issues.

Moderator: Ras

Edsel Apostol
Posts: 803
Joined: Mon Jul 17, 2006 5:53 am
Full name: Edsel Apostol

Re: Compiling Gurus: need advice

Post by Edsel Apostol »

Hi Ron,

Thanks.

I've grown accustomed already to Dev C++ but I will try Code Blocks for a change.
Thomas Gaksch

Re: Compiling Gurus: need advice

Post by Thomas Gaksch »

For PGO you must have the professional edition. There was also a professional edition 2008 Beta 2.

Thomas
Edsel Apostol
Posts: 803
Joined: Mon Jul 17, 2006 5:53 am
Full name: Edsel Apostol

Re: Compiling Gurus: need advice

Post by Edsel Apostol »

Hi Thomas,

Thanks for the tip. I will try to download that one. Do yuo have any idea when will they stop supporting downloads for these betas?

Anyway, I and most of the programmers out there are awaiting the release of the latest Toga. I am planning to add SMP to my engine and I hope that I can learn something from Toga implementation.
Thomas Gaksch

Re: Compiling Gurus: need advice

Post by Thomas Gaksch »

Hi Edsel,
i think you can´t download the beta anymore. But you can download a 90 day trial version:
http://www.microsoft.com/downloads/deta ... laylang=en

In the case of a good SMP implementation you can´t learn from toga because my SMP implementation is only a simple shared hashtable. Use Glaurung 2 to learn how to implement a very good smp algorithm (YBWC). And Tord has implemented this algorithm really great. Fast and readable. the best what i have ever seen.

Thomas
User avatar
Denis P. Mendoza
Posts: 415
Joined: Fri Dec 15, 2006 9:46 pm
Location: Philippines

Re: Compiling Gurus: need advice

Post by Denis P. Mendoza »

Yes, Thomas is right. You can also download trial professional versions of ICC compiler at Intel site. I guess you already know the other Microsoft SDK requirements for such compilers.

Just pm me dre, if you need some assistance. Remember, we live in the same archipelago :wink:
Dann Corbit
Posts: 12777
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Compiling Gurus: need advice

Post by Dann Corbit »

Thomas Gaksch wrote:Hi Edsel,
i think you can´t download the beta anymore. But you can download a 90 day trial version:
http://www.microsoft.com/downloads/deta ... laylang=en

In the case of a good SMP implementation you can´t learn from toga because my SMP implementation is only a simple shared hashtable. Use Glaurung 2 to learn how to implement a very good smp algorithm (YBWC). And Tord has implemented this algorithm really great. Fast and readable. the best what i have ever seen.

Thomas
Scorpio's threading is also easy to understand.
Edsel Apostol
Posts: 803
Joined: Mon Jul 17, 2006 5:53 am
Full name: Edsel Apostol

Re: Compiling Gurus: need advice

Post by Edsel Apostol »

What SMP algorithm does Scorpio support? Is it efficient? It seems to be an iterative search instead of a recursive search.
Dann Corbit
Posts: 12777
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Compiling Gurus: need advice

Post by Dann Corbit »

From Search.cpp, line 630:
PARALLEL search=> YBWC

Real nice paper on parallel search:
http://www.valavan.net/mthesis.pdf
Edsel Apostol
Posts: 803
Joined: Mon Jul 17, 2006 5:53 am
Full name: Edsel Apostol

Re: Compiling Gurus: need advice

Post by Edsel Apostol »

Thanks Dann.

I will be waiting for the release of ZCT by Zach Wegner. He says he will release it after CCT and it has an iterative search with DTS support.

Is DTS the most efficient SMP algorithm? Based on what I read that is the algorithm used by Zappa and Chess64.