Open letter to chess programmers

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Sven
Posts: 4052
Joined: Thu May 15, 2008 9:57 pm
Location: Berlin, Germany
Full name: Sven Schüle

Re: 24+ hours ...

Post by Sven »

laoliveirajr wrote:Which the average time to run the program CSVN Fingerprinting test tool v1.0 do a full run?

In my Core2Quad Q6600 2400 is already running 24 hours ago ...

Already on the second day with the same screen:

Code: Select all

CSVN Fingerprinting test tool v1.0
----------------------------------

What type of engine is used? (W/U) : u
What is the name of the engine executable? : CapivaraLK009a01a.exe
done.
Engine search: 1/10000 |
Looks like it is hanging. According to the C++ source code of the tool I would say that "something" in the context either of the first or the second test position is hanging so that the main thread can't proceed with the next position. The code in main() looks like this:

Code: Select all

	int i=1;
	while (fgets(buf,1024,epd)) {
		strtok(buf,"\n\r");
		engine->SetPosition(buf);
		engine->SetSearchTime(1);
		searching=true;
		engine->Search(0, 0, fHandler, 0, 0, 0);
		fprintf(stderr,"\rEngine search: %d/10000 ",i);
		while (searching) {
			fprintf(stderr,"\\\b"); Sleep(250);
			if (!searching) break;
			fprintf(stderr,"|\b"); Sleep(250);
			if (!searching) break;
			fprintf(stderr,"/\b"); Sleep(250);
			if (!searching) break;
			fprintf(stderr,"-\b"); Sleep(250);
		}
		i++;
	}
	fprintf(stderr,"\nDone.\n");
where Search() spawns a response thread that talks to the engine.

So I'd guess the first position worked (the inner "while" loop was left after printing "|" followed by a backspace) but working on the second position got stuck somehow so it could be a bug in the tool.

Do you see your engine process running in the task manager? If so, does it appear to be searching?

Sven
pijl
Posts: 115
Joined: Mon Sep 17, 2012 8:59 pm

Re: 24+ hours ...

Post by pijl »

laoliveirajr wrote:Which the average time to run the program CSVN Fingerprinting test tool v1.0 do a full run?

In my Core2Quad Q6600 2400 is already running 24 hours ago ...

Already on the second day with the same screen:

Code: Select all

CSVN Fingerprinting test tool v1.0
----------------------------------

What type of engine is used? (W/U) : u
What is the name of the engine executable? : CapivaraLK009a01a.exe
done.
Engine search: 1/10000 |
Have you implemented 'movetime' in your engine?
laoliveirajr
Posts: 138
Joined: Tue Sep 25, 2012 11:39 pm
Location: Brasilia DF Brazil

Re: 24+ hours ...

Post by laoliveirajr »

pijl wrote:
laoliveirajr wrote:Which the average time to run the program CSVN Fingerprinting test tool v1.0 do a full run?

In my Core2Quad Q6600 2400 is already running 24 hours ago ...

Already on the second day with the same screen:

Code: Select all

CSVN Fingerprinting test tool v1.0
----------------------------------

What type of engine is used? (W/U) : u
What is the name of the engine executable? : CapivaraLK009a01a.exe
done.
Engine search: 1/10000 |
Have you implemented 'movetime' in your engine?
Yes, but I still put not it in UCI output...
Thanks, I ll try !

.
laoliveirajr
Posts: 138
Joined: Tue Sep 25, 2012 11:39 pm
Location: Brasilia DF Brazil

Re: 24+ hours ...

Post by laoliveirajr »

Sven Schüle wrote:
.

...

.


where Search() spawns a response thread that talks to the engine.

So I'd guess the first position worked (the inner "while" loop was left after printing "|" followed by a backspace) but working on the second position got stuck somehow so it could be a bug in the tool.

Do you see your engine process running in the task manager? If so, does it appear to be searching?

Sven
Where is a pipe ("|") in the evidence, during the execution spins like a propeller fan!

In task manager each version of Capivara appears using a 25% of the Core2Quad.

Now I will try with a 3rd re-build I will make today !!!
User avatar
lucasart
Posts: 3232
Joined: Mon May 31, 2010 1:29 pm
Full name: lucasart

Re: 24+ hours ...

Post by lucasart »

What is this CSVN Fingerprinting test tool?
Does it work on Linux? Or is it Windows only? If it does, and it's not a hassle, I will run it on DiscoCheck.
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
kinderchocolate
Posts: 454
Joined: Mon Nov 01, 2010 6:55 am
Full name: Ted Wong

Re: 24+ hours ...

Post by kinderchocolate »

I think it's a Python script so you won't have problems on Linux.
User avatar
lucasart
Posts: 3232
Joined: Mon May 31, 2010 1:29 pm
Full name: lucasart

Re: 24+ hours ...

Post by lucasart »

OK I got an executable for Linux to run as follows:

Code: Select all

./run-simtest-uci engine 4 1 < simcsvn1.epd > simcsvn1.engine.epd
so where do I find this simcsvn1.epd ?

It would really help if the website was in *English*
This silly EPD is probably just in front of my eyes, but written in Dutch...
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: 24+ hours ...

Post by bob »

lucasart wrote:OK I got an executable for Linux to run as follows:

Code: Select all

./run-simtest-uci engine 4 1 < simcsvn1.epd > simcsvn1.engine.epd
so where do I find this simcsvn1.epd ?

It would really help if the website was in *English*
This silly EPD is probably just in front of my eyes, but written in Dutch...
It is right below the download link for the simtest itself... I think it is called something like cvxmxxxxx.epd... the xxx characters I do not remember...
User avatar
lucasart
Posts: 3232
Joined: Mon May 31, 2010 1:29 pm
Full name: lucasart

Re: 24+ hours ...

Post by lucasart »

bob wrote:
lucasart wrote:OK I got an executable for Linux to run as follows:

Code: Select all

./run-simtest-uci engine 4 1 < simcsvn1.epd > simcsvn1.engine.epd
so where do I find this simcsvn1.epd ?

It would really help if the website was in *English*
This silly EPD is probably just in front of my eyes, but written in Dutch...
It is right below the download link for the simtest itself... I think it is called something like cvxmxxxxx.epd... the xxx characters I do not remember...
Well I still don't find it. I can't find EPD anywhere on this website in fact. It would really help if they could write that page in english and put the EPD in the download package...
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
kinderchocolate
Posts: 454
Joined: Mon Nov 01, 2010 6:55 am
Full name: Ted Wong

Re: 24+ hours ...

Post by kinderchocolate »

lucasart wrote:
bob wrote:
lucasart wrote:OK I got an executable for Linux to run as follows:

Code: Select all

./run-simtest-uci engine 4 1 < simcsvn1.epd > simcsvn1.engine.epd
so where do I find this simcsvn1.epd ?

It would really help if the website was in *English*
This silly EPD is probably just in front of my eyes, but written in Dutch...
It is right below the download link for the simtest itself... I think it is called something like cvxmxxxxx.epd... the xxx characters I do not remember...
Well I still don't find it. I can't find EPD anywhere on this website in fact. It would really help if they could write that page in english and put the EPD in the download package...
Lucas, it's in the download link at the bottom. (CSVN Gelijkenistest / Similarity Test 2013).