Closed glushakviktor closed 5 years ago
Hello! When I run "make" in /lib I have some problem:
cd afm_op; python setup.py build_ext --inplace; rm -rf build; cd ../../ No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda-10.1' /home/user/anaconda3/envs/afm/lib/python3.5/distutils/extension.py:132: UserWarning: Unknown Extension options: 'defined_macros' warnings.warn(msg) running build_ext building 'CUDA' extension creating build creating build/temp.linux-x86_64-3.5 creating build/temp.linux-x86_64-3.5/cuda gcc -pthread -B /home/user/anaconda3/envs/afm/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/home/user/anaconda3/envs/afm/lib/python3.5/site-packages/torch/include -I/home/user/anaconda3/envs/afm/lib/python3.5/site-packages/torch/include/torch/csrc/api/include -I/home/user/anaconda3/envs/afm/lib/python3.5/site-packages/torch/include/TH -I/home/user/anaconda3/envs/afm/lib/python3.5/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/user/anaconda3/envs/afm/include/python3.5m -c ./vision.cpp -o build/temp.linux-x86_64-3.5/./vision.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=CUDA -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /usr/local/cuda-10.1/bin/nvcc -I. -I/home/user/anaconda3/envs/afm/lib/python3.5/site-packages/torch/include -I/home/user/anaconda3/envs/afm/lib/python3.5/site-packages/torch/include/torch/csrc/api/include -I/home/user/anaconda3/envs/afm/lib/python3.5/site-packages/torch/include/TH -I/home/user/anaconda3/envs/afm/lib/python3.5/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/user/anaconda3/envs/afm/include/python3.5m -c ./cuda/afm.cu -o build/temp.linux-x86_64-3.5/./cuda/afm.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=CUDA -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 creating build/lib.linux-x86_64-3.5 g++ -pthread -shared -L/home/user/anaconda3/envs/afm/lib -B /home/user/anaconda3/envs/afm/compiler_compat -Wl,-rpath=/home/user/anaconda3/envs/afm/lib,--no-as-needed build/temp.linux-x86_64-3.5/./vision.o build/temp.linux-x86_64-3.5/./cuda/afm.o -L/usr/local/cuda-10.1/lib64 -lcudart -o build/lib.linux-x86_64-3.5/CUDA.cpython-35m-x86_64-linux-gnu.so copying build/lib.linux-x86_64-3.5/CUDA.cpython-35m-x86_64-linux-gnu.so -> cd squeeze/; python setup.py build_ext --inplace; rm -rf build; cd ../../ running build_ext skipping 'squeeze.cpp' Cython extension (up-to-date)
Tell me please, what I have to do?
Hello! When I run "make" in /lib I have some problem:
cd afm_op; python setup.py build_ext --inplace; rm -rf build; cd ../../ No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda-10.1' /home/user/anaconda3/envs/afm/lib/python3.5/distutils/extension.py:132: UserWarning: Unknown Extension options: 'defined_macros' warnings.warn(msg) running build_ext building 'CUDA' extension creating build creating build/temp.linux-x86_64-3.5 creating build/temp.linux-x86_64-3.5/cuda gcc -pthread -B /home/user/anaconda3/envs/afm/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/home/user/anaconda3/envs/afm/lib/python3.5/site-packages/torch/include -I/home/user/anaconda3/envs/afm/lib/python3.5/site-packages/torch/include/torch/csrc/api/include -I/home/user/anaconda3/envs/afm/lib/python3.5/site-packages/torch/include/TH -I/home/user/anaconda3/envs/afm/lib/python3.5/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/user/anaconda3/envs/afm/include/python3.5m -c ./vision.cpp -o build/temp.linux-x86_64-3.5/./vision.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=CUDA -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /usr/local/cuda-10.1/bin/nvcc -I. -I/home/user/anaconda3/envs/afm/lib/python3.5/site-packages/torch/include -I/home/user/anaconda3/envs/afm/lib/python3.5/site-packages/torch/include/torch/csrc/api/include -I/home/user/anaconda3/envs/afm/lib/python3.5/site-packages/torch/include/TH -I/home/user/anaconda3/envs/afm/lib/python3.5/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/user/anaconda3/envs/afm/include/python3.5m -c ./cuda/afm.cu -o build/temp.linux-x86_64-3.5/./cuda/afm.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=CUDA -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 creating build/lib.linux-x86_64-3.5 g++ -pthread -shared -L/home/user/anaconda3/envs/afm/lib -B /home/user/anaconda3/envs/afm/compiler_compat -Wl,-rpath=/home/user/anaconda3/envs/afm/lib,--no-as-needed build/temp.linux-x86_64-3.5/./vision.o build/temp.linux-x86_64-3.5/./cuda/afm.o -L/usr/local/cuda-10.1/lib64 -lcudart -o build/lib.linux-x86_64-3.5/CUDA.cpython-35m-x86_64-linux-gnu.so copying build/lib.linux-x86_64-3.5/CUDA.cpython-35m-x86_64-linux-gnu.so -> cd squeeze/; python setup.py build_ext --inplace; rm -rf build; cd ../../ running build_ext skipping 'squeeze.cpp' Cython extension (up-to-date)
Tell me please, what I have to do?