ZCT 0.3.2500 released

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

Moderator: Ras

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

Re: ZCT 0.3.2500 released

Post by Jim Ablett »

Ok Here's the
ZCT 0.3.2500 Windows Intel Compiler 11/10 x64/win32 SMP pgo builds.

Download:
http://www.mediafire.com/?itqmyuejzjm

Jim.
User avatar
AdminX
Posts: 6363
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: ZCT 0.3.2500 released

Post by AdminX »

Jim Ablett wrote:Ok Here's the
ZCT 0.3.2500 Windows Intel Compiler 11/10 x64/win32 SMP pgo builds.

Download:
http://www.mediafire.com/?itqmyuejzjm

Jim.
Thanks Jim! :lol:
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
User avatar
Dr.Wael Deeb
Posts: 9773
Joined: Wed Mar 08, 2006 8:44 pm
Location: Amman,Jordan

Re: ZCT 0.3.2500 released

Post by Dr.Wael Deeb »

Thanks....the new updated opening book will follow soon....
Dr.D
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
User avatar
Zach Wegner
Posts: 1922
Joined: Thu Mar 09, 2006 12:51 am
Location: Earth

Re: ZCT 0.3.2500 released

Post by Zach Wegner »

Teemu Pudas wrote:
Zach Wegner wrote:Seriously though, if that wasn't the problem, what is really happening with SMP on windows?
Even when I add the THREAD_LOCAL to the declaration, both threads still somehow manage to see the same zct. At first I thought it must have copied the contents when creating the thread, but I've disproved that theory now.

Conclusion: THREAD_LOCAL isn't working (and MSVC10's debugger is buggy).

Did anyone ever actually produce and test a working Windows SMP build with MSVC?
Well zct should definitely not be thread local anyways, so what's the point? Is the thread local working for board? If so, then no need to experiment.

Anyways, the builds I was doing at work the past couple days were working OK, but as was happening to Fonzy, they would fail ASSERTs every once in a while, or seemed to hang. Debug builds never seemed to have problems, but they were sooooooo slooooooooow, so maybe I just didn't have the patience to hit them. They were getting <100 knps on an Athlon 64 dual-core, I think 2.2 GHz, with both cores, albeit in 32 bit mode. As opposed to about 2.4 mnps on my quad core.
F. Bluemers
Posts: 880
Joined: Thu Mar 09, 2006 11:21 pm
Location: Nederland

Re: ZCT 0.3.2500 released

Post by F. Bluemers »

Zach Wegner wrote:
Teemu Pudas wrote:
Zach Wegner wrote:Seriously though, if that wasn't the problem, what is really happening with SMP on windows?
Even when I add the THREAD_LOCAL to the declaration, both threads still somehow manage to see the same zct. At first I thought it must have copied the contents when creating the thread, but I've disproved that theory now.

Conclusion: THREAD_LOCAL isn't working (and MSVC10's debugger is buggy).

Did anyone ever actually produce and test a working Windows SMP build with MSVC?
Well zct should definitely not be thread local anyways, so what's the point? Is the thread local working for board? If so, then no need to experiment.

Anyways, the builds I was doing at work the past couple days were working OK, but as was happening to Fonzy, they would fail ASSERTs every once in a while, or seemed to hang*. Debug builds never seemed to have problems, but they were sooooooo slooooooooow, so maybe I just didn't have the patience to hit them. They were getting <100 knps on an Athlon 64 dual-core, I think 2.2 GHz, with both cores, albeit in 32 bit mode. As opposed to about 2.4 mnps on my quad core.
* I got that fixed:
just put

Code: Select all

#pragma optimize( "", off )
just before

Code: Select all

int find_split_point(void)
{
in smp2.c
it turns off optimization just for that function.So no need to run a Debug build :lol:
But there is still something wrong with the compile,if you compare it with jim's.
Best
Fonzy
User avatar
Dr.Wael Deeb
Posts: 9773
Joined: Wed Mar 08, 2006 8:44 pm
Location: Amman,Jordan

Re: ZCT 0.3.2500 released

Post by Dr.Wael Deeb »

Zach Wegner wrote:
Teemu Pudas wrote:
Zach Wegner wrote:Seriously though, if that wasn't the problem, what is really happening with SMP on windows?
Even when I add the THREAD_LOCAL to the declaration, both threads still somehow manage to see the same zct. At first I thought it must have copied the contents when creating the thread, but I've disproved that theory now.

Conclusion: THREAD_LOCAL isn't working (and MSVC10's debugger is buggy).

Did anyone ever actually produce and test a working Windows SMP build with MSVC?
Well zct should definitely not be thread local anyways, so what's the point? Is the thread local working for board? If so, then no need to experiment.

Anyways, the builds I was doing at work the past couple days were working OK, but as was happening to Fonzy, they would fail ASSERTs every once in a while, or seemed to hang. Debug builds never seemed to have problems, but they were sooooooo slooooooooow, so maybe I just didn't have the patience to hit them. They were getting <100 knps on an Athlon 64 dual-core, I think 2.2 GHz, with both cores, albeit in 32 bit mode. As opposed to about 2.4 mnps on my quad core.
Hi Zach,
Can you remind me please of the command line that creates the opening book :!: :?:
Dr.D
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
User avatar
Jim Ablett
Posts: 2282
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: ZCT 0.3.2500 released

Post by Jim Ablett »

Dr.Wael Deeb wrote:
Zach Wegner wrote:
Teemu Pudas wrote:
Zach Wegner wrote:Seriously though, if that wasn't the problem, what is really happening with SMP on windows?
Even when I add the THREAD_LOCAL to the declaration, both threads still somehow manage to see the same zct. At first I thought it must have copied the contents when creating the thread, but I've disproved that theory now.

Conclusion: THREAD_LOCAL isn't working (and MSVC10's debugger is buggy).

Did anyone ever actually produce and test a working Windows SMP build with MSVC?
Well zct should definitely not be thread local anyways, so what's the point? Is the thread local working for board? If so, then no need to experiment.

Anyways, the builds I was doing at work the past couple days were working OK, but as was happening to Fonzy, they would fail ASSERTs every once in a while, or seemed to hang. Debug builds never seemed to have problems, but they were sooooooo slooooooooow, so maybe I just didn't have the patience to hit them. They were getting <100 knps on an Athlon 64 dual-core, I think 2.2 GHz, with both cores, albeit in 32 bit mode. As opposed to about 2.4 mnps on my quad core.
Hi Zach,
Can you remind me please of the command line that creates the opening book :!: :?:
Dr.D
Hi Wael,

Double-click on the exe. Type bookc

Code: Select all

Usage: bookc pgn_file book_file min_play max_depth win_percent
Jim.
User avatar
Dr.Wael Deeb
Posts: 9773
Joined: Wed Mar 08, 2006 8:44 pm
Location: Amman,Jordan

Re: ZCT 0.3.2500 released

Post by Dr.Wael Deeb »

Jim Ablett wrote:
Dr.Wael Deeb wrote:
Zach Wegner wrote:
Teemu Pudas wrote:
Zach Wegner wrote:Seriously though, if that wasn't the problem, what is really happening with SMP on windows?
Even when I add the THREAD_LOCAL to the declaration, both threads still somehow manage to see the same zct. At first I thought it must have copied the contents when creating the thread, but I've disproved that theory now.

Conclusion: THREAD_LOCAL isn't working (and MSVC10's debugger is buggy).

Did anyone ever actually produce and test a working Windows SMP build with MSVC?
Well zct should definitely not be thread local anyways, so what's the point? Is the thread local working for board? If so, then no need to experiment.

Anyways, the builds I was doing at work the past couple days were working OK, but as was happening to Fonzy, they would fail ASSERTs every once in a while, or seemed to hang. Debug builds never seemed to have problems, but they were sooooooo slooooooooow, so maybe I just didn't have the patience to hit them. They were getting <100 knps on an Athlon 64 dual-core, I think 2.2 GHz, with both cores, albeit in 32 bit mode. As opposed to about 2.4 mnps on my quad core.
Hi Zach,
Can you remind me please of the command line that creates the opening book :!: :?:
Dr.D
Hi Wael,

Double-click on the exe. Type bookc

Code: Select all

Usage: bookc pgn_file book_file min_play max_depth win_percent
Jim.
Hi Jim,
Thanks....I'll send it to you when ready....pretty soon :D
Dr.D
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
User avatar
Werner
Posts: 2991
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: ZCT 0.3.2500 released

Post by Werner »

Thanks Jim,
are there other changes to your first 32bit compiles?

Which compile should I use for 32bit 1CPU tests (the first ones or the smp version with 1CPU ?)
Werner
User avatar
Jim Ablett
Posts: 2282
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: ZCT 0.3.2500 released

Post by Jim Ablett »

Werner wrote:Thanks Jim,
are there other changes to your first 32bit compiles?

Which compile should I use for 32bit 1CPU tests (the first ones or the smp version with 1CPU ?)
Hi Werner,

You can use latest 32-bit MP version. MP is not enabled in the 'ZCT.ini' by default.

Code: Select all

# Use 4 processors
#mp 2

Remove hash in front to enable MP.

Jim.