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
         >      >


_______________________________________________
ViennaCL-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/viennacl-support

Reply via email to