Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not run in CuteChess #50

Closed
tissatussa opened this issue May 18, 2023 · 7 comments · May be fixed by #54
Closed

does not run in CuteChess #50

tissatussa opened this issue May 18, 2023 · 7 comments · May be fixed by #54
Assignees

Comments

@tissatussa
Copy link

i managed to compile Codfish on Xubuntu 22.04 but not the way you describe in the README :

$ cmake --build build --config Release --target all -j 10 --
Error: /home/roelof/Compiled/codfish/build is not a directory

and after i created a folder build i get this next error :

$ cmake --build build --config Release --target all -j 10 --
Error: could not load cache

so, i tried the normal cmake . and this is successfull : a Makefile is created and after doing make i get a binary codfish of 4.9 Mb .. in terminal this runs fine, but only when giving the command go, not with time management eg. go wtime 603000 btime 603000 winc 3000 binc 3000 which CuteChess uses .. what's wrong ?

@jsilll
Copy link
Owner

jsilll commented May 18, 2023 via email

@tissatussa
Copy link
Author

OK, good luck !
I always use CuteChess, and you should also test the engine with this (i use the GUI). The engine might work with go depth # or otherwise, but it should also run in CuteChess with the go-wtime-btime command i gave, otherwise your project is not realistic ..

Repository owner deleted a comment Dec 26, 2023
Repository owner deleted a comment Jan 20, 2024
@tissatussa
Copy link
Author

any chance the go command will fixed ?

jsilll added a commit that referenced this issue May 27, 2024
@jsilll jsilll self-assigned this May 27, 2024
@jsilll jsilll linked a pull request May 27, 2024 that will close this issue
@jsilll
Copy link
Owner

jsilll commented May 27, 2024

I opened a PR, can you check it?

@tissatussa
Copy link
Author

I opened a PR, can you check it?

it doesn't work ..

i thought you would implement the wtime & btime go command like go wtime 603000 btime 603000 winc 3000 binc 3000 to play in CuteChess etc. .. this command still gives no output.

the go depth.. command did already work in the last version, your newest version makes no difference (except bestmove !?) :

$ ./codfish_compiled_HP
Codfish Initialized in UCI Mode
uci
id name Codfish
id name Codfish
uciok
ucinewgame
position startpos
go depth 7
info score cp 36 depth 1 nodes 40 time 0 pv g1f3 
info score cp 0 depth 2 nodes 100 time 0 pv g1f3 g8f6 
info score cp 35 depth 3 nodes 1000 time 2 pv g1f3 g8f6 d2d4 
info score cp 0 depth 4 nodes 1538 time 7 pv g1f3 g8f6 d2d4 d7d5 
info score cp 33 depth 5 nodes 6969 time 28 pv g1f3 g8f6 d2d4 d7d5 b1c3 
info score cp 5 depth 6 nodes 59945 time 299 pv b1c3 g8f6 e2e4 d7d5 e4d5 f6d5 
info score cp 28 depth 7 nodes 116315 time 569 pv g1f3 g8f6 d2d4 d7d5 b1c3 b8c6 c1e3 
info score cp 22 depth 8 nodes 375925 time 1803 pv e2e4 c7c6 e4e5 d7d5 d2d4 b8d7 g1f3 e7e6 
bestmove e2e4

$ ./codfish_compiled_HP-fixed
Codfish Initialized in UCI Mode
uci
id name Codfish
id name Codfish
uciok
ucinewgame
position startpos
go depth 7
info score cp 36 depth 1 nodes 40 time 0 pv g1f3 
info score cp 0 depth 2 nodes 100 time 0 pv g1f3 g8f6 
info score cp 35 depth 3 nodes 1000 time 2 pv g1f3 g8f6 d2d4 
info score cp 0 depth 4 nodes 1538 time 7 pv g1f3 g8f6 d2d4 d7d5 
info score cp 33 depth 5 nodes 6969 time 29 pv g1f3 g8f6 d2d4 d7d5 b1c3 
info score cp 5 depth 6 nodes 59945 time 320 pv b1c3 g8f6 e2e4 d7d5 e4d5 f6d5 
info score cp 28 depth 7 nodes 116315 time 601 pv g1f3 g8f6 d2d4 d7d5 b1c3 b8c6 c1e3 
bestmove g1f3

@jsilll
Copy link
Owner

jsilll commented May 27, 2024

Before this PR it was hardcoded to always go until depth 8, as you can see from your snippets. For the time being I don't have much time to fix this command and implement it fully, I'm sorry. Besides, I would like to give this project a major overhaul to make things cleaner and better tested/benchmarked. That will happen some time in the future, surely!

@tissatussa
Copy link
Author

..I don't have much time to fix this command and implement it fully..

OK, implementing a decent time management is not easy .. i understand.

I close this Issue because it's all clear now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants