(thomasASUS): CUDA driver version is insufficient for CUDA runtime version Hi again, I managed to install the latest NVIDIA drivers (NVIDIA-Linux-x86_64-304.51). The Ethminer CUDA fork should work on Compute 2.0 or newer GPUs, we have tested it with a Compute 2.1 and it is working fine, but don’t forget that you can run Ethminer in OpenCL mode as well on Nvidia-based video cards and not only on AMD if you are having trouble with the CUDA support or the hashrate you get is lower as compared to OpenCL.
Trying to build and run a minimal cuda project with CMake 3.8.2 on OSX El Capitan. I have attached the source file, Makefile and CMakeLists.txt. When I build with the Makefile, it runs as expected. But, if I build with cmake, resulting program fails to run. I suspect the problem is with the linking stage. CMake uses clang.
When I replace CMake's link command (that I get from running CMake with CMAKEVERBOSEMAKEFILE=ON) with nvcc, it works. Makefile $ make nvcc -arch=sm30 -dc hello.cu -o hello.o nvcc -arch=sm30 hello.o -o hellocuda $./hellocuda Running. Idx: 0 Hello! Idx: 1 Hello! Idx: 2 Hello! Idx: 3 Hello!
Idx: 4 Finished. CMake $ mkdir build $ cd build $ cmake.
Mkdir technologies cd technologies git clone cd caffe vi Makefile.config 8. Sudo make uninstall #in the opencv build repo (if you installed from source) brew uninstall opencv brew uninstall opencv3 rm /usr/local/lib/libopencv. sudo rm -r /usr/local/share/OpenCV sudo rm -r /usr/local/include/opencv2 Be careful to brew messages, all libraries have to be linked. Undefined symbols for architecture x8664: “google::SetUsageMessage = Re-install gflags. Brew install gflags Undefined symbols for architecture x8664: “leveldb:: = Re-install leveldb. Brew install leveldb Undefined symbols for architecture x8664: “google::protobuf: = Re-install protobuf.
Brew install -build-from-source -with-python -vd protobuf./include/caffe/util/mklalternate.hpp:11:10: fatal error: ‘cblas.h’ file not found #include = Install Mac OS command line tools xcode-select -install. TEXT e000109e0a000 8K r-x/rwx SM=COW /usr/local/Cellar/python/2.7.102/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0??? 00000000 0 + 0 1 org.python.python 0xc7f0dd PyEvalGetGlobals + 23 2 org.python.python 0xc8e62b PyImportImport + 137 3 org.python.python 0xc8cd27 PyImportImportModule + 31 4 caffe.so 0x000000010c92bcf8 caffe::initmodulecaffe + 4328 5 libboostpython.dylib 0xba0391 boost::python::handleexceptionimpl(boost::function0 ) + 81 6 libboostpython.dylib 0xba13b9 boost::python::detail::initmodule(char const., void ) + 121 = Add /usr/local/Cellar/python/2.7.102/Frameworks/Python.framework/Versions/2.7/lib to the PYTHON lib in the Makefile.
Nvcc fatal: The version (‘60100’) of the host compiler (‘Apple clang’) is not supported = Download XCode 6.0 to replace 6.3 Have a look at. On one of my imacs I had a Segmentation Fault 11.
= I put the path to the correct library in the path since I used pip install numpy instead of homebrew.
Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |