Comments (8)
@9prady9 @pavanky @umar456 @shehzan10 any solutions for this?
from arrayfire.
Can you post the entire log with the error message along with the commands you used to get there?
from arrayfire.
@umar456 here is the command i used
cmake .. -DCMAKE_BUILD_TYPE=Release -DAF_COMPUTE_LIBRARY=BLAS -DAF_BUILD_OPENCL=OFF
from arrayfire.
Set AF_COMPUTE_LIBRARY to "FFTW/LAPACK/BLAS".
from arrayfire.
Set AF_COMPUTE_LIBRARY to "FFTW/LAPACK/BLAS".
@umar456 i used it but still same error
from arrayfire.
Can you delete your build folder and run the commands again and post your outputs for both CMake and the make command? This seems like the values for the LAPACK libraries were set manually but your CMake command suggest otherwise. I want to know where the error is happening.
from arrayfire.
Can you delete your build folder and run the commands again and post your outputs for both CMake and the make command? This seems like the values for the LAPACK libraries were set manually but your CMake command suggest otherwise. I want to know where the error is happening.
@umar456 I deleted the build folder and run again
ubuntu@dev_tx1b:~/Flashlight/arrayfire/build$ cmake .. -DCMAKE_BUILD_TYPE=Release -DAF_COMPUTE_LIBRARY="FFTW/LAPACK/BLAS" -DAF_BUILD_OPENCL=OFF
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test has_cxx_fast_math
-- Performing Test has_cxx_fast_math - Success
-- Performing Test has_cxx_fp_model
-- Performing Test has_cxx_fp_model - Failed
-- Performing Test has_cxx_no_errno_math
-- Performing Test has_cxx_no_errno_math - Failed
-- Performing Test has_cxx_no_trapping_math
-- Performing Test has_cxx_no_trapping_math - Success
-- Performing Test has_cxx_no_signed_zeros
-- Performing Test has_cxx_no_signed_zeros - Success
-- Performing Test has_cxx_no_ieee_fp
-- Performing Test has_cxx_no_ieee_fp - Failed
-- Performing Test has_cxx_unqualified_std_cast_call
-- Performing Test has_cxx_unqualified_std_cast_call - Success
-- Performing Test has_cxx_error_reorder_ctor
-- Performing Test has_cxx_error_reorder_ctor - Failed
-- Performing Test has_cxx_debug-disables-optimization
-- Performing Test has_cxx_debug-disables-optimization - Failed
CMake Warning (dev) at CMakeLists.txt:64 (find_package):
Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake
--help-policy CMP0146" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "10.2")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
CMake Warning (dev) at CMakeModules/FindcuDNN.cmake:88 (find_package):
Policy CMP0146 is not set: The FindCUDA module is removed. Run "cmake
--help-policy CMP0146" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
Call Stack (most recent call first):
CMakeLists.txt:65 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found cuDNN: /usr/lib/aarch64-linux-gnu/libcudnn.so.7 (found suitable version "7.0", minimum required is "4.0")
-- Looking for CL_VERSION_3_0
-- Looking for CL_VERSION_3_0 - not found
-- Looking for CL_VERSION_2_2
-- Looking for CL_VERSION_2_2 - not found
-- Looking for CL_VERSION_2_1
-- Looking for CL_VERSION_2_1 - not found
-- Looking for CL_VERSION_2_0
-- Looking for CL_VERSION_2_0 - found
-- Found OpenCL: /usr/lib/aarch64-linux-gnu/libOpenCL.so (found suitable version "2.0", minimum required is "1.2")
-- Found OpenGL: /usr/lib/aarch64-linux-gnu/libGL.so
-- Found FreeImage: /usr/include
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- 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
-- Checking for module 'fftw3'
-- Found fftw3, version 3.3.4
-- Found FFTW: /usr/include
-- Checking for module 'cblas'
-- No package 'cblas' found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- Checking for [Accelerate]
-- Checking for [vecLib]
-- Checking for [cblas - atlas]
-- Includes found
-- Looking for cblas_dgemm
-- Looking for cblas_dgemm - found
-- CBLAS Symbols FOUND
-- CBLAS library found
-- Found LAPACKE: /usr/lib/liblapacke.so;/usr/lib/liblapack.so;/usr/lib/libblas.so
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Check size of int
-- Check size of int - done
-- MKL: Thread Layer(Intel OpenMP) Interface(4-byte Integer)
-- Could NOT find MKL: Source the compilervars.sh or mklvars.sh scripts included with your installation of MKL. This script searches for the libraries in MKLROOT, LIBRARY_PATHS(Linux), and LIB(Windows) environment variables (missing: MKL_INCLUDE_DIR MKL_Core_LINK_LIBRARY MKL_Interface_LINK_LIBRARY MKL_ThreadLayer_LINK_LIBRARY)
-- Could NOT find MKL: Source the compilervars.sh or mklvars.sh scripts included with your installation of MKL. This script searches for the libraries in MKLROOT, LIBRARY_PATHS(Linux), and LIB(Windows) environment variables (missing: MKL_INCLUDE_DIR MKL_Core_STATIC_LINK_LIBRARY MKL_Interface_STATIC_LINK_LIBRARY MKL_ThreadLayer_STATIC_LINK_LIBRARY)
-- Could NOT find GTest (missing: GTEST_MAIN_LIBRARY)
-- Found Boost: /usr/local/include (found suitable version "1.83.0", minimum required is "1.70")
CMake Warning at CMakeLists.txt:144 (find_package):
By not providing "FindMKL.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "MKL", but
CMake did not find one.
Could not find a package configuration file provided by "MKL" (requested
version 2023.1) with any of the following names:
MKLConfig.cmake
mkl-config.cmake
Add the installation prefix of "MKL" to CMAKE_PREFIX_PATH or set "MKL_DIR"
to a directory containing one of the above files. If "MKL" provides a
separate development package or SDK, be sure it has been installed.
-- Looking for sgemm_
-- Looking for sgemm_ - not found
-- Looking for sgemm_
-- Looking for sgemm_ - not found
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Found BLAS: /usr/local/lib/libopenblas.a;-lpthread
-- Looking for cheev_
-- Looking for cheev_ - found
-- Found LAPACK: /usr/local/lib/libopenblas.a;-lpthread;-lpthread;-lm;-ldl
-- Project 'span_lite', package 'span-lite' version: '0.10.2'
-- Performing Test has_ignored_attributes_flag
-- Performing Test has_ignored_attributes_flag - Success
-- Performing Test has_all_warnings_flag
-- Performing Test has_all_warnings_flag - Success
-- Found Python: /usr/bin/python3.5 (found version "3.5.2") found components: Interpreter
-- Configuring done (48.1s)
-- Generating done (23.4s)
-- Build files have been written to: /home/ubuntu/Flashlight/arrayfire/build
I just rerun the make command to get the error alone
ubuntu@dev_tx1b:~/Flashlight/arrayfire/build$ make
[ 0%] Built target af_glad_obj_lib
[ 0%] Built target af_glad
[ 0%] Built target bin2cpp
[ 0%] Built target cpu_sort_by_key_uchar
[ 0%] Built target cpu_sort_by_key_float
[ 1%] Built target cpu_sort_by_key_double
[ 1%] Built target cpu_sort_by_key_int
[ 1%] Built target cpu_sort_by_key_uint
[ 1%] Built target cpu_sort_by_key_intl
[ 1%] Built target cpu_sort_by_key_uintl
[ 1%] Built target cpu_sort_by_key_short
[ 1%] Built target cpu_sort_by_key_ushort
[ 1%] Built target cpu_sort_by_key_char
src/backend/cpu/CMakeFiles/afcpu.dir/build.make:4780: warning: overriding recipe for target 'src/backend/cpu/libafcpu.so.3.9.0'
src/backend/cpu/CMakeFiles/afcpu.dir/build.make:4775: warning: ignoring old recipe for target 'src/backend/cpu/libafcpu.so.3.9.0'
src/backend/cpu/CMakeFiles/afcpu.dir/build.make:4780: warning: overriding recipe for target 'src/backend/cpu/libafcpu.so.3.9.0'
src/backend/cpu/CMakeFiles/afcpu.dir/build.make:4775: warning: ignoring old recipe for target 'src/backend/cpu/libafcpu.so.3.9.0'
[ 1%] Linking CXX shared library libafcpu.so
c++: error: /usr/lib/liblapacke.so;/usr/lib/liblapack.so;/usr/lib/libblas.so: No such file or directory
src/backend/cpu/CMakeFiles/afcpu.dir/build.make:4780: recipe for target 'src/backend/cpu/libafcpu.so.3.9.0' failed
make[2]: *** [src/backend/cpu/libafcpu.so.3.9.0] Error 1
CMakeFiles/Makefile2:1981: recipe for target 'src/backend/cpu/CMakeFiles/afcpu.dir/all' failed
make[1]: *** [src/backend/cpu/CMakeFiles/afcpu.dir/all] Error 2
Makefile:165: recipe for target 'all' failed
make: *** [all] Error 2
found lapacke is pointing 3 lib at same time, will that be the issue? i dont know how to fix it
from arrayfire.
@umar456 did you checked what can be the issue?
from arrayfire.
Related Issues (20)
- [Build] ArrayFire OpenPGP key expired on 11-21-2023 HOT 3
- binary package for arm64
- [BUG] indexing the second dim with af::seq ignores step
- [BUG] Sorting can fail when a NAN is present HOT 1
- [Build] Bundled "extern" sources in tarball broken HOT 2
- [Build] Syntax error in CMake generator expression for OpenCL HOT 2
- [BUG] Doesn't compile due to errors with spdlog
- [Build] collect2: error: ld returned 1 exit status HOT 3
- [BUG, CUDA backend] af::shift cannot shift an array with one row HOT 4
- Integrate ZLUDA for AMD CUDA HOT 1
- [BUG] Elementwise value assignment silently fails after in-place array downsize using `rows()` HOT 1
- Arrayfire Graph: Extend Sparse Array Functionality
- [Build] Build error on x64-linux HOT 1
- [Build] OneAPI version 2024 incompatible for MKL
- Per-Array Backend Configuration for Seamless CPU and GPU Integration
- [BUG] Converting from sparse array to dense array right after computation on the coordinates
- [Build] Error : missing lib #include <climits>
- [BUG] bad handling of u8 data in saveImage
- [BUG] FP16 Types Not Allowed for Atan2 Method
- [Question]Memory allocation issue in multithread
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 arrayfire.