Giter Club home page Giter Club logo

Comments (6)

sriharikarnam avatar sriharikarnam commented on June 19, 2024 2

@amcamd

While building on NVIDIA, hipBLAS searches for CUDA_cublas_device_LIBRARY path and fails on ubuntu 18.04 with cuda-10.1

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Apr_24_19:10:27_PDT_2019
Cuda compilation tools, release 10.1, V10.1.168

-- The CXX compiler identification is GNU 7.4.0
-- 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
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Looking for C++ include pthread.h
-- Looking for C++ include 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
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_device_LIBRARY (ADVANCED)
linked by target "hipblas" in directory /home/cuda/Workspace/libraries/hipBLAS/library/src

-- Configuring incomplete, errors occurred!
See also "/home/cuda/Workspace/libraries/hipBLAS/build/CMakeFiles/CMakeOutput.log".
See also "/home/cuda/Workspace/libraries/hipBLAS/build/CMakeFiles/CMakeError.log".

from hipblas.

NEELMCW avatar NEELMCW commented on June 19, 2024

@amcamd #54 should fix this. Let me know if there are any issues

from hipblas.

Kaveh01 avatar Kaveh01 commented on June 19, 2024

@amcamd this is fixed on @NEELMCW fork but not merged yet.

from hipblas.

cadebrown avatar cadebrown commented on June 19, 2024

I also have this problem. @NEELMCW 's branch fixes the issue with hipBLAS trying to select hcc backend all the time, it still gives the error

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_device_LIBRARY (ADVANCED)
    linked by target "hipblas" in directory /home/cade/hipBLAS_FIX/library/src

However, I found out the problem, it is a CMake versioning problem. I was using CMake 3.10, and I switch to 3.12.4, and the problem went away. It now compiles hipBLAS correctly

from hipblas.

Kaveh01 avatar Kaveh01 commented on June 19, 2024

I still have this problem even with cmake 3.15.3. @NEELMCW fork works fine.

from hipblas.

tcojean avatar tcojean commented on June 19, 2024

I am also encountering the problems reported here. The alternatives are either to install all hip_hcc stack, although that is unneeded with a nvcc backend (and heavy for containers), or using @NEELMCW's fork.

from hipblas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.