Source code needed for simple experiment

Discussion of chess software programming and technical issues.

Moderator: Ras

Michael Sherwin
Posts: 3196
Joined: Fri May 26, 2006 3:00 am
Location: WY, USA
Full name: Michael Sherwin

Re: Source code needed for simple experiment

Post by Michael Sherwin »

mar wrote:one more thing: it seems Microsoft broke the CRT (still not fixed!) so you'll probably have to set Windows SDK to 10.x in general properties or you can simply go to main.cpp and delete the 4 lines below "disable I/O buffering".

have fun :)
Is that why Viper won't run in windows 10 as well?
If you are on a sidewalk and the covid goes beep beep
Just step aside or you might have a bit of heat
Covid covid runs through the town all day
Can the people ever change their ways
Sherwin the covid's after you
Sherwin if it catches you you're through
mar
Posts: 2676
Joined: Fri Nov 26, 2010 2:00 pm
Location: Czech Republic
Full name: Martin Sedlak

Re: Source code needed for simple experiment

Post by mar »

Michael Sherwin wrote:Is that why Viper won't run in windows 10 as well?
Hmm, could be. You can try to set Windows SDK to 10.x for Viper to see if it helps.
Dann Corbit
Posts: 12845
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Source code needed for simple experiment

Post by Dann Corbit »

Michael Sherwin wrote:
Dann Corbit wrote:
Michael Sherwin wrote:Is source code available for a material only searcher that is simple fast and hopefully smp? I want to do a very simple experiment for a search based on statistics and material only with absolutely no positional evaluation involved.
Suggestion:
Start with Viper, and simplify the eval to have wood only.
Thanks Dann, Sounds good! I recently downloaded Jim Ablett's Compile of Viper and could not get it to work in Windows 10 under Arena. I then tried compiling Viper myself with the same result. What am I doing wrong?
Nothing, it used to work, but something has changed (probably in the Windows API) and it just hangs now.

Too bad, because your eval would have been as simple as this:

Code: Select all

int evaluate(const position_t *pos, int thread_id) {
    unsigned us = pos->side;
    unsigned them = us^1;	
    return pos->material[us] - pos->material[them];
}
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.