Comments (9)
@ducbueno
Can you try the command with an additional CMake definitions -DBUILD_SHARED_LIBS=ON -DCBLAS=ON
? By default LAPACK build system sets these to OFF (line 48 & line 242 of https://github.com/Reference-LAPACK/lapack/blob/master/CMakeLists.txt), which is why you only get *.a static libraries and missing cblas.
from onemkl.
@ducbueno Can you please post your build command? Did you define REF_BLAS_ROOT in your CMake command?
from onemkl.
@vmalia I did define REF_BLAS_ROOT
in my cmake
command. I tried two ways:
- Installing lapack as instructed in its Git (that is, installing it at
$HOME/.local
) and running the followingcmake
command:
cmake .. -DREF_BLAS_ROOT=/home/ducbueno/.local/lapack
- Installing lapack with root privileges and running the following
cmake
command:
cmake .. -DREF_BLAS_ROOT=/usr/local/lib
(I'm not sure if this is correct though. I tried it since the lapack libraries were installed in this directory.)
from onemkl.
Hello,
Cmake is looking for libcblas.so, libblas.so files. Do you have them in REF_BLAS_ROOT (REF_BLAS_ROOT/lib, REF_BLAS_ROOT/lib64) directory?
And btw, are you using latest revision of master?
from onemkl.
cmake .. -DREF_BLAS_ROOT=/usr/local/lib
(I'm not sure if this is correct though. I tried it since the lapack libraries were installed in this directory.)
@ducbueno
Can you try cmake .. -DREF_BLAS_ROOT=/usr/local
? Since correct path to REF_BLAS_ROOT is the path that contains lib folder, which in-turn contains libblas.so and libcblas.so as mentioned by @NadyaTen
Same applies to other dependency variables. You can check the Find{module}.cmake file in cmake/ directory of the project too, if you get undefined variable errors.
from onemkl.
Something is not adding up here. By following the installation instructions on the lapack Git (https://github.com/Reference-LAPACK/lapack) I get only the libblas.a and liblapack.a files.
When I run sudo find / -name 'libcblas.so'
and sudo find / -name 'libblas.so'
I get nothing.
Is there any other way of installing these libraries? I'm running Ubuntu by the way.
And @NadyaTen I think I'm using the latest revision, I've cloned the repository in the standard way (git clone https://github.com/oneapi-src/oneMKL.git
).
from onemkl.
I was able to install libblas.so with sudo apt-get install libblas-dev
, but still no results for sudo find / -name 'libcblas.so'
.
from onemkl.
@vmalia thanks a lot! That solved the issue.
I'm still very new to CMake, so that was not obvious at all to me.
from onemkl.
@vmalia thanks a lot! That solved the issue.
I'm still very new to CMake, so that was not obvious at all to me.
Happy to help and glad to have you here :)
Closing the issue now.
from onemkl.
Related Issues (20)
- [BLAS] Wrong namespace usage in BLAS Documentation HOT 5
- pthreads not found HOT 6
- [DFT] compute_forward (forward_ip_rr) function template in forward.hpp overrides compute_forward (forward_op_cc) if in and out types are the same HOT 10
- How to setup CMakeLists to use OneMKL on a GPU (Intel Arc/Nvidia sm_89) HOT 9
- Implement CuBlas/MKL int8, float mixed precision gemm_batch
- Examples fail to build with AdaptiveCpp HOT 1
- [DFT][Unit Tests] External Unit test set fails if either USM or Buffer memory is not supported HOT 4
- MKL FP16 GEMM crash on MTL iGPU HOT 4
- [CMake] Project version does not match release tag
- [CMake] oneMKL version macros HOT 2
- PR workflow for selective testing doesn't work as expected
- When trying to use oneMKL with the portBLAS backend there is a check for Intel, AMD or Nvidia GPU. HOT 3
- v0.5 release notes HOT 9
- [Feature Request] Support value_or_pointer arguments for oneMKL functions HOT 2
- Add prefixes to macros in in config.hpp.in HOT 2
- Build with open-source DPC++-LLVM (`clang++`) broken due to compiler removal of `sycl/detail/pi.hpp`
- [ROCFFT] RocFFT fails tests when using ROCm 6.0 or later HOT 4
- gesvd return empty result on cuda backend if M<N
- oneMKL only has `dgmm_batch` variant: doesn't map to cublas
- Using MKL::MKL to resolve the -fsycl issue with AdaptiveCpp fails. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onemkl.