official-pikafish/Pikafish

fail to compile on Linux machine?

Opened this issue · 3 comments

Describe the issue

machine: Linux 22.04
CPU: AMD 3090

git clone https://github.com/official-pikafish/Pikafish
cd Pikafish/src
sudo make -j profile-build ARCH=x86-64-avx2 

or replace last command as:
make -j build ARCH=x86-64
or make -j profile-build ARCH=x86-64-bmi2

Expected behavior

report an error,

lto-wrapper: warning: jobserver is not available: ‘--jobserver-auth=’ is not present in ‘MAKEFLAGS’
make[2]: Leaving directory '~/Pikafish/src'
make[1]: Leaving directory '~/Pikafish/src'

Step 2/4. Running benchmark for pgo-build ...
./pikafish bench > PGOBENCH.out 2>&1
make: *** [Makefile:913: profile-build] Error 1

even change the command above as example, still see this error message.

Steps to reproduce

please see the steps in description and error in expected behaviour

Anything else?

No response

Operating system

Linux

Pikafish version

Pikafish 2024-01-26 b764ad9

Did you make sure ./pikafish bench can locate the NNUE file correctly?

Try this before running make:

wget -c https://github.com/official-pikafish/Networks/releases/download/master-net/pikafish.nnue

COMP: clang