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

CUDA 9.1 error UBUNTU 18.04 #83

Open
lukaspistelak opened this issue Oct 16, 2020 · 1 comment
Open

CUDA 9.1 error UBUNTU 18.04 #83

lukaspistelak opened this issue Oct 16, 2020 · 1 comment

Comments

@lukaspistelak
Copy link

lukaspistelak commented Oct 16, 2020

ml@ml-System-Product-Name:~/solana-perf-libs$ make -j$(nproc)
make V=release -C src
make[1]: Entering directory '/home/ml/solana-perf-libs/src'
nvcc -rdc=true -Icommon --gpu-code=sm_37,sm_50,sm_61,sm_70,compute_35 --gpu-architecture=compute_35 -O3 -Xcompiler "-Wall -Werror -fPIC -Wno-strict-aliasing" -DENDIAN_NEUTRAL -DLTC_NO_ASM -Icuda-headers -Icuda-sha256 -c cuda-ecc-ed25519/main.cu -o release/ecc_main.o
nvcc -rdc=true -Icommon --gpu-code=sm_37,sm_50,sm_61,sm_70,compute_35 --gpu-architecture=compute_35 -O3 -Xcompiler "-Wall -Werror -fPIC -Wno-strict-aliasing" -DENDIAN_NEUTRAL -DLTC_NO_ASM -Icuda-headers -Icuda-sha256 -c cuda-ecc-ed25519/verify.cu -o release/verify.o
nvcc -rdc=true -Icommon --gpu-code=sm_37,sm_50,sm_61,sm_70,compute_35 --gpu-architecture=compute_35 -O3 -Xcompiler "-Wall -Werror -fPIC -Wno-strict-aliasing" -DENDIAN_NEUTRAL -DLTC_NO_ASM -Icuda-headers -Icuda-sha256 -c cuda-poh-verify/poh_verify.cu -o release/poh_verify.o
nvcc -rdc=true -Icommon --gpu-code=sm_37,sm_50,sm_61,sm_70,compute_35 --gpu-architecture=compute_35 -O3 -Xcompiler "-Wall -Werror -fPIC -Wno-strict-aliasing" -DENDIAN_NEUTRAL -DLTC_NO_ASM -Icuda-headers -Icuda-sha256 -c cuda-ecc-ed25519/gpu_ctx.cu -o release/gpu_ctx.o
nvcc -rdc=true -Icommon --gpu-code=sm_37,sm_50,sm_61,sm_70,compute_35 --gpu-architecture=compute_35 -O3 -Xcompiler "-Wall -Werror -fPIC -Wno-strict-aliasing" -DENDIAN_NEUTRAL -DLTC_NO_ASM -Icuda-headers -Icuda-sha256 -c cuda-ecc-ed25519/sign.cu -o release/sign.o
nvcc -rdc=true -Icommon --gpu-code=sm_37,sm_50,sm_61,sm_70,compute_35 --gpu-architecture=compute_35 -O3 -Xcompiler "-Wall -Werror -fPIC -Wno-strict-aliasing" -DENDIAN_NEUTRAL -DLTC_NO_ASM -Icuda-headers -Icuda-sha256 -c cuda-ecc-ed25519/seed.cu -o release/seed.o
nvcc -rdc=true -Icommon --gpu-code=sm_37,sm_50,sm_61,sm_70,compute_35 --gpu-architecture=compute_35 -O3 -Xcompiler "-Wall -Werror -fPIC -Wno-strict-aliasing" -DENDIAN_NEUTRAL -DLTC_NO_ASM -Icuda-headers -Icuda-sha256 -c cuda-ecc-ed25519/keypair.cu -o release/keypair.o
g++ -fPIC -std=c++11 -DENDIAN_NEUTRAL -DLTC_NO_ASM -DOPENCL_VARIANT -Iopencl-platform -Icommon/ -I/usr/local/cuda/targets/x86_64-linux/include -Wall -Werror -fPIC -Wno-strict-aliasing -O3 -pthread -Icuda-ecc-ed25519 -c poh-verify-test/main.cpp -o release/poh_many_main.o
g++ -fPIC -std=c++11 -DENDIAN_NEUTRAL -DLTC_NO_ASM -DOPENCL_VARIANT -Iopencl-platform -Icommon/ -I/usr/local/cuda/targets/x86_64-linux/include -Wall -Werror -fPIC -Wno-strict-aliasing -O3 -pthread -Icuda-ecc-ed25519 -c opencl-ecc-ed25519/main.cpp -o release/cl_ecc_main.o
g++ -fPIC -std=c++11 -DENDIAN_NEUTRAL -DLTC_NO_ASM -DOPENCL_VARIANT -Iopencl-platform -Icommon/ -I/usr/local/cuda/targets/x86_64-linux/include -Wall -Werror -fPIC -Wno-strict-aliasing -O3 -c opencl-platform/cl_init_platform.cpp -o release/cl_init_platform.o
g++ -fPIC -std=c++11 -DENDIAN_NEUTRAL -DLTC_NO_ASM -DOPENCL_VARIANT -Iopencl-platform -Icommon/ -I/usr/local/cuda/targets/x86_64-linux/include -Wall -Werror -fPIC -Wno-strict-aliasing -O3 -Icuda-ecc-ed25519 -c opencl-ecc-ed25519/verify.cpp -o release/cl_verify.o
g++ -fPIC -std=c++11 -DENDIAN_NEUTRAL -DLTC_NO_ASM -DOPENCL_VARIANT -Iopencl-platform -Icommon/ -I/usr/local/cuda/targets/x86_64-linux/include -Wall -Werror -fPIC -Wno-strict-aliasing -O3 -Icuda-ecc-ed25519 -c opencl-ecc-ed25519/gpu_ctx.cpp -o release/cl_gpu_ctx.o
g++ -fPIC -std=c++11 -DENDIAN_NEUTRAL -DLTC_NO_ASM -DOPENCL_VARIANT -Iopencl-platform -Icommon/ -I/usr/local/cuda/targets/x86_64-linux/include -Wall -Werror -fPIC -Wno-strict-aliasing -O3 -Icuda-ecc-ed25519 -c opencl-ecc-ed25519/sign.cpp -o release/cl_sign.o
g++ -fPIC -std=c++11 -DENDIAN_NEUTRAL -DLTC_NO_ASM -DOPENCL_VARIANT -Iopencl-platform -Icommon/ -I/usr/local/cuda/targets/x86_64-linux/include -Wall -Werror -fPIC -Wno-strict-aliasing -O3 -Icuda-ecc-ed25519 -c opencl-poh-verify/cl_poh_verify.cpp -o release/cl_poh_verify.o
opencl-platform/cl_init_platform.cpp: In function ‘bool cl_check_init()’:
opencl-platform/cl_init_platform.cpp:314:62: error: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Werror=deprecated-declarations]
     cmd_queue = clCreateCommandQueue(context, device, 0, &ret);
                                                              ^
In file included from opencl-platform/cl_common.h:41:0,
                 from opencl-platform/cl_init_platform.cpp:9:
/usr/include/CL/cl.h:1443:1: note: declared here
 clCreateCommandQueue(cl_context                     /* context */,
 ^~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
Makefile:103: recipe for target 'release/cl_init_platform.o' failed
make[1]: *** [release/cl_init_platform.o] Error 1
make[1]: *** Waiting for unfinished jobs....
^Cnvcc error   : 'ptxas' died due to signal 2 
Makefile:72: recipe for target 'release/verify.o' failed
make[1]: *** [release/verify.o] Interrupt
Makefile:15: recipe for target 'cuda_crypt' failed
make: *** [cuda_crypt] Interrupt

@t-nelson
Copy link

Hi! Perf-libs requires CUDA 10.1 or 10.2. Please try one of those and report back

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