Stockfish 1.01 FIX A SERIOUS BUG

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

Moderator: Ras

User avatar
Jim Ablett
Posts: 2285
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Stockfish 1.01 FIX A SERIOUS BUG

Post by Jim Ablett »

Graham Banks wrote:
mcostalba wrote:
Graham Banks wrote:
Hi Marco,

unfortunately I am not a programmer, only a tester.
Unless there is a compile released that will restrict Stockfish to 1cpu without wrecking the node count (and therefore performance), I will be unable to test it.
It would be great to be able to test Stockfish 1cpu on a dual or quad.

Regards, Graham.
Yes, I understund. I can compile for you a version of Stockfish for one cpu, probaby my compile is not as fast as the Jim one but at least can be useful to understand the problem.

What is the CPU type on which you are going to test ? is it the Dual Core AMD Opteron ?

In this case I will prepare a version that set's the thread number to 2 as a fixed value. It is the optimal value for that kind of CPU.


Thanks for your time
Marco
What I would like if possible is a Stockfish that will use 1cpu only no matter what.
Other CCRL testers will test the multi-cpu version, but I currently restrict my testing to 1cpu versions only, even though I use dual computers.
Perhaps Jim or Dann can do such a compile?

Cheers, Graham.
Hi Graham,

I did some testing on my Core Duo comp. No problems, works fine for me with 1 thread selected.
I've done some more builds, these use POSIX threads instead of Windows ones. Maybe they'll work better for your system.

http://www.mediafire.com/?iymlvj3zimk

If still not working right, I'll compile some gcc-cygwin builds for you to test later.

Jim.
User avatar
Graham Banks
Posts: 44629
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Stockfish 1.01 FIX A SERIOUS BUG

Post by Graham Banks »

Jim Ablett wrote: Hi Graham,

I did some testing on my Core Duo comp. No problems, works fine for me with 1 thread selected.
I've done some more builds, these use POSIX threads instead of Windows ones. Maybe they'll work better for your system.

http://www.mediafire.com/?iymlvj3zimk

If still not working right, I'll compile some gcc-cygwin builds for you to test later.

Jim.
Thanks Jim. You're a champion and I really appreciate your trying to help out. I'll try this compile and let you know how I get on. :)

Cheers, Graham.
gbanksnz at gmail.com
User avatar
Graham Banks
Posts: 44629
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Stockfish 1.01 FIX A SERIOUS BUG

Post by Graham Banks »

Graham Banks wrote:
Jim Ablett wrote: Hi Graham,

I did some testing on my Core Duo comp. No problems, works fine for me with 1 thread selected.
I've done some more builds, these use POSIX threads instead of Windows ones. Maybe they'll work better for your system.

http://www.mediafire.com/?iymlvj3zimk

If still not working right, I'll compile some gcc-cygwin builds for you to test later.

Jim.
Thanks Jim. You're a champion and I really appreciate your trying to help out. I'll try this compile and let you know how I get on. :)

Cheers, Graham.
Still no joy with this build Jim. Same problem. Sorry to be a pain.

Graham.
gbanksnz at gmail.com
User avatar
geots
Posts: 4790
Joined: Sat Mar 11, 2006 12:42 am

Re: Stockfish 1.01 FIX A SERIOUS BUG

Post by geots »

Graham Banks wrote:
Graham Banks wrote:
Jim Ablett wrote: Hi Graham,

I did some testing on my Core Duo comp. No problems, works fine for me with 1 thread selected.
I've done some more builds, these use POSIX threads instead of Windows ones. Maybe they'll work better for your system.

http://www.mediafire.com/?iymlvj3zimk

If still not working right, I'll compile some gcc-cygwin builds for you to test later.

Jim.
Thanks Jim. You're a champion and I really appreciate your trying to help out. I'll try this compile and let you know how I get on. :)

Cheers, Graham.
Still no joy with this build Jim. Same problem. Sorry to be a pain.

Graham.

Should have contacted me first. Do it my way if you want it to work perfectly. All this rebooting and setting to 2 threads first is an utter waste of time. Im running a dual- and it works as it is supposed to on one thread. PLENTY OF KNS. One of these days you wil learn to contact the expert first. :lol: :lol:
User avatar
Jim Ablett
Posts: 2285
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Stockfish 1.01 FIX A SERIOUS BUG

Post by Jim Ablett »

GCC series 4 cygwin 32-bit Windows build.

http://www.mediafire.com/?qnlzyoy2m1n

Jim.
Dirt
Posts: 2851
Joined: Wed Mar 08, 2006 10:01 pm
Location: Irvine, CA, USA

Re: Stockfish 1.01 FIX A SERIOUS BUG

Post by Dirt »

Jim Ablett wrote:GCC series 4 cygwin 32-bit Windows build.

http://www.mediafire.com/?qnlzyoy2m1n

Jim.
At least this or the pthreads build both fix my problem!

Thanks!
User avatar
Eelco de Groot
Posts: 4671
Joined: Sun Mar 12, 2006 2:40 am
Full name:   Eelco de Groot

Re: Stockfish 1.01 FIX A SERIOUS BUG

Post by Eelco de Groot »

geots wrote:
Graham Banks wrote:
Graham Banks wrote:
Jim Ablett wrote: Hi Graham,

I did some testing on my Core Duo comp. No problems, works fine for me with 1 thread selected.
I've done some more builds, these use POSIX threads instead of Windows ones. Maybe they'll work better for your system.

http://www.mediafire.com/?iymlvj3zimk

If still not working right, I'll compile some gcc-cygwin builds for you to test later.

Jim.
Thanks Jim. You're a champion and I really appreciate your trying to help out. I'll try this compile and let you know how I get on. :)

Cheers, Graham.
Still no joy with this build Jim. Same problem. Sorry to be a pain.

Graham.

Should have contacted me first. Do it my way if you want it to work perfectly. All this rebooting and setting to 2 threads first is an utter waste of time. Im running a dual- and it works as it is supposed to on one thread. PLENTY OF KNS. One of these days you wil learn to contact the expert first. :lol: :lol:
George good to see that you are back testing for the CCRL, now Graham does not have to do everything by himself! Could you share with us your solution for the threading problem?

I still think something must be wrong, if you set threads = 1 Stockfish should not be trying to use more, this should override looking for more CPUs or at least put all the remaining threads to sleep in the way Tord implemented this in Glaurung.

Regards, Eelco
User avatar
Graham Banks
Posts: 44629
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Stockfish 1.01 FIX A SERIOUS BUG

Post by Graham Banks »

Eelco de Groot wrote: George good to see that you are back testing for the CCRL, now Graham does not have to do everything by himself!
Regards, Eelco
I know that you were speaking tongue in cheek, but that's still a bit unfair on the other testers Eelco.
gbanksnz at gmail.com
User avatar
Graham Banks
Posts: 44629
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Stockfish 1.01 FIX A SERIOUS BUG

Post by Graham Banks »

Jim Ablett wrote:GCC series 4 cygwin 32-bit Windows build.

http://www.mediafire.com/?qnlzyoy2m1n

Jim.
Thanks Jim. Problem solved.
This is why I like CCC. People are prepared to help each other as able. 8-)
gbanksnz at gmail.com
User avatar
geots
Posts: 4790
Joined: Sat Mar 11, 2006 12:42 am

Re: Stockfish 1.01 FIX A SERIOUS BUG

Post by geots »

Eelco de Groot wrote:
geots wrote:
Graham Banks wrote:
Graham Banks wrote:
Jim Ablett wrote: Hi Graham,

I did some testing on my Core Duo comp. No problems, works fine for me with 1 thread selected.
I've done some more builds, these use POSIX threads instead of Windows ones. Maybe they'll work better for your system.

http://www.mediafire.com/?iymlvj3zimk

If still not working right, I'll compile some gcc-cygwin builds for you to test later.

Jim.
Thanks Jim. You're a champion and I really appreciate your trying to help out. I'll try this compile and let you know how I get on. :)

Cheers, Graham.
Still no joy with this build Jim. Same problem. Sorry to be a pain.

Graham.

Should have contacted me first. Do it my way if you want it to work perfectly. All this rebooting and setting to 2 threads first is an utter waste of time. Im running a dual- and it works as it is supposed to on one thread. PLENTY OF KNS. One of these days you wil learn to contact the expert first. :lol: :lol:
George good to see that you are back testing for the CCRL, now Graham does not have to do everything by himself! Could you share with us your solution for the threading problem?

I still think something must be wrong, if you set threads = 1 Stockfish should not be trying to use more, this should override looking for more CPUs or at least put all the remaining threads to sleep in the way Tord implemented this in Glaurung.

Regards, Eelco

Thanks for your kind words Eelco. Actually i was being serious, tho kind of just having some fun with Graham also. I am still using the ORIGINAL version that first came out, and i have had no problems with it in Fritz 11. What i did- before clicking ok to load the engine, i clicked on parameters and changed them at that time, before loading. Then they were the default parameters. Of course that required me to add something to the name- anything- it doesnt matter. So by JA in the name i added Build so the name said "JA Build" Now i have 1 thread as default in parameters and never have to worry with changing the parameters for using 1 CPU. Did this method cause it to work right and just use 1 cpu? I dont know. I never tried it the other way. It works, so that was enough for me.


Best,