Ethereal icon indicating copy to clipboard operation
Ethereal copied to clipboard

Unable to run after compile on Mysys2

Open magicianfromriga opened this issue 3 years ago • 8 comments

Hi, I ran the make command on Mysys2 after cloning the git repository. I am unable to run Ethereal after it compiles (without errors). Can you please include a way to compile it on the readme like the Stockfish repo? Thanks!

magicianfromriga avatar Jun 09 '21 12:06 magicianfromriga

Could you please include more information? I would expect a simple make to work on all systems with at least popcnt support. However,I cannot say I've ever compiled using Mysys2.

Can you provide Mysys2's version, the command you used to make the engine, your CPU name, and what you mean by "unable to run Ethereal"? Does it throw an error message? Does it stall? Does it refuse to open?

AndyGrant avatar Jun 09 '21 14:06 AndyGrant

Hello all,

Is Mysys2 something like Cygwin ?

For your information, i don't know if on an RBP4 (armv8) i have to use "make release" or make "armv8" , using armv8 option , the option -m64 is not recognised (i can provide details) The first compile line of "release" part is working fine on my Ubuntu-server-aarch64 on the RBP4 I compile (release) it also on an old Core i5 (all versions are working) Il also compare then using bench option and grep OVERALL to see the difference of nps and I was surprised because there is not a lot of difference between the instruction set used AVX2 POPCNT and so on .... I'm very impressed by the very high nps (over 2000000 by core) value that show the coding+compilation directive is optimized

The engine is used on Robot on Lichess (don't believe what i write on description : (it is not anymore Minic Engine and will change soon)

Test it on :

https://lichess.org/@/BotVMinic

https://lichess.org/@/BotVMinic i https://lichess.org/@/BotVMinic will switch on the PC after this mail

Regards

Le mer. 9 juin 2021 à 16:57, Andrew Grant @.***> a écrit :

Could you please include more information? I would expect a simple make to work on all systems with at least popcnt support. However,I cannot say I've ever compiled using Mysys2.

Can you provide Mysys2's version, the command you used to make the engine, your CPU name, and what you mean by "unable to run Ethereal"? Does it throw an error message? Does it stall? Does it refuse to open?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AndyGrant/Ethereal/issues/180#issuecomment-857768659, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3XLLJG5BTCCRUCBCH4D7DTR56NVANCNFSM46L7A3BQ .

-- Jérôme Monsçavoir @.*** 06 07 90 89 57

BrennusJ avatar Jun 09 '21 16:06 BrennusJ

I have an i7-4790k. It supports BMI2 instructions. I ran make first. It compiled, then when I tried to run the engine it said error - libwinpthread -1.dll is missing. This has never happened to me when I compiled cfish or stockfish. Can you please suggest what to do?

magicianfromriga avatar Jun 10 '21 07:06 magicianfromriga

Is under Windows a -static compilation ? Under Linux it seems to be

Le jeu. 10 juin 2021 à 09:57, magicianofriga @.***> a écrit :

I have an i7-4790k. It supports BMI2 instructions. I ran make first. It compiled, then when I tried to run the engine it said error - libwinpthread -1.dll is missing. This has never happened to me when I compiled cfish or stockfish. Can you please suggest what to do?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AndyGrant/Ethereal/issues/180#issuecomment-858401320, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3XLLKR42CU26LBDZGJGVLTSBV5LANCNFSM46L7A3BQ .

-- Jérôme Monsçavoir @.*** 06 07 90 89 57

BrennusJ avatar Jun 10 '21 08:06 BrennusJ

Seems to working fine now for sse3 under Windows (gcc version 7.4.0 (GCC))

[image: image.png]

[image: image.png]

Le jeu. 10 juin 2021 à 10:00, Jerome Monscavoir @.***> a écrit :

Is under Windows a -static compilation ? Under Linux it seems to be

Le jeu. 10 juin 2021 à 09:57, magicianofriga @.***> a écrit :

I have an i7-4790k. It supports BMI2 instructions. I ran make first. It compiled, then when I tried to run the engine it said error - libwinpthread -1.dll is missing. This has never happened to me when I compiled cfish or stockfish. Can you please suggest what to do?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AndyGrant/Ethereal/issues/180#issuecomment-858401320, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3XLLKR42CU26LBDZGJGVLTSBV5LANCNFSM46L7A3BQ .

-- Jérôme Monsçavoir @.*** 06 07 90 89 57

-- Jérôme Monsçavoir @.*** 06 07 90 89 57

BrennusJ avatar Jun 10 '21 08:06 BrennusJ

Your compiler is not POSIX compliant. A POSIX compliant compiler is needed to handle Ethereal's threading, as it does not fallback on Windows things. Perhaps you can download that .dll and place it in the same folder. Otherwise, I personally don't recommend non-POSIX gcc installations. https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-posix/seh/x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z is what I use for Windows.

AndyGrant avatar Jun 10 '21 14:06 AndyGrant

Ok thanks, will try this out!

magicianfromriga avatar Jun 10 '21 18:06 magicianfromriga

Hi, Can you please post more detailed instructions? How do we clone it without Mysys2? How do we compile it? I am not that well versed in coding so I don't know how it's done. Sorry for the inconvenience. Thank you!

magicianfromriga avatar Jun 13 '21 14:06 magicianfromriga