New engine: Clover

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

Moderators: hgm, Rebel, chrisw

User avatar
Guenther
Posts: 4610
Joined: Wed Oct 01, 2008 6:33 am
Location: Regensburg, Germany
Full name: Guenther Simon

Re: New engine: Clover

Post by Guenther »

Gabor Szots wrote: Sat Apr 24, 2021 8:56 am
Guenther wrote: Sat Apr 24, 2021 8:17 am
lucametehau wrote: Fri Apr 23, 2021 10:12 pm Finally deleted useless weights.txt from the whole project and created new release which hopefully works. :D

Link: https://github.com/lucametehau/CloverEn ... g/v2.1.1.2
No, neither for the download nor for self compiling, it will always immediately crash here.
This is strange, first it crashed for me then it worked.
It has this in main.cpp

Code: Select all

#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
The funny thing is it seems those pragmas are not even used somewhere and no macros available, but removing them, or changing the instructions in them doesn't help either (same for adding the avilable ones as compiler flags including -mtune=native, tried all kind of combinations).
Wasted already too much time with it, there are not even build instructions, or a makefile and producing a 32-bit release (which also does not work here) is quite strange.
https://rwbc-chess.de

trollwatch:
Talkchess nowadays is a joke - it is full of trolls/idiots/people stuck in the pleistocene > 80% of the posts fall into this category...
lucametehau
Posts: 100
Joined: Thu Apr 22, 2021 3:56 pm
Location: Bucharest, Romania
Full name: Metehau Luca

Re: New engine: Clover

Post by lucametehau »

I'm compiling with this
g++ *.cpp *.c -flto -march=native -O3 -o output
and it doesn't crash. Also, sorry but this is my first open source project and I didn't know what makefile is. I will try to document more about this...
Dokterchen
Posts: 133
Joined: Wed Aug 15, 2007 12:18 pm
Location: Munich

Re: New engine: Clover

Post by Dokterchen »

Gabor Szots wrote: Fri Apr 23, 2021 9:47 pm Windows Defender removes Clover 2.1.1 exe as a Trojan.
Same for me with version 2.1.1.2
Gabor Szots
Posts: 1364
Joined: Sat Jul 21, 2018 7:43 am
Location: Szentendre, Hungary
Full name: Gabor Szots

Re: New engine: Clover

Post by Gabor Szots »

lucametehau wrote: Sat Apr 24, 2021 2:12 pm I'm compiling with this
g++ *.cpp *.c -flto -march=native -O3 -o output
and it doesn't crash. Also, sorry but this is my first open source project and I didn't know what makefile is. I will try to document more about this...
What is your CPU?
Gabor Szots
CCRL testing group
lucametehau
Posts: 100
Joined: Thu Apr 22, 2021 3:56 pm
Location: Bucharest, Romania
Full name: Metehau Luca

Re: New engine: Clover

Post by lucametehau »

Intel Core i5-8250U CPU @1.60 GHz 1.80 GHz
Gabor Szots
Posts: 1364
Joined: Sat Jul 21, 2018 7:43 am
Location: Szentendre, Hungary
Full name: Gabor Szots

Re: New engine: Clover

Post by Gabor Szots »

lucametehau wrote: Sat Apr 24, 2021 2:45 pm Intel Core i5-8250U CPU @1.60 GHz 1.80 GHz
Then the above command line should produce a 64-bit executable.
Gabor Szots
CCRL testing group
lucametehau
Posts: 100
Joined: Thu Apr 22, 2021 3:56 pm
Location: Bucharest, Romania
Full name: Metehau Luca

Re: New engine: Clover

Post by lucametehau »

Ok, I think I found something that was wrong. I replaced the exe with a good one in the lastest release.

Edit: Nvm, doesn't work, I will keep looking into the problem :(
lucametehau
Posts: 100
Joined: Thu Apr 22, 2021 3:56 pm
Location: Bucharest, Romania
Full name: Metehau Luca

Re: New engine: Clover

Post by lucametehau »

Finally, replaced .exe file which was wrong.

Link: https://github.com/lucametehau/CloverEn ... g/v2.1.1.2.
Gabor Szots
Posts: 1364
Joined: Sat Jul 21, 2018 7:43 am
Location: Szentendre, Hungary
Full name: Gabor Szots

Re: New engine: Clover

Post by Gabor Szots »

lucametehau wrote: Sat Apr 24, 2021 3:29 pm Finally, replaced .exe file which was wrong.

Link: https://github.com/lucametehau/CloverEn ... g/v2.1.1.2.
Still 32-bit. Where have you got it from?
Gabor Szots
CCRL testing group
lucametehau
Posts: 100
Joined: Thu Apr 22, 2021 3:56 pm
Location: Bucharest, Romania
Full name: Metehau Luca

Re: New engine: Clover

Post by lucametehau »

Ah, it's because of my compiler. I will change my compiler and create a new exe.