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

Compilation error CPU affinity string #1910

Closed
dzovani opened this issue May 18, 2024 · 1 comment
Closed

Compilation error CPU affinity string #1910

dzovani opened this issue May 18, 2024 · 1 comment

Comments

@dzovani
Copy link

dzovani commented May 18, 2024

make -j run
Using MACHINE=native
Using EXTRAS=
config/extra/with-openssl.mk:9: "openssl not installed, skipping"
config/extra/with-rocksdb.mk:11: "rocksdb not installed, skipping"
Using FD_HAS_SSE=1
Using FD_HAS_AVX=1
Using FD_HAS_AVX512= 
Using FD_HAS_GFNI=
Using FD_HAS_SHANI=1
Using FD_HAS_AESNI=1
bn254 disabled due to lack of libff
src/app/ledger/Local.mk:10: ledger tool build disabled due to lack of rocksdb
src/app/shredcap/Local.mk:4: shredcap capture tool build disabled due to lack of rocksdb
Using FIREDANCER_VERSION=0.0.11720
cd ./solana && env --unset=LDFLAGS RUSTFLAGS="-C force-frame-pointers=yes -C target-cpu=native" ./cargo build --profile=release-with-debug --lib -p solana-validator
+ exec cargo +1.73.0 build --profile=release-with-debug --lib -p solana-validator
    Finished release-with-debug [optimized + debuginfo] target(s) in 0.34s
build/native/gcc/bin/fddev dev --monitor
NOTICE  05-18 09:15:26.152844 409131 f0   0    src/app/fdctl/config.c(685): initializing topology - kind: frankendancer
ERR     05-18 09:15:26.153912 409131 f0   0    src/app/fdctl/run/topos/fd_frankendancer.c(84): The CPU affinity string in the configuration file under [layout.affinity] specifies a CPU index of 12, but the system only has 12 CPUs. You should either change the CPU allocations in the affinity string, or increase the number of CPUs in the system.
make: *** [src/app/fddev/Local.mk:42: run] Error 1

@mmcgee-jump
Copy link
Contributor

This is not a compilation error, Firedancer compiled successfully and is trying to run. The error message is telling you what's wrong.

ERR 05-18 09:15:26.153912 409131 f0 0 src/app/fdctl/run/topos/fd_frankendancer.c(84): The CPU affinity string in the configuration file under [layout.affinity] specifies a CPU index of 12, but the system only has 12 CPUs. You should either change the CPU allocations in the affinity string, or increase the number of CPUs in the system.

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

2 participants