Open ghost opened 8 years ago
Plan A: make clean. dtrsm replies on dgemm. check on the "precompile dgemm" option too.
Plan B: And on my side. this file is an empty one. you may touch one empty file with such name in your Building_dir/include
This has been seen as a warning instead of error in many other places.
On Tue, Mar 29, 2016 at 9:49 PM, Akshay Srinivasan <notifications@github.com
wrote:
Thank you for this awesome project! I'm having trouble building clBLAS with offline kernels for Hawaii. I'm able to build (and run) the dynamic form clBLAS just fine (v2.10/Catalyst 15.12/Linux 4.4.5); however compiling with the OPENCL_OFFLINE_BUILD_HAWAII_KERNEL switch set to ON throws up this error. This looks like a bug, although it could also be something I'm doing wrong. Could someone please help me with this ? Thanks!
[ 2%] Built target bingen [ 4%] Built target tplgen TPLGEN Running..... Processing /home/neptune/devel/clBLAS/src/library/blas/gens/clTemplates/ WARNING: couldn't open file!TPLGEN Running.....Processing /home/neptune/devel/clBLAS/src/build/library/bingen-prefix/src/bingen-build/staging/ WARNING: couldn't open file! [ 4%] Built target GENERATE_CLT Scanning dependencies of target clBLAS [ 4%] Building CXX object library/CMakeFiles/clBLAS.dir/blas/functor/gpu_dtrsm.cc.o /home/neptune/devel/clBLAS/src/library/blas/functor/gpu_dtrsm.cc:22:41: fatal error: dtrsm_gpu.clHawaii_64.bin.clT: No such file or directory compilation terminated. library/CMakeFiles/clBLAS.dir/build.make:1747: recipe for target 'library/CMakeFiles/clBLAS.dir/blas/functor/gpu_dtrsm.cc.o' failed make[2]: * [library/CMakeFiles/clBLAS.dir/blas/functor/gpu_dtrsm.cc.o] Error 1 CMakeFiles/Makefile2:295: recipe for target 'library/CMakeFiles/clBLAS.dir/all' failed make[1]: * [library/CMakeFiles/clBLAS.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *\ [all] Error 2``
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/clMathLibraries/clBLAS/issues/253
Tingxing dong
I recloned a fresh copy, and that seemed to have helped. I'm not entirely sure what you mean by "check on "precompile gemm" option" (I couldn't find it in the top-level CMakeLists.txt file in src/). When built with the tests, this results in some linker error (I guess I need ACML ?).
[ 69%] Building C object tests/CMakeFiles/test-short.dir/blas.c.o
[ 69%] Building C object tests/CMakeFiles/test-short.dir/blas-cblas.c.o
[ 69%] Building CXX object tests/CMakeFiles/test-short.dir/blas-wrapper.cpp.o
[ 69%] Linking Fortran executable ../staging/test-short
CMakeFiles/test-short.dir/correctness/blas-lapack.c.o: In function `cdotu':
/home/neptune/devel/clBLAS/src/tests/correctness/blas-lapack.c:658: undefined reference to `cdotusub_'
CMakeFiles/test-short.dir/correctness/blas-lapack.c.o: In function `zdotu':
/home/neptune/devel/clBLAS/src/tests/correctness/blas-lapack.c:673: undefined reference to `zdotusub_'
CMakeFiles/test-short.dir/correctness/blas-lapack.c.o: In function `cdotc':
/home/neptune/devel/clBLAS/src/tests/correctness/blas-lapack.c:688: undefined reference to `cdotcsub_'
CMakeFiles/test-short.dir/correctness/blas-lapack.c.o: In function `zdotc':
/home/neptune/devel/clBLAS/src/tests/correctness/blas-lapack.c:703: undefined reference to `zdotcsub_'
collect2: error: ld returned 1 exit status
tests/CMakeFiles/test-short.dir/build.make:1581: recipe for target 'staging/test-short' failed
make[2]: *** [staging/test-short] Error 1
CMakeFiles/Makefile2:469: recipe for target 'tests/CMakeFiles/test-short.dir/all' failed
make[1]: *** [tests/CMakeFiles/test-short.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
make 119.28s user 10.42s system 95% cpu 2:15.91 total
However building without the test, worked. Since the linker issue is related to another issue, feel free to close this. Thank you!
ok. You are not using cmake-gui if you do not know precompile Dgemm which is precompile-Dtrsm's brother.
That error was already fixed in the "develop" branch.
On Wed, Mar 30, 2016 at 1:45 PM, Akshay Srinivasan <notifications@github.com
wrote:
I recloned a fresh copy, and that seemed to have helped. I'm not entirely sure what you mean by "check on "precompile gemm" option" (I couldn't find it in the top-level CMakeLists.txt file in src/). When built with the tests, this results in some linker error (I guess I need ACML ?).
[ 69%] Building C object tests/CMakeFiles/test-short.dir/blas.c.o [ 69%] Building C object tests/CMakeFiles/test-short.dir/blas-cblas.c.o [ 69%] Building CXX object tests/CMakeFiles/test-short.dir/blas-wrapper.cpp.o [ 69%] Linking Fortran executable ../staging/test-short CMakeFiles/test-short.dir/correctness/blas-lapack.c.o: In function
cdotu': /home/neptune/devel/clBLAS/src/tests/correctness/blas-lapack.c:658: undefined reference to
cdotusub'CMakeFiles/test-short.dir/correctness/blas-lapack.c.o: In functionzdotu':/home/neptune/devel/clBLAS/src/tests/correctness/blas-lapack.c:673: undefined reference to
zdotusub'CMakeFiles/test-short.dir/correctness/blas-lapack.c.o: In functioncdotc': /home/neptune/devel/clBLAS/src/tests/correctness/blas-lapack.c:688: undefined reference to
cdotcsub'CMakeFiles/test-short.dir/correctness/blas-lapack.c.o: In functionzdotc':/home/neptune/devel/clBLAS/src/tests/correctness/blas-lapack.c:703: undefined reference to
zdotcsub'collect2: error: ld returned 1 exit statustests/CMakeFiles/test-short.dir/build.make:1581: recipe for target 'staging/test-short' failedmake[2]: * [staging/test-short] Error 1CMakeFiles/Makefile2:469: recipe for target 'tests/CMakeFiles/test-short.dir/all' failedmake[1]: * [tests/CMakeFiles/test-short.dir/all] Error 2Makefile:149: recipe for target 'all' failedmake: *\ [all] Error 2make 119.28s user 10.42s system 95% cpu 2:15.91 totalHowever building without test, worked.
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/clMathLibraries/clBLAS/issues/253#issuecomment-203573825
Tingxing dong
Thank you for this awesome project! I'm having trouble building clBLAS with offline kernels for Hawaii. I'm able to build (and run) the dynamic form clBLAS just fine (v2.10/Catalyst 15.12/Linux 4.4.5); however compiling with the OPENCL_OFFLINE_BUILD_HAWAII_KERNEL switch set to ON throws up this error. This looks like a bug, although it could also be something I'm doing wrong. Could someone please help me with this ? Thanks!