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

MacOS编译失败 #85

Open
wanjiaju3108 opened this issue Nov 10, 2024 · 0 comments
Open

MacOS编译失败 #85

wanjiaju3108 opened this issue Nov 10, 2024 · 0 comments

Comments

@wanjiaju3108
Copy link

wanjiaju3108 commented Nov 10, 2024

Describe the issue

本地拉取代码后 进入src 复制最新的nnue文件到src 然后执行
make clean
make build
生成的pikafish执行后 运行go命令报错

info string ERROR: Network evaluation parameters compatible with the engine must be available.
info string ERROR: The network file pikafish.nnue was not loaded successfully.
info string ERROR: The UCI option EvalFile might need to specify the full path, including the directory name, to the network file.
info string ERROR: The default net can be downloaded from: https://github.com/official-pikafish/Networks/releases/download/master-net/pikafish.nnue
info string ERROR: The engine will be terminated now.

如果执行make profile-build 则PGOBENCH.out的错误信息为

Pikafish dev-20241110-nogit by the Pikafish developers (see AUTHORS file)
info string Using 1 thread

Position: 1/48 (rnbakabnr/9/1c5c1/p1p1p1p1p/9/9/P1P1P1P1P/1C5C1/9/RNBAKABNR w - - 0 1)
info string ERROR: Network evaluation parameters compatible with the engine must be available.
info string ERROR: The network file pikafish.nnue was not loaded successfully.
info string ERROR: The UCI option EvalFile might need to specify the full path, including the directory name, to the network file.
info string ERROR: The default net can be downloaded from: https://github.com/official-pikafish/Networks/releases/download/master-net/pikafish.nnue
info string ERROR: The engine will be terminated now.

Expected behavior

Steps to reproduce

机器信息:
2024年13寸macbook air
系统版本:
MacOS Sequoia 版本15.1 (24B83)
引擎compiler信息:

Compiled by                : clang++ 16.0.0 on Apple
Compilation architecture   : apple-silicon
Compilation settings       : 64bit POPCNT NEON_DOTPROD
Compiler __VERSION__ macro : Apple LLVM 16.0.0 (clang-1600.0.26.4)

Anything else?

可能是36eca8dd444b0e3e13fda9fc334f596c05f41b5a这个修订导致的
对这个修订revert commit以后就正常了

Operating system

MacOS

Pikafish version

代码分支master nnue文件为https://github.com/official-pikafish/Networks/releases/download/master-net/pikafish.nnue下载

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

1 participant