You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I was trying to run the library on my pc with nvidia gpu. I am getting the following error on ./test.sh (Among a lot of warnings. Is that expected again?)
= note: /usr/bin/ld: /home/kapil/plonky2-ed25519/target/release/deps/plonky2_ed25519-2948e1628453fb25.plonky2_ed25519.809e7ac6b13148cf-cgu.15.rcgu.o: in function `plonky2::plonk::prover::my_prove':
plonky2_ed25519.809e7ac6b13148cf-cgu.15:(.text._ZN7plonky25plonk6prover8my_prove17h236a193705f00d85E+0x1059): undefined reference to `compute_quotient_polys'
/usr/bin/ld: /home/kapil/plonky2-ed25519/target/release/deps/plonky2_ed25519-2948e1628453fb25.plonky2_ed25519.809e7ac6b13148cf-cgu.05.rcgu.o: in function `plonky2::fri::oracle::PolynomialBatch<F,C,_>::from_coeffs_with_gpu':
plonky2_ed25519.809e7ac6b13148cf-cgu.05:(.text._ZN7plonky23fri6oracle32PolynomialBatch$LT$F$C$C$C$_$GT$20from_coeffs_with_gpu17hab61329dc692f495E+0x351): undefined reference to `merkle_tree_from_coeffs'
/usr/bin/ld: /home/kapil/plonky2-ed25519/target/release/deps/plonky2_ed25519-2948e1628453fb25.plonky2_ed25519.809e7ac6b13148cf-cgu.05.rcgu.o: in function `plonky2::fri::oracle::PolynomialBatch<F,C,_>::from_values_with_gpu':
plonky2_ed25519.809e7ac6b13148cf-cgu.05:(.text._ZN7plonky23fri6oracle32PolynomialBatch$LT$F$C$C$C$_$GT$20from_values_with_gpu17h96cf15a93de94b5eE+0x3bd): undefined reference to `ifft'
/usr/bin/ld: plonky2_ed25519.809e7ac6b13148cf-cgu.05:(.text._ZN7plonky23fri6oracle32PolynomialBatch$LT$F$C$C$C$_$GT$20from_values_with_gpu17h96cf15a93de94b5eE+0x47c): undefined reference to `merkle_tree_from_coeffs'
collect2: error: ld returned 1 exit status
= note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the `-l` flag to specify native libraries to link
= note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
warning: `plonky2_ed25519` (bin "plonky2_ed25519") generated 5 warnings
error: could not compile `plonky2_ed25519` (bin "plonky2_ed25519") due to previous error; 5 warnings emitted
Time: 0h:00m:31s
I should also mention that I cannot seem to cargo +nightly build crates in extern either. It fails with following error
error[E0061]: this function takes 6 arguments but 5 arguments were supplied
--> starky/src/prover.rs:175:9
|
175 | PolynomialBatch::prove_openings(
| _________^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
176 | | &stark.fri_instance(zeta, g, config),
177 | | &initial_merkle_trees,
178 | | &mut challenger,
179 | | &fri_params,
180 | | timing,
181 | | )
| |_________- an argument of type `&mut Option<&mut CudaInvContext<F, C, D>>` is missing
|
note: associated function defined here
--> /home/kapil/plonky2-ed25519/extern/plonky2/plonky2/src/fri/oracle.rs:1047:12
|
1047 | pub fn prove_openings(
| ^^^^^^^^^^^^^^
help: provide the argument
|
175 | PolynomialBatch::prove_openings(&stark.fri_instance(zeta, g, config), &initial_merkle_trees, &mut challenger, &fri_params, timing, /* &mut Option<&mut CudaInvContext<F, C, D>> */)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For more information about this error, try `rustc --explain E0061`.
warning: `plonky2` (lib) generated 45 warnings (run `cargo fix --lib -p plonky2` to apply 35 suggestions)
error: could not compile `starky` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
Time: 0h:00m:28s
I followed these steps to run. Also note I am not using any package manager like nix.
Hello, I was trying to run the library on my pc with nvidia gpu. I am getting the following error on
./test.sh
(Among a lot of warnings. Is that expected again?)I should also mention that I cannot seem to
cargo +nightly build
crates inextern
either. It fails with following errorI followed these steps to run. Also note I am not using any package manager like nix.
git clone --recursive https://github.com/sideprotocol/plonky2-ed25519.git
cd plonky2-ed25519
test.sh
My setup is
The text was updated successfully, but these errors were encountered: