d-d-j / ddj_store

Distributed Time Series Database on CUDA cluster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

falied on make test and make run

andyyuan78 opened this issue · comments

ubgpu@ubgpu:/github/ddj_store$
ubgpu@ubgpu:
/github/ddj_store$ make test
Building file: src/Cuda/CudaPrintf.cu
Invoking: nvcc Compiler
nvcc -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code="sm_35,compute_35" --relocatable-device-code true -I"/usr/local/cuda/include" -c -o "src/Cuda/CudaPrintf.o" "src/Cuda/CudaPrintf.cu"
src/Cuda/CudaPrintf.cu:57:36: fatal error: sm_11_atomic_functions.h: No such file or directory
#include <sm_11_atomic_functions.h>
^
compilation terminated.
make: *** [src/Cuda/CudaPrintf.o] Error 1
ubgpu@ubgpu:/github/ddj_store$
ubgpu@ubgpu:
/github/ddj_store$
ubgpu@ubgpu:/github/ddj_store$
ubgpu@ubgpu:
/github/ddj_store$ make run
Building file: src/Cuda/CudaPrintf.cu
Invoking: nvcc Compiler
nvcc -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code="sm_35,compute_35" --relocatable-device-code true -I"/usr/local/cuda/include" -c -o "src/Cuda/CudaPrintf.o" "src/Cuda/CudaPrintf.cu"
src/Cuda/CudaPrintf.cu:57:36: fatal error: sm_11_atomic_functions.h: No such file or directory
#include <sm_11_atomic_functions.h>
^
compilation terminated.
make: *** [src/Cuda/CudaPrintf.o] Error 1
ubgpu@ubgpu:~/github/ddj_store$

Have you followed all steps described here?

sure, I use cuda7 on ubuntu14

I checked again

ubgpu@ubgpu:/github/ddj_store$ echo $PATH
/usr/local/cuda/bin:/home/ubgpu/torch/install/bin:/srv/spark/bin:/usr/local/cuda/bin:/home/ubgpu/torch/install/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/ubgpu/dev/npm/bin
ubgpu@ubgpu:
/github/ddj_store$ echo $LD_LIBRARY_PATH
/usr/local/cuda/lib64:/usr/local/lib:/home/ubgpu/torch/install/lib:/home/ubgpu/torch/install/lib:
ubgpu@ubgpu:/github/ddj_store$ which nvcc
/usr/local/cuda/bin/nvcc
ubgpu@ubgpu:
/github/ddj_store$

in the 'make all' success

Building file: src/Cuda/CudaPrintf.cu
Invoking: nvcc Compiler
nvcc -I"/usr/local/cuda/include" -c -o "src/Cuda/CudaPrintf.o" "src/Cuda/CudaPrintf.cu"
src/Cuda/CudaPrintf.cu:57:36: fatal error: sm_11_atomic_functions.h: No such file or directory
#include <sm_11_atomic_functions.h>
^