How to program multi processor and 64 bit chess engines
Moderators: hgm, Rebel, chrisw
How to program multi processor and 64 bit chess engines
How to program multi processor and 64 bit chess engines , is there an open source engine which is 64 bit and multi processor working.
Re: How to program multi processor and 64 bit chess engines
I am hardly an expert in the matter, but from what I am aware you simply optimize your code so that when you tell the compiler to create a 64 bit or SMP executable, it takes advantage of the respective features. In other words, it's just your average code with a few things tweaked to better take advantage of 64 bit CPUs or multiple cores. The compiler does the rest.
Exuse any vagueness that probably comes from my lack of experience.
Exuse any vagueness that probably comes from my lack of experience.
Re: How to program multi processor and 64 bit chess engines
Crafty and Glaurung both support multiple processors, and both take advantage of 64 bit architectures to get a nice speedup.kaustubh wrote:How to program multi processor and 64 bit chess engines , is there an open source engine which is 64 bit and multi processor working.
-
- Posts: 619
- Joined: Wed Mar 08, 2006 9:10 pm
- Location: Murten / Morat, Switzerland
- Full name: Volker Pittlik
Re: How to program multi processor and 64 bit chess engines
You must not forget theGandalf wrote:...In other words, it's just your average code with a few things tweaked to better take advantage of 64 bit CPUs or multiple cores. The compiler does the rest...
Code: Select all
Do_what_I_want
Code: Select all
Play unbeatable
SCNR
Volker
-
- Posts: 27829
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: How to program multi processor and 64 bit chess engines
These are compiler switches, isn't it? I always use:
gcc engine.c -Elo=3500
gcc engine.c -Elo=3500
-
- Posts: 619
- Joined: Wed Mar 08, 2006 9:10 pm
- Location: Murten / Morat, Switzerland
- Full name: Volker Pittlik
Re: How to program multi processor and 64 bit chess engines
This is possibly Rybka's secret.hgm wrote:...
gcc engine.c -Elo=3500
Re: How to program multi processor and 64 bit chess engines
Nah, Vas uses MSVC. That would be:Volker Pittlik wrote:This is possibly Rybka's secret.hgm wrote:...
gcc engine.c -Elo=3500
cl engine.c /Elo:3500
Re: How to program multi processor and 64 bit chess engines
Funny. Yet, I am still no closer to understanding what is wrong with what I posted... As a guess, should I have said something like "it is an impossibly difficult task that requires you to completely rewrite critical portions of your code"?
Re: How to program multi processor and 64 bit chess engines
This is rude and pathetic. It's really sad to watch such "experts".
On topic: take a look at the Viper by Tord Romstad. It should fit your needs.
http://www.glaurungchess.com/viper/
On topic: take a look at the Viper by Tord Romstad. It should fit your needs.
http://www.glaurungchess.com/viper/
-
- Posts: 619
- Joined: Wed Mar 08, 2006 9:10 pm
- Location: Murten / Morat, Switzerland
- Full name: Volker Pittlik
Re: How to program multi processor and 64 bit chess engines
Or even worse to answer to them.Dariusz Orzechowski wrote:...It's really sad to watch such "experts"...
P.S. It seems your irony detector is buggy.
eod