Cadabra compiles

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

Moderator: Ras

User avatar
Gabor Szots
Posts: 1482
Joined: Sat Jul 21, 2018 7:43 am
Location: Budapest, Hungary
Full name: Gabor Szots

Cadabra compiles

Post by Gabor Szots »

For those interested I have put 64-bit compiles of three Cadabra versions here:

As I am not a compilation expert I simply used the command 'cargo build --release' for all three. Therefore they are going to work on modern hardware only.
Gabor Szots
CCRL testing group
chessica
Posts: 993
Joined: Thu Aug 11, 2022 11:30 pm
Full name: Esmeralda Pinto

Re: Cadabra compiles

Post by chessica »

AbraKadabra, Simsalabim...

shit happens, it doesnt works for my old PC 64bit with sse3.
User avatar
Gabor Szots
Posts: 1482
Joined: Sat Jul 21, 2018 7:43 am
Location: Budapest, Hungary
Full name: Gabor Szots

Re: Cadabra compiles

Post by Gabor Szots »

chessica wrote: Mon May 29, 2023 10:41 pm AbraKadabra, Simsalabim...

shit happens, it doesnt works for my old PC 64bit with sse3.
I'm not surprised. I guess it requires a Haswell.
Gabor Szots
CCRL testing group
User avatar
Gabor Szots
Posts: 1482
Joined: Sat Jul 21, 2018 7:43 am
Location: Budapest, Hungary
Full name: Gabor Szots

Re: Cadabra compiles

Post by Gabor Szots »

Here is another one for you. This could be OK with your machine but no guarantees. The truth is that I am only guesssing.

The link:
Gabor Szots
CCRL testing group
chessica
Posts: 993
Joined: Thu Aug 11, 2022 11:30 pm
Full name: Esmeralda Pinto

Re: Cadabra compiles

Post by chessica »

Thank you for your efforts, but this engine does not work for me as I feared.
I assumed that source files can be generated by the compiler for any os platform,
but this does not seem to be the case.
Guenther
Posts: 4718
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: Cadabra compiles

Post by Guenther »

chessica wrote: Wed May 31, 2023 11:48 am Thank you for your efforts, but this engine does not work for me as I feared.
I assumed that source files can be generated by the compiler for any os platform,
but this does not seem to be the case.
You can try this one:
https://rwbc-chess.de/Downloads/Engines ... _120-64.7z

compiled in msys2 (cargo/rust 1.69.0) with this flag:

Code: Select all

RUSTFLAGS='-C target-feature=+sse3' cargo rustc --release
.rustc_info.json excerpt for target-features used while building:

Code: Select all

..."\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_feature=\"sse3\...

Code: Select all

Cadabra 1.2.0 by Joachim Enggaard Nebel
uci
id name Cadabra 1.2.0
id author Joachim Enggaard Nebel

option name Hash type spin default 16 min 1 max 1048576
option name Threads type spin default 1 min 1 max 255
option name Clear Hash type button
uciok
isready
readyok
position startpos
go depth 13
info score cp 30 depth 1 nodes 23 time 0 pv g1f3
info score cp 0 depth 2 nodes 128 time 1 pv g1f3 g8f6
info score cp 30 depth 3 nodes 697 time 1 pv g1f3 g8f6 b1c3
info score cp 0 depth 4 nodes 2260 time 4 pv g1f3 g8f6 b1c3 b8c6
info score cp 30 depth 5 nodes 6028 time 9 pv g1f3 g8f6 b1c3 b8c6 e2e4
info score cp 0 depth 6 nodes 18600 time 27 pv g1f3 g8f6 b1c3 b8c6 e2e4 e7e5
info score cp 20 depth 7 nodes 43625 time 54 pv g1f3 g8f6 b1c3 b8c6 d2d4 d7d5 c1f4
info score cp 0 depth 8 nodes 155262 time 197 pv g1f3 g8f6 b1c3 b8c6 d2d4 d7d5 c1f4 c8f5
info score cp 20 depth 9 nodes 301191 time 366 pv g1f3 g8f6 b1c3 b8c6 d2d4 d7d5 g2g3 c8f5 f1g2
info score cp 20 depth 10 nodes 999979 time 1198 pv e2e4 b8c6 g1f3 g8f6 e4e5 f6e4 d2d3 e4c5 d3d4 c5e4
info score cp 20 depth 11 nodes 4607979 time 5380 pv b1c3 b8c6 e2e4 e7e5 g2g3 g8f6 f1g2 f8c5 g1f3 e8g8 e1g1
info score cp 10 depth 12 nodes 7853200 time 9157 pv b1c3 b8c6 e2e4 e7e5 g1f3 g8f6 d2d4 e5d4 f3d4 d7d5 e4d5 f6d5
info score cp 20 depth 13 nodes 20938269 time 24171 pv e2e4 e7e5 g1f3 g8f6 b1c3 b8c6 d2d4 e5d4 f3d4 d7d5 e4d5 f6d5 f1c4
bestmove e2e4
P.S. I forgot to tell it is now at version 1.2.0 (see cmd output)

Guenther
https://rwbc-chess.de

[Trolls n'existent pas...]
chessica
Posts: 993
Joined: Thu Aug 11, 2022 11:30 pm
Full name: Esmeralda Pinto

Re: Cadabra compiles

Post by chessica »

Guenther wrote: Wed May 31, 2023 2:17 pm
chessica wrote: Wed May 31, 2023 11:48 am Thank you for your efforts, but this engine does not work for me as I feared.
I assumed that source files can be generated by the compiler for any os platform,
but this does not seem to be the case.
You can try this one:
https://rwbc-chess.de/Downloads/Engines ... _120-64.7z

...
Guenther
Thanks, this is working for me. :-)
chessica
Posts: 993
Joined: Thu Aug 11, 2022 11:30 pm
Full name: Esmeralda Pinto

Re: Cadabra compiles

Post by chessica »

Guenther wrote: Wed May 31, 2023 2:17 pm :::

compiled in msys2 (cargo/rust 1.69.0) with this flag:

Code: Select all

RUSTFLAGS='-C target-feature=+sse3' cargo rustc --release
.rustc_info.json excerpt for target-features used while building:

Code: Select all

..."\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_feature=\"sse3\...
:::

Guenther
Hi, I use MSVS2022 and no msys2. Is it possible to compile Cadabra with msvs2022 (visual studio)?
Chessqueen
Posts: 5685
Joined: Wed Sep 05, 2018 2:16 am
Location: Moving
Full name: Jorge Picado

Re: Cadabra compiles

Post by Chessqueen »

chessica wrote: Wed May 31, 2023 8:24 pm
Guenther wrote: Wed May 31, 2023 2:17 pm :::

compiled in msys2 (cargo/rust 1.69.0) with this flag:

Code: Select all

RUSTFLAGS='-C target-feature=+sse3' cargo rustc --release
.rustc_info.json excerpt for target-features used while building:

Code: Select all

..."\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_feature=\"sse3\...
:::

Guenther
Hi, I use MSVS2022 and no msys2. Is it possible to compile Cadabra with msvs2022 (visual studio)?
My antivirus Norton and Total AV gave me a warning that this Engine executable file is dangerous for my PC :roll:
chessica
Posts: 993
Joined: Thu Aug 11, 2022 11:30 pm
Full name: Esmeralda Pinto

Re: Cadabra compiles

Post by chessica »

chessica wrote: Wed May 31, 2023 8:24 pm
Guenther wrote: Wed May 31, 2023 2:17 pm :::

compiled in msys2 (cargo/rust 1.69.0) with this flag:

Code: Select all

RUSTFLAGS='-C target-feature=+sse3' cargo rustc --release
.rustc_info.json excerpt for target-features used while building:

Code: Select all

..."\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_feature=\"sse3\...
:::

Guenther

[fen]4k3/R7/3K4/8/8/8/8/8 w - - 10 23[/fen]


myCadabra:

id name Cadabra 1.1.0

8 00:00,964 2.324k 2.411k +5,70 Kd6e6 Ke8d8 Ta7d7+ Kd8c8 Ke6d6 Kc8b8 Td7c7 Kb8a8 Kd6e5
9 00:04,381 10.939k 2.497k +5,75 Ta7e7+ Ke8f8 Kd6e6 Kf8g8 Ke6f6 Kg8f8 Te7g7 Kf8e8 Tg7g8+ Ke8d7 Kf6e5
10 00:41,268 103.279k 2.503k +M5 Ta7d7 Ke8f8 Kd6e6 Kf8e8 Td7d1 Ke8f8 Td1g1 Kf8e8 Tg1g8+
Bester Zug: Ta7-d7, Wert: +Matt in 5, Tiefe: 10, Dauer: 00:45,464, 103.279.376 Knoten, 2.502.650 K/sek