Hi Karli, No problem. Here is the new output.
Regards, Sandra El vie, 26 nov 2021 a las 9:59, Karl Rupp (<[email protected]>) escribió: > Dear Sandra, > > sorry for the late reply! > > So CMake only relinked the executable. The linker command looks fine. So > we need to check the compilation as well. Please run > $> make clean > $> make blas1 > and re-send the output. This time it should also include the compilation > command. > > Thanks and best regards, > Karli > > On 11/25/21 11:09, SANDRA CATALAN PALLARES wrote: > > Hi, > > > > I just wanted to ask you if the output I sent was the right one, meaning > > the installation is correct this time. > > > > Regards, > > Sandra > > > > El vie, 19 nov 2021 a las 14:28, SANDRA CATALAN PALLARES > > (<[email protected] <mailto:[email protected]>>) escribió: > > > > The output is attached. > > > > Best regards, > > Sandra > > > > El vie, 19 nov 2021 a las 14:03, Karl Rupp (<[email protected] > > <mailto:[email protected]>>) escribió: > > > > Ok, so now we really need to actual compiler call from CMake. In > > build/: > > > > $> cmake .. -DCMAKE_VERBOSE_MAKEFILE=On > > $> make blas1 > > (send output) > > > > Thanks and best regards, > > Karli > > > > > > On 11/19/21 13:59, SANDRA CATALAN PALLARES wrote: > > > Hi, > > > > > > The example that you mention is not in the new examples > > folder. However, > > > I tried with blas1 and it does not work: > > > > > > jbelloch@odroid:~/EQU_FILTERING_sandra/ViennaCL-1.7.1/build$ > > > examples/tutorial/blas1 > > > terminate called after throwing an instance of > > > 'viennacl::ocl::unknown_error' > > > what(): ViennaCL: FATAL ERROR: ViennaCL encountered an > > unknown > > > OpenCL error. Most likely your OpenCL SDK or driver is not > > installed > > > properly. In some cases, this error is due to an invalid > > global work > > > size or several kernel compilation errors. > > > If you think that this is a bug in ViennaCL, please report it > at > > > [email protected] > > <mailto:[email protected]> > > > <mailto:[email protected] > > <mailto:[email protected]>> and supply at > > least the > > > following information: > > > * Operating System > > > * Which OpenCL implementation (AMD, NVIDIA, etc.) > > > * ViennaCL version > > > Many thanks in advance! > > > Aborted > > > > > > Best regards, > > > Sandra > > > > > > El vie, 19 nov 2021 a las 13:27, Karl Rupp > > (<[email protected] <mailto:[email protected]> > > > <mailto:[email protected] > > <mailto:[email protected]>>>) escribió: > > > > > > Can you try to build in a subfolder? Maybe there's some > > issue with the > > > build inside the project folder. Also, it would be good > > to start with a > > > fresh ViennaCL folder just to rule out any side-effects. > > > > > > $> cd /path/to/ViennaCL > > > $> mkdir build > > > $> cd build > > > $> cmake .. > > > > > > -DOPENCL_LIBRARY=/home/jbelloch/EQU_FILTERING_sandra/opencl/lib/libOpenCL.so > > > $> make > > > > > > ENABLE_OPENCL is set by default. We can skip ublas for > this. > > > Then run via > > > > > > $> examples/tutorial/blas1-opencl > > > > > > inside the build folder. Does this work? > > > > > > Best regards, > > > Karli > > > > > > > > > > > > On 11/19/21 13:04, SANDRA CATALAN PALLARES wrote: > > > > And this is the output of the cmake: > > > > > > > > > /home/jbelloch/EQU_FILTERING_sandra/cmake-3.10.0/bin/cmake > > > ENABLE_OPENCL > > > > -DOPENCLROOT=/home/jbelloch/EQU_FILTERING_sandra/opencl > > > > > > > > > > -DOPENCL_LIBRARY=/home/jbelloch/EQU_FILTERING_sandra/opencl/lib/libOpenCL.so > > > > > > > ENABLE_UBLAS . -DCMAKE_CXX_FLAGS="-DVIENNACL_DEBUG_ALL" > > > > -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON > > > > -- The C compiler identification is GNU 4.8.2 > > > > -- The CXX compiler identification is GNU 4.8.2 > > > > -- Check for working C compiler: /usr/bin/cc > > > > -- Check for working C compiler: /usr/bin/cc -- works > > > > -- Detecting C compiler ABI info > > > > -- Detecting C compiler ABI info - done > > > > -- Detecting C compile features > > > > -- Detecting C compile features - done > > > > -- Check for working CXX compiler: /usr/bin/c++ > > > > -- Check for working CXX compiler: /usr/bin/c++ -- > works > > > > -- Detecting CXX compiler ABI info > > > > -- Detecting CXX compiler ABI info - done > > > > -- Detecting CXX compile features > > > > -- Detecting CXX compile features - done > > > > -- Boost version: 1.54.0 > > > > -- Looking for pthread.h > > > > -- Looking for pthread.h - found > > > > -- Looking for pthread_create > > > > -- Looking for pthread_create - not found > > > > -- Looking for pthread_create in pthreads > > > > -- Looking for pthread_create in pthreads - not found > > > > -- Looking for pthread_create in pthread > > > > -- Looking for pthread_create in pthread - found > > > > -- Found Threads: TRUE > > > > -- Boost version: 1.54.0 > > > > -- Found the following Boost libraries: > > > > -- chrono > > > > -- date_time > > > > -- serialization > > > > -- system > > > > -- thread > > > > -- atomic > > > > -- Found OPENCL: > > > > /home/jbelloch/EQU_FILTERING_sandra/opencl/lib/libOpenCL.so > > > > -- Configuring done > > > > -- Generating done > > > > CMake Warning: > > > > Manually-specified variables were not used by the > > project: > > > > > > > > OPENCLROOT > > > > > > > > > > > > -- Build files have been written to: > > > > /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1 > > > > > > > > El vie, 19 nov 2021 a las 10:36, SANDRA CATALAN > PALLARES > > > > (<[email protected] <mailto:[email protected]> > > <mailto:[email protected] <mailto:[email protected]>> > > > <mailto:[email protected] <mailto:[email protected]> > > <mailto:[email protected] <mailto:[email protected]>>>>) escribió: > > > > > > > > This is the last compilation command I used > > > > > > > > jbelloch@odroid > :~/EQU_FILTERING_sandra/ViennaCL-1.7.1$ > > > > > > //home/jbelloch/EQU_FILTERING_sandra/cmake-3.10.0/bin/cmake > > > > ENABLE_OPENCL > > > > > > -DOPENCLROOT=/home/jbelloch/EQU_FILTERING_sandra/opencl > > > > > > > > > > -DOPENCL_LIBRARY=/home/jbelloch/EQU_FILTERING_sandra/opencl/lib/libOpenCL.so > > > > ENABLE_UBLAS . > > -DCMAKE_CXX_FLAGS="-DVIENNACL_DEBUG_ALL"/ > > > > / > > > > / > > > > Best regards, > > > > Sandra > > > > > -- *Sandra Catalán Pallarés* Sección Dept. Arquitectura de Computadores y Automática Facultad de Ciencias Físicas - Desp. 223 Universidad Complutense de Madrid 28040 - Madrid (Spain) (+34) 91 394 *4394 - *[email protected]
jbelloch@odroid:~/EQU_FILTERING_sandra/ViennaCL-1.7.1/build$ make clean make -f CMakeFiles/Makefile2 clean make[1]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/tutorial/CMakeFiles/amg.dir/build.make examples/tutorial/CMakeFiles/amg.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/tutorial && /usr/bin/cmake -P CMakeFiles/amg.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/tutorial/CMakeFiles/bandwidth-reduction.dir/build.make examples/tutorial/CMakeFiles/bandwidth-reduction.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/tutorial && /usr/bin/cmake -P CMakeFiles/bandwidth-reduction.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/tutorial/CMakeFiles/bisect.dir/build.make examples/tutorial/CMakeFiles/bisect.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/tutorial && /usr/bin/cmake -P CMakeFiles/bisect.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/tutorial/CMakeFiles/blas1.dir/build.make examples/tutorial/CMakeFiles/blas1.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/tutorial && /usr/bin/cmake -P CMakeFiles/blas1.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/tutorial/CMakeFiles/custom-context.dir/build.make examples/tutorial/CMakeFiles/custom-context.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/tutorial && /usr/bin/cmake -P CMakeFiles/custom-context.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/tutorial/CMakeFiles/custom-kernels.dir/build.make examples/tutorial/CMakeFiles/custom-kernels.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/tutorial && /usr/bin/cmake -P CMakeFiles/custom-kernels.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/tutorial/CMakeFiles/fft.dir/build.make examples/tutorial/CMakeFiles/fft.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/tutorial && /usr/bin/cmake -P CMakeFiles/fft.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/tutorial/CMakeFiles/iterative-custom.dir/build.make examples/tutorial/CMakeFiles/iterative-custom.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/tutorial && /usr/bin/cmake -P CMakeFiles/iterative-custom.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/tutorial/CMakeFiles/libviennacl-tutorial.dir/build.make examples/tutorial/CMakeFiles/libviennacl-tutorial.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/tutorial && /usr/bin/cmake -P CMakeFiles/libviennacl-tutorial.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/tutorial/CMakeFiles/matrix-free.dir/build.make examples/tutorial/CMakeFiles/matrix-free.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/tutorial && /usr/bin/cmake -P CMakeFiles/matrix-free.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/tutorial/CMakeFiles/nmf.dir/build.make examples/tutorial/CMakeFiles/nmf.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/tutorial && /usr/bin/cmake -P CMakeFiles/nmf.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/tutorial/CMakeFiles/scheduler.dir/build.make examples/tutorial/CMakeFiles/scheduler.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/tutorial && /usr/bin/cmake -P CMakeFiles/scheduler.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/tutorial/CMakeFiles/viennacl-info.dir/build.make examples/tutorial/CMakeFiles/viennacl-info.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/tutorial && /usr/bin/cmake -P CMakeFiles/viennacl-info.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/tutorial/CMakeFiles/wrap-host-buffer.dir/build.make examples/tutorial/CMakeFiles/wrap-host-buffer.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/tutorial && /usr/bin/cmake -P CMakeFiles/wrap-host-buffer.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/benchmarks/CMakeFiles/dense_blas-bench-cpu.dir/build.make examples/benchmarks/CMakeFiles/dense_blas-bench-cpu.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/benchmarks && /usr/bin/cmake -P CMakeFiles/dense_blas-bench-cpu.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/benchmarks/CMakeFiles/dense_blas-bench-opencl.dir/build.make examples/benchmarks/CMakeFiles/dense_blas-bench-opencl.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/benchmarks && /usr/bin/cmake -P CMakeFiles/dense_blas-bench-opencl.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/benchmarks/CMakeFiles/opencl-bench-opencl.dir/build.make examples/benchmarks/CMakeFiles/opencl-bench-opencl.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/benchmarks && /usr/bin/cmake -P CMakeFiles/opencl-bench-opencl.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/benchmarks/CMakeFiles/scheduler-bench-cpu.dir/build.make examples/benchmarks/CMakeFiles/scheduler-bench-cpu.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/benchmarks && /usr/bin/cmake -P CMakeFiles/scheduler-bench-cpu.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f libviennacl/CMakeFiles/viennacl.dir/build.make libviennacl/CMakeFiles/viennacl.dir/clean make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/libviennacl && /usr/bin/cmake -P CMakeFiles/viennacl.dir/cmake_clean.cmake make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make[1]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' jbelloch@odroid:~/EQU_FILTERING_sandra/ViennaCL-1.7.1/build$ make blas1 /usr/bin/cmake -H/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1 -B/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build --check-build-system CMakeFiles/Makefile.cmake 0 make -f CMakeFiles/Makefile2 blas1 make[1]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' /usr/bin/cmake -H/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1 -B/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/CMakeFiles 1 make -f CMakeFiles/Makefile2 examples/tutorial/CMakeFiles/blas1.dir/all make[2]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/tutorial/CMakeFiles/blas1.dir/build.make examples/tutorial/CMakeFiles/blas1.dir/depend make[3]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1 /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/examples/tutorial /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/tutorial /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/tutorial/CMakeFiles/blas1.dir/DependInfo.cmake --color= make[3]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' make -f examples/tutorial/CMakeFiles/blas1.dir/build.make examples/tutorial/CMakeFiles/blas1.dir/build make[3]: Entering directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' /usr/bin/cmake -E cmake_progress_report /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/CMakeFiles 4 [100%] Building CXX object examples/tutorial/CMakeFiles/blas1.dir/blas1.cpp.o cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/tutorial && /usr/bin/c++ -I/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1 -I/usr/local/include -I/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/libviennacl/include -DVIENNACL_WITH_OPENCL -o CMakeFiles/blas1.dir/blas1.cpp.o -c /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/examples/tutorial/blas1.cpp Linking CXX executable blas1 cd /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/examples/tutorial && /usr/bin/cmake -E cmake_link_script CMakeFiles/blas1.dir/link.txt --verbose=1 /usr/bin/c++ CMakeFiles/blas1.dir/blas1.cpp.o -o blas1 -L/home/jbelloch/EQU_FILTERING_sandra/opencl/lib -rdynamic -lOpenCL -Wl,-rpath,/home/jbelloch/EQU_FILTERING_sandra/opencl/lib make[3]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' /usr/bin/cmake -E cmake_progress_report /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/CMakeFiles 4 [100%] Built target blas1 make[2]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build' /usr/bin/cmake -E cmake_progress_start /home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build/CMakeFiles 0 make[1]: Leaving directory `/home/jbelloch/EQU_FILTERING_sandra/ViennaCL-1.7.1/build'
_______________________________________________ ViennaCL-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/viennacl-support
