1. arch=compute_20,code=sm_20 problem:::
comment this in makefile.config
CUDA_ARCH := #-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 \
-gencode arch=compute_50,code=sm_50 \
-gencode arch=compute_50,code=compute_50
2.hdf5.h no such directory or file:::
find where is this file and add the path in makefile.config
PYTHON_INCLUDE := /usr/include/python3.5m \
/usr/lib/python3.5/dist-packages/numpy/core/include \
/usr/include/hdf5/serial/(this is the path added)
3./usr/bin/ld: cannot find -lhdf5_hl
/usr/bin/ld: cannot find -lhdf5:::::
find the right path and add it to config file, ex.
LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib /usr/lib/x86_64-linux-gnu/hdf5/serial
4. cannot find -lboost_python3
find the right path(there is not libboost_python3 in my pc, just
libboost_python-py35
) and cd to that path, and run
sudo ln -s libboost_python-py35.so libboost_python3.so
to set a symlink for this file, finally run sudo ldconfig.