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

missing requirements #2

Open
maciejskorski opened this issue Aug 10, 2023 · 0 comments
Open

missing requirements #2

maciejskorski opened this issue Aug 10, 2023 · 0 comments

Comments

@maciejskorski
Copy link

maciejskorski commented Aug 10, 2023

There may be some undocumented dependencies, on a Linux VM (with Debian as OS) the following happens:

(.detectron2) root@2d29a0a64e2d:/home/zkp/cuZK/test# make
nvcc -arch=sm_35 -rdc=true --expt-extended-lambda ./MSMtestbn.cu libgmp.a ../depends/libff-cuda/curves/alt_bn128/alt_bn128_pp_host.cu  ../depends/libff-cuda/curves/alt_bn128/alt_bn128_init_host.cu  ../depends/libff-cuda/curves/alt_bn128/alt_bn128_g1_host.cu ../depends/libff-cuda/curves/alt_bn128/alt_bn128_g2_host.cu  ../depends/libstl-cuda/memory.cu ../depends/libff-cuda/common/utils.cu ../depends/libff-cuda/mini-mp-cuda/mini-mp-cuda.cu -o msmtesta
nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
In file included from ./MSMtestbn.cu:45:
./../depends/libff-cuda/fields/bigint_host.cuh:4:10: fatal error: gmp.h: No such file or directory
    4 | #include <gmp.h>

I think a Docker image showing the minimal setup could solve the problem and improve reproducibility.
In this specific case it is the package libgmp3-dev.

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