Open lzamparo opened 9 years ago
No I don't think so. It is likely a bug there have been introduced, you can try and look at the recent changes: https://github.com/clMathLibraries/clBLAS/commits/master/src/CMakeLists.txt
I tried running the code myself and it fails on the linking part:
Linking CXX executable ../staging/test-correctness
Undefined symbols for architecture x86_64:
"_caxpy_", referenced from:
...
the comping and linking have to finish properly before the package directory is created. It can see you have opened an issue ( https://github.com/clMathLibraries/clBLAS/issues/92 ), hopefully they can solve it.
Ok, thanks Andreas.
@lzamparo After setting CORR_TEST_WITH_ACML to OFF as concluded at https://github.com/clMathLibraries/clBLAS/issues/92 did you get the package directory? I am still not getting it. I am on OS X 10.9.5.
@aakansh9 did you try the PR: https://github.com/clMathLibraries/clBLAS/pull/99
I did not try the exact PR but did turn off CORR_TEST_WITH_ACML in the command line. There was no error on make and make install but it didn't produce the directory.
@aakansh9 I didn't get the package directory. I think this is due to a reorganization in the clBLAS source, though a quick grep of the develop branch log showed nothing
mski1743:clBLAS zamparol$ git log -g --grep=packages
mski1743:clBLAS zamparol$
@aakansh9 I wouldn't worry about this, as long as it installed fine and you can run any tests that were built, you should be good to go. If not, open an issue with clBLAS I guess?
Installing libgpuarray should tell you if clBLAS was installed correctly.
Thanks. I understand the source has been reorganised. I proceeded to install libgpuarray (leaving out the patch in your code because it has already been committed in the source). After running cmake .. -DCMAKE_BUILD_TYPE=Release && make && make install without any errors, I used 'make test' in the Build directory but it shows:
Running tests...
Test project /Users/gupta/libgpuarray/Build
No tests were found!!!
(I did install libcheck using brew)
EDIT: log of cmake .. -DCMAKE_BUILD_TYPE=Release shows:
-- checking for one of the modules 'check'
Tests disabled because Check was not found
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/gupta/libgpuarray/Build
How to point it to find 'check'?
I would just proceed and see if theano works. I'm not sure if libgpuarray has its own tests.
I'm reopening this issue as a reminder to fix these issues. But I'm about to hand in my bachelor thesis, so it will be a while.
Good luck with your thesis!
Hi,
I arrived here via your message on the Theano users list. When I compiled clBLAS, I didn't get a packages directory below build, as you show on lines 80-83 of your mac python3 setup file.
Is there any other configuration you made to the CMakeLists.txt to produce this?