Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail to compile on Linux machine? #67

Open
chqzeng opened this issue Jan 29, 2024 · 3 comments
Open

fail to compile on Linux machine? #67

chqzeng opened this issue Jan 29, 2024 · 3 comments

Comments

@chqzeng
Copy link

chqzeng commented Jan 29, 2024

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

@Klamath233
Copy link

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

@Klamath233
Copy link

Try this before running make:

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

@basaiyv
Copy link

basaiyv commented Mar 26, 2024

COMP: clang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants