Closed LorenzoPoli closed 8 years ago
Did you run source dist\bin\activate.sh
first? I am on ubuntu 16.04 too:
ubuntu@peach:~/git/DeepCL$ source dist/bin/activate.sh
ubuntu@peach:~/git/DeepCL$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"
ubuntu@peach:~/git/DeepCL$ dist/bin/deepcl_unittests
args: dist/bin/deepcl_unittests --gtest_filter=-DATA*:SLOW*
Note: Google Test filter = -DATA*:SLOW*
[==========] Running 158 tests from 29 test cases.
[----------] Global test environment set-up.
[----------] 7 tests from testClBlas
[ RUN ] testClBlas.basic
Using NVIDIA Corporation , OpenCL platform: NVIDIA CUDA
Using OpenCL device: GeForce 940M
initializing clblas
clblas teardown
[ OK ] testClBlas.basic (640 ms)
[ RUN ] testClBlas.transA
Using NVIDIA Corporation , OpenCL platform: NVIDIA CUDA
Using OpenCL device: GeForce 940M
1 2 9
3 7 5
initializing clblas
clblas teardown
[ OK ] testClBlas.transA (197 ms)
[ RUN ] testClBlas.transB
Using NVIDIA Corporation , OpenCL platform: NVIDIA CUDA
Using OpenCL device: GeForce 940M
3
-1
initializing clblas
clblas teardown
[ OK ] testClBlas.transB (209 ms)
[ RUN ] testClBlas.colMajor
Using NVIDIA Corporation , OpenCL platform: NVIDIA CUDA
Using OpenCL device: GeForce 940M
^C
Yes I did, the error is the same.
Ok. Can you provide the full output (eg via https://gist.github.com ) of the following commands please?
cd build
make -j 4 install
cat CMakeCache.txt
ls -R ..
source ../dist/bin/activate.sh
deepcl_unittests
deepcl_train numtrain=1280 numtest=1280 numepochs=2
It now works, thanks a lot!
Ok great!
Hi, when i try to execute deepcl_unittests i receive the messagge "./deepcl_unittests: error while loading shared libraries: libdeepcl_gtest.so: cannot open shared object file: No such file or directory". But this file is in the "/DeepCL/dist/lib" directory. I followed the instruction from build.md for linux (i've ubuntu 16.04). Any suggestions?