numactl on armv7h

Request a package to be made here. Make sure you have searched before requesting.

numactl on armv7h

Postby acconciox » Thu Nov 10, 2016 3:40 pm

HI, im a fan of chess engines, and im talking about https://github.com/syzygy1/Cfish cfish is fork of stockfish a very famous open source chess engine written in C++, cfish is a fork written in C by Ronald De Man, the syzygy author.
On raspberry pi 3 b the compile is possible i dont know if it's correct or the faster way but i did it this way changing Makefile.

make build ARCH=armv7

here are changes:

Code: Select all
compiled cfish with this difference:
diff Makefile Makefileoriginale
71,72c71,72
< popcnt = no # yes
< sse = no # yes
---
> popcnt = yes
> sse = yes
75c75
< numa = no # yes
---
> numa = yes
154c154
<    CFLAGS += -pedantic -Wextra -Wshadow # raspi -m$(bits)
---
>    CFLAGS += -pedantic -Wextra -Wshadow -m$(bits)
264,267c264
<          # CFLAGS += -fno-gcse -mthumb -march=armv7-a -mfloat-abi=softfp
<          CXXFLAGS += -fno-gcse -march=armv8-a+crc -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -ftree-vectorize -funsafe-math-optimizations -mvectorize-with-neon-quad --pipe -O2
<
<          LDFLAGS += -lpthread # line to add
---
>          CFLAGS += -fno-gcse -mthumb -march=armv7-a -mfloat-abi=softfp
423c420
<    $(MAKE) ARCH=$(ARCH) COMP=$(COMP) # raspi config-sanity
---
>    $(MAKE) ARCH=$(ARCH) COMP=$(COMP) config-sanity


as you can see i flagged no numa.
numa would speed up a lot the analyze, so, the question is, there is a way to install and make it available numa on armv7h raspberry pi 3 b?
acconciox
 
Posts: 85
Joined: Thu May 05, 2016 4:39 pm

Re: numactl on armv7h

Postby WarheadsSE » Fri Nov 11, 2016 12:32 am

NUMA is a CPU feature, IIRC
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6729
Joined: Mon Oct 18, 2010 2:12 pm


Return to Package Requests

Who is online

Users browsing this forum: No registered users and 2 guests