clMathLibraries / clBLAS

a software library containing BLAS functions written in OpenCL
Apache License 2.0
843 stars 237 forks source link

cmake of clBLAS doesn't complete? #78

Closed cdeterman closed 9 years ago

cdeterman commented 9 years ago

I apologize if this is extremely basic but I cannot seem to get the clBLAS to compile using the instructions from arrayfire for a Linux system.

git clone https://github.com/arrayfire/clBLAS.git
cd clBLAS
mkdir build && cd build
cmake ../src -DCMAKE_BUILD_TYPE=Release
make && make install 

This results in the following error whether I run as root or not:

 -- Installing: /usr/local/./include/clBLAS.h
 CMake Error at cmake_install.cmake:36 (FILE):
 file INSTALL cannot copy file "/home/cdeterman/clBLAS/src/clBLAS.h" to
 "/usr/local/./include/clBLAS.h".

Have I missed something here? I am hesitant to just start copying files to the other location.

cdeterman commented 9 years ago

Apologies, simple error on my part, forgetting the sudo before make install and not just make.