Closed jeremiedbb closed 6 months ago
Can you check that /usr/local/lib
is in the library search path. So check LD_LIBRARY_PATH
and the configuration of the dynamic linker ld.so
if the /usr/local/lib
is set there. Typically this is not the case for Ubuntu..
It's weird cause ldconfig -v
shows
/usr/local/lib:
libflexiblas.so.3 -> libflexiblas.so.3.3
libflexiblas_mgmt.so.3 -> libflexiblas_mgmt.so.3.3
libflexiblas_api.so.3 -> libflexiblas_api.so.3.3
so I'd assume the dynamic linker would find it. But setting LD_LIBRARY_PATH=/usr/local/lib
works which is good enough for me, thanks.
Does it work after running ldconfig
as root?
Hi, I'm trying to build an install flexiblas on ubuntu 20.04, following these instructions https://github.com/mpimd-csc/flexiblas#install. There's no error during configuration, compilation, installation and testing, but then when I run
flexiblas list
I get:cmake command log
``` -- The C compiler identification is GNU 9.4.0 -- The Fortran compiler identification is GNU 9.4.0 -- Check for working C compiler: /usr/lib/ccache/cc -- Check for working C compiler: /usr/lib/ccache/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 Fortran compiler: /usr/bin/gfortran -- Check for working Fortran compiler: /usr/bin/gfortran -- works -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - done -- Checking whether /usr/bin/gfortran supports Fortran 90 -- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes -- Configuring FlexiBLAS 3.3.1 -- SYSCONFDIR: /usr/local/etc -- LIBDIR: /usr/local/lib -- BINDIR: /usr/local/bin -- INCLUDEDIR: /usr/local/include -- MANDIR: /usr/local/share/man -- Compiler_ID: GNU -- FCompiler_ID: GNU -- Fortran compiler supports -frecursive -- Fortran compiler supports -fPIC -- Fortran compiler supports -O3 -- Fortran compiler supports -Wimplicit-procedure -- Fortran compiler supports -Wall -- Fortran compiler supports -Wunused -- Fortran compiler supports -Warray-temporaries -- Fortran compiler supports -fbacktrace -- Fortran compiler supports -Wshadow -- Fortran compiler supports -O0 -- Performing Test C_W_PEDANTIC -- Performing Test C_W_PEDANTIC - Success -- Performing Test C_W_STRICT_PROTOTYPES -- Performing Test C_W_STRICT_PROTOTYPES - Success -- Performing Test C_W_CAST_QUAL -- Performing Test C_W_CAST_QUAL - Success -- Performing Test C_STACK_PROTECTOR -- Performing Test C_STACK_PROTECTOR - Success -- Performing Test C_STACK_CLASH -- Performing Test C_STACK_CLASH - Success -- Performing Test FC_STACK_PROTECTOR -- Performing Test FC_STACK_PROTECTOR - Success -- Performing Test FC_STACK_CLASH -- Performing Test FC_STACK_CLASH - Success -- Detecting Fortran/C Interface -- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling -- Verifying Fortran/C Compiler Compatibility -- Verifying Fortran/C Compiler Compatibility - Success -- Check for Thread Local Storage -- Performing Test HAVE_THREAD_LOCAL -- Performing Test HAVE_THREAD_LOCAL - Success -- Performing Test HAVE__THREAD_LOCAL -- Performing Test HAVE__THREAD_LOCAL - Success -- Performing Test HAVE_GNU_THREAD_LOCAL -- Performing Test HAVE_GNU_THREAD_LOCAL - Success -- Looking for include file dlfcn.h -- Looking for include file dlfcn.h - found -- Looking for include file sys/sysmacro.h -- Looking for include file sys/sysmacro.h - not found -- Looking for include file sys/stat.h -- Looking for include file sys/stat.h - found -- Looking for RTLD_GLOBAL -- Looking for RTLD_GLOBAL - found -- Looking for RTLD_DEEPBIND -- Looking for RTLD_DEEPBIND - found -- Looking for RTLD_NOW -- Looking for RTLD_NOW - found -- Looking for RTLD_NODELETE -- Looking for RTLD_NODELETE - found -- Looking for dlopen -- Looking for dlopen - not found -- Looking for dlopen -- Looking for dlopen - found -- Check for __attribute__((constructor)) -- Looking for attribute: constructor - works -- Check for __attribute__((alias("foo"))) -- Looking for attribute: alias("foo") - works -- Check for __attribute__((visibility("hidden"))) -- Looking for attribute: visibility("hidden") - works -- Check for __attribute__((visibility("default"))) -- Looking for attribute: visibility("default") - works -- Check for __attribute__((unused)) -- Looking for attribute: unused - works -- libcscutils in project build -- LIBCSCUTILS Features -- Enable module: inifile -- Enable module: ds -- Check Generic Functionality -- Check for __attribute__((constructor)) -- Looking for attribute: constructor - works -- Check for __attribute__((deprecated)) -- Looking for attribute: deprecated - works -- Looking for pthread.h -- Looking for pthread.h - found -- 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 -- Looking for pthread_yield -- Looking for pthread_yield -- Looking for pthread_yield - not found -- Looking for pthread_yield -- Looking for pthread_yield - not found -- Looking for pthread_yield -- Looking for pthread_yield - not found -- Looking for pthread_yield -- Looking for pthread_yield - not found -- Looking for pthread_yield -- Looking for pthread_yield - not found -- Looking for pthread_yield -- Looking for pthread_yield - found -- Looking for pthread_yield - found (using _GNU_SOURCE). -- Looking for include file execinfo.h -- Looking for include file execinfo.h - found -- Looking for backtrace -- Looking for backtrace - found -- Looking for backtrace_symbols -- Looking for backtrace_symbols - found -- Enable csc_show_backtrace. -- Looking for strnlen -- Looking for strnlen -- Looking for strnlen - not found -- Looking for strnlen -- Looking for strnlen - not found -- Looking for strnlen -- Looking for strnlen - not found -- Looking for strnlen -- Looking for strnlen - found -- Looking for strnlen - found (using _POSIX_C_SOURCE=200809L). -- Looking for strndup -- Looking for strndup -- Looking for strndup - not found -- Looking for strndup -- Looking for strndup - not found -- Looking for strndup -- Looking for strndup - not found -- Looking for strndup -- Looking for strndup - found -- Looking for strndup - found (using _POSIX_C_SOURCE=200809L). -- Looking for include file sys/ioctl.h -- Looking for include file sys/ioctl.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for getline -- Looking for getline -- Looking for getline - not found -- Looking for getline -- Looking for getline - not found -- Looking for getline -- Looking for getline - not found -- Looking for getline -- Looking for getline - found -- Looking for getline - found (using _POSIX_C_SOURCE=200809L). -- Looking for getdelim -- Looking for getdelim -- Looking for getdelim - not found -- Looking for getdelim -- Looking for getdelim - not found -- Looking for getdelim -- Looking for getdelim - not found -- Looking for getdelim -- Looking for getdelim - found -- Looking for getdelim - found (using _POSIX_C_SOURCE=200809L). -- Features for CSC-INIFILE -- Looking for realpath -- Looking for realpath -- Looking for realpath - found -- Looking for realpath - found (using _NONE_). -- External Libraries -- Could NOT find CPUFREQ (missing: CPUFREQ_LIBRARIES CPUFREQ_INCLUDE_DIR) CPUFREQ not found. Either cpufreq.h or libcpupower.so is missing. -- Looking for strdup -- Looking for strdup -- Looking for strdup - not found -- Looking for strdup -- Looking for strdup - not found -- Looking for strdup -- Looking for strdup - not found -- Looking for strdup -- Looking for strdup - found -- Looking for strdup - found (using _POSIX_C_SOURCE=200809L). -- Looking for realpath -- Looking for realpath -- Looking for realpath - found -- Looking for realpath - found (using _NONE_). -- Netlib BLAS uses the scaling/overflow/underflow improvements from LAPACK 3.10 -- Performing Test _frecursiveFlag -- Performing Test _frecursiveFlag - Success -- Reducing RELEASE optimization level to O2 -- Looking for Fortran NONE - found -- Looking for Fortran INT_CPU_TIME - found -- Looking for Fortran EXT_ETIME - not found -- Looking for Fortran EXT_ETIME_ - not found -- Looking for Fortran INT_ETIME - found -- --> Will use second_INT_ETIME.f and dsecnd_INT_ETIME.f as timing function. -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_Fortran: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- OpenBLAS-Serial: x86_64-linux-gnu -- OpenBLAS-Serial: Candidate: /usr/lib/x86_64-linux-gnu/libopenblas.so -- OpenBLAS-Serial: /usr/lib/x86_64-linux-gnu/libopenblas.so does not contain the Serial version of OpenBLAS. -- Could NOT find OpenBLASSerial (missing: OpenBLASSerial_LIBRARY) -- OpenBLASSerial not found. -- OpenBLAS-PThread: x86_64-linux-gnu -- OpenBLAS-PThread: Candidate: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.so -- Found OpenBLASPThread: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.so -- Build BLAS interface: OpenBLASPThread -- Libs: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.so -- Build additional BLAS interface: OpenBLASPThread -- -- Libs: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.so -- -- Linker Flags: -- Performing Test ZDOTC_MKL -- Performing Test ZDOTC_MKL - Failed -- Looking for flexiblas_exit -- Looking for flexiblas_exit - not found -- Looking for Fortran DAXPY -- Looking for Fortran DAXPY - found -- Looking for cblas_daxpy -- Looking for cblas_daxpy - found -- Looking for MKL_Get_Version -- Looking for MKL_Get_Version - not found -- Add CBLAS in dummy library -- OpenBLAS-OpenMP: x86_64-linux-gnu -- OpenBLAS-OpenMP: Candidate: /usr/lib/x86_64-linux-gnu/libopenblas.so -- OpenBLAS-OpenMP: /usr/lib/x86_64-linux-gnu/libopenblas.so does not contain the OpenMP version of OpenBLAS. -- Could NOT find OpenBLASOpenMP (missing: OpenBLASOpenMP_LIBRARY) -- OpenBLASOpenMP not found. -- Blis-Serial: x86_64-linux-gnu -- Could NOT find BlisSerial (missing: BlisSerial_LIBRARY) -- BlisSerial not found. -- Blis-PThread: x86_64-linux-gnu -- Could NOT find BlisPThread (missing: BlisPThread_LIBRARY) -- BlisPThread not found. -- Blis-OpenMP: x86_64-linux-gnu -- Could NOT find BlisOpenMP (missing: BlisOpenMP_LIBRARY) -- BlisOpenMP not found. -- Search for MKL: mkl_gf_lp64 mkl_sequential mkl_core -- MklSerial not found. -- Search for MKL: mkl_gf_lp64 mkl_gnu_thread mkl_core -- MklOpenMP not found. -- PP: -- SP: -- MKL_TBB depends on TBB. Not Found. -- MklTBB not found. -- -- Search for ATLAS -- Looking for Fortran sgemm -- Looking for Fortran sgemm - found -- BLAS Library ATLAS works with 32bit integers -- Found BLAS: ATLAS (/usr/lib/x86_64-linux-gnu/libf77blas.so;/usr/lib/x86_64-linux-gnu/libatlas.so;-lpthread;-lm) -- Build extra BLAS interface: ATLAS -- Libs: /usr/lib/x86_64-linux-gnu/libf77blas.so;/usr/lib/x86_64-linux-gnu/libatlas.so;-lpthread;-lm -- Performing Test ZDOTC_MKL -- Performing Test ZDOTC_MKL - Failed -- Looking for Fortran SCABS1 -- Looking for Fortran SCABS1 - not found -- Looking for flexiblas_exit -- Looking for flexiblas_exit - not found -- Looking for Fortran DAXPY -- Looking for Fortran DAXPY - found -- Looking for Fortran MKL_DOMATCOPY -- Looking for Fortran MKL_DOMATCOPY - not found -- Looking for cblas_daxpy -- Looking for cblas_daxpy - not found -- ATLAS does not provide a scabs1 function -- Extra Linker Flags: -- -- Search for Apple -- A library with BLAS API not found. Please specify library location. -- Default BLAS not found. Use NETLIB instead. -- Found hook directory. -- Build profile hook. -- Found OpenMP_C: -fopenmp -- Found OpenMP_Fortran: -fopenmp -- Found OpenMP: TRUE -- Enable Multithread Demo -- Build Extra Benchmarks -- OpenBLASPThread - /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.so - -- ATLAS - /usr/lib/x86_64-linux-gnu/libf77blas.so;/usr/lib/x86_64-linux-gnu/libatlas.so;-lpthread;-lm;gfortran - -- Enable Testing... -- /home/jeremie/R/O/flexiblas/test/blas/sblat1.in -- /home/jeremie/R/O/flexiblas/test/blas/sblat2.in -- /home/jeremie/R/O/flexiblas/test/blas/sblat3.in -- /home/jeremie/R/O/flexiblas/test/blas/dblat1.in -- /home/jeremie/R/O/flexiblas/test/blas/dblat2.in -- /home/jeremie/R/O/flexiblas/test/blas/dblat3.in -- /home/jeremie/R/O/flexiblas/test/blas/cblat1.in -- /home/jeremie/R/O/flexiblas/test/blas/cblat2.in -- /home/jeremie/R/O/flexiblas/test/blas/cblat3.in -- /home/jeremie/R/O/flexiblas/test/blas/zblat1.in -- /home/jeremie/R/O/flexiblas/test/blas/zblat2.in -- /home/jeremie/R/O/flexiblas/test/blas/zblat3.in -- Found PythonInterp: /home/jeremie/miniforge/bin/python3 -- Found Python (3.9.13): /home/jeremie/miniforge/include/python3.9 -- Running Summary -- ------------------------------------------------ -- Final Configuration Status -- ------------------------------------------------ -- Build 8 byte integer: OFF -- Build CBLAS interface: ON -- Install path: /usr/local -- Extra BLAS search path: /usr/local/lib/flexiblas/ -- LAPACK Support: ON -- LAPACK_API_VERSION: 3.11.0 -- ABI: GNU -- Interface to Extra BLAS Libraries: -- /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.so - OpenBLASPThread -- /usr/lib/x86_64-linux-gnu/libf77blas.so;/usr/lib/x86_64-linux-gnu/libatlas.so;-lpthread;-lm;gfortran - ATLAS -- Default BLAS: NETLIB -- -- Compiler Options: -- CMAKE_C_FLAGS = -fPIC -std=c99 -fstack-protector-strong -fstack-clash-protection -D_FILE_OFFSET_BITS=64 -- CMAKE_C_FLAGS_RELEASE = -O3 -DNDEBUG -O3 -Wpedantic -Wstrict-prototypes -Wcast-qual -- CMAKE_C_FLAGS_DEBUG = -g -Wall -Wunused -g -Wextra -Wshadow -Wstrict-aliasing -Wundef -Wlogical-op -Wparentheses -Wcast-qual -O0 -Wpedantic -Wstrict-prototypes -Wcast-qual -- CMAKE_Fortran_FLAGS = -frecursive -fPIC -fstack-protector-strong -fstack-clash-protection -- CMAKE_Fortran_FLAGS_RELEASE = -O3 -DNDEBUG -O3 -O3 -- CMAKE_Fortran_FLAGS_DEBUG = -g -Wimplicit-procedure -Wall -Wunused -Warray-temporaries -fbacktrace -Wshadow -O0 -- ------------------------------------------------ -- Configuring done -- Generating done -- Build files have been written to: /home/jeremie/R/O/flexiblas/build ```compilation log (removed all lines for individual files "building C object ..." because too long for github)
``` Scanning dependencies of target cscutils_src [ 0%] Built target cscutils_src Scanning dependencies of target cscutils [ 0%] Linking Fortran static library ../lib/libcscutils.a [ 0%] Built target cscutils Scanning dependencies of target flexiblas_netlib_objs [ 3%] Built target flexiblas_netlib_objs Scanning dependencies of target flexiblas_fallback_lapack_objs [ 37%] Built target flexiblas_fallback_lapack_objs Scanning dependencies of target flexiblas [ 74%] Linking C shared library ../lib/libflexiblas.so [ 74%] Built target flexiblas Scanning dependencies of target flexiblas_mgmt [ 74%] Linking C shared library ../lib/libflexiblas_mgmt.so [ 74%] Built target flexiblas_mgmt [ 74%] Linking C executable flexiblas [ 74%] Built target flexiblas-tool Scanning dependencies of target flexiblas_atlas [ 74%] Building C object src/CMakeFiles/flexiblas_atlas.dir/backends/generic/backend.c.o [ 74%] Linking C shared library ../lib/libflexiblas_atlas.so [ 74%] Built target flexiblas_atlas Scanning dependencies of target flexiblas_openblaspthread [ 74%] Building C object src/CMakeFiles/flexiblas_openblaspthread.dir/backends/generic/backend.c.o [ 74%] Linking C shared library ../lib/libflexiblas_openblaspthread.so [ 74%] Built target flexiblas_openblaspthread Scanning dependencies of target flexiblas-config [ 74%] Building C object src/CMakeFiles/flexiblas-config.dir/flexiblas-config.c.o [ 74%] Linking C executable flexiblas-config [ 74%] Built target flexiblas-config Scanning dependencies of target flexiblas_api [ 74%] Building C object src/CMakeFiles/flexiblas_api.dir/flexiblas_api_standalone.c.o [ 74%] Linking C shared library ../lib/libflexiblas_api.so [ 74%] Built target flexiblas_api Scanning dependencies of target flexiblas_netlib [ 74%] Linking Fortran shared library ../../lib/libflexiblas_netlib.so [ 74%] Built target flexiblas_netlib Scanning dependencies of target flexiblas_fallback_lapack [ 74%] Building C object src/fallback_lapack/CMakeFiles/flexiblas_fallback_lapack.dir/dummy_3_11_0.c.o [ 74%] Linking Fortran shared library ../../lib/libflexiblas_fallback_lapack.so [ 74%] Built target flexiblas_fallback_lapack Scanning dependencies of target flexiblas_hook_profile [ 74%] Building C object src/hooks/profile/CMakeFiles/flexiblas_hook_profile.dir/profile_hook.c.o [ 74%] Building C object src/hooks/profile/CMakeFiles/flexiblas_hook_profile.dir/profile_blas.c.o [ 74%] Building C object src/hooks/profile/CMakeFiles/flexiblas_hook_profile.dir/profile_lapack_3_11_0.c.o [ 74%] Linking C shared library ../../../lib/libflexiblas_hook_profile.so [ 74%] Built target flexiblas_hook_profile Scanning dependencies of target flexiblas_hook_dummy [ 74%] Building C object src/hooks/dummy/CMakeFiles/flexiblas_hook_dummy.dir/dummy_hook.c.o [ 74%] Linking C shared library ../../../lib/libflexiblas_hook_dummy.so [ 74%] Built target flexiblas_hook_dummy Scanning dependencies of target demo_imatcopy [ 74%] Building C object examples/CMakeFiles/demo_imatcopy.dir/demo_imatcopy.c.o [ 74%] Linking C executable demo_imatcopy [ 74%] Built target demo_imatcopy Scanning dependencies of target demo_omatcopy [ 74%] Building C object examples/CMakeFiles/demo_omatcopy.dir/demo_omatcopy.c.o [ 74%] Linking C executable demo_omatcopy [ 74%] Built target demo_omatcopy Scanning dependencies of target demo_xerbla [ 74%] Building C object examples/CMakeFiles/demo_xerbla.dir/demo_xerbla.c.o [ 74%] Linking C executable demo_xerbla [ 74%] Built target demo_xerbla Scanning dependencies of target test_zdotc_intel [ 74%] Building C object examples/CMakeFiles/test_zdotc_intel.dir/test_zdotc_intel.c.o [ 74%] Linking C executable test_zdotc_intel [ 74%] Built target test_zdotc_intel Scanning dependencies of target benchmark_dgetrf [ 74%] Building C object examples/CMakeFiles/benchmark_dgetrf.dir/benchmark_dgetrf.c.o [ 74%] Linking C executable benchmark_dgetrf [ 74%] Built target benchmark_dgetrf Scanning dependencies of target test_zdotc_gnu [ 74%] Building C object examples/CMakeFiles/test_zdotc_gnu.dir/test_zdotc_gnu.c.o [ 74%] Linking C executable test_zdotc_gnu [ 74%] Built target test_zdotc_gnu Scanning dependencies of target demo_api_standalone_fb [ 74%] Building C object examples/CMakeFiles/demo_api_standalone_fb.dir/demo_api_standalone.c.o [ 74%] Linking C executable demo_api_standalone_fb [ 74%] Built target demo_api_standalone_fb Scanning dependencies of target benchmark [ 74%] Building C object examples/CMakeFiles/benchmark.dir/benchmark.c.o [ 74%] Linking C executable benchmark [ 74%] Built target benchmark Scanning dependencies of target demo_1 [ 74%] Building C object examples/CMakeFiles/demo_1.dir/demo_1.c.o [ 74%] Linking C executable demo_1 [ 74%] Built target demo_1 Scanning dependencies of target demo_axpby [ 74%] Building C object examples/CMakeFiles/demo_axpby.dir/demo_axpby.c.o [ 74%] Linking C executable demo_axpby [ 74%] Built target demo_axpby Scanning dependencies of target demo_set_threads [ 74%] Building C object examples/CMakeFiles/demo_set_threads.dir/demo_set_threads.c.o [ 74%] Linking C executable demo_set_threads [ 74%] Built target demo_set_threads Scanning dependencies of target demo_api [ 74%] Building C object examples/CMakeFiles/demo_api.dir/demo_api.c.o [ 74%] Linking C executable demo_api [ 74%] Built target demo_api Scanning dependencies of target demo_api_standalone_all [ 74%] Building C object examples/CMakeFiles/demo_api_standalone_all.dir/demo_api_standalone.c.o [ 74%] Linking C executable demo_api_standalone_all [ 74%] Built target demo_api_standalone_all Scanning dependencies of target benchmark_overhead_quickreturn.NETLIB [ 74%] Building C object examples/CMakeFiles/benchmark_overhead_quickreturn.NETLIB.dir/benchmark_overhead_quickreturn.c.o [ 74%] Linking C executable benchmark_overhead_quickreturn.NETLIB [ 74%] Built target benchmark_overhead_quickreturn.NETLIB Scanning dependencies of target demo_2 [ 74%] Building C object examples/CMakeFiles/demo_2.dir/demo_2.c.o [ 74%] Linking C executable demo_2 [ 74%] Built target demo_2 Scanning dependencies of target benchmark_overhead_quickreturn.OpenBLASPThread [ 74%] Building C object examples/CMakeFiles/benchmark_overhead_quickreturn.OpenBLASPThread.dir/benchmark_overhead_quickreturn.c.o [ 74%] Linking C executable benchmark_overhead_quickreturn.OpenBLASPThread [ 74%] Built target benchmark_overhead_quickreturn.OpenBLASPThread Scanning dependencies of target test_zdotc_fortran [ 74%] Building Fortran object examples/CMakeFiles/test_zdotc_fortran.dir/test_zdotc_fortran.f90.o [ 74%] Linking Fortran executable test_zdotc_fortran [ 74%] Built target test_zdotc_fortran Scanning dependencies of target benchmark_overhead_quickreturn [ 74%] Building C object examples/CMakeFiles/benchmark_overhead_quickreturn.dir/benchmark_overhead_quickreturn.c.o [ 74%] Linking C executable benchmark_overhead_quickreturn [ 74%] Built target benchmark_overhead_quickreturn Scanning dependencies of target demo_api_standalone_allinv [ 74%] Building C object examples/CMakeFiles/demo_api_standalone_allinv.dir/demo_api_standalone.c.o [ 75%] Linking C executable demo_api_standalone_allinv [ 75%] Built target demo_api_standalone_allinv Scanning dependencies of target demo_api_standalone_api [ 75%] Building C object examples/CMakeFiles/demo_api_standalone_api.dir/demo_api_standalone.c.o [ 75%] Linking C executable demo_api_standalone_api [ 75%] Built target demo_api_standalone_api Scanning dependencies of target benchmark.OpenBLASPThread [ 75%] Building C object examples/CMakeFiles/benchmark.OpenBLASPThread.dir/benchmark.c.o [ 75%] Linking C executable benchmark.OpenBLASPThread [ 75%] Built target benchmark.OpenBLASPThread Scanning dependencies of target benchmark.NETLIB [ 75%] Building C object examples/CMakeFiles/benchmark.NETLIB.dir/benchmark.c.o [ 75%] Linking C executable benchmark.NETLIB [ 75%] Built target benchmark.NETLIB Scanning dependencies of target benchmark.ATLAS [ 75%] Building C object examples/CMakeFiles/benchmark.ATLAS.dir/benchmark.c.o [ 75%] Linking C executable benchmark.ATLAS [ 75%] Built target benchmark.ATLAS Scanning dependencies of target benchmark_overhead_quickreturn.ATLAS [ 75%] Building C object examples/CMakeFiles/benchmark_overhead_quickreturn.ATLAS.dir/benchmark_overhead_quickreturn.c.o [ 75%] Linking C executable benchmark_overhead_quickreturn.ATLAS [ 75%] Built target benchmark_overhead_quickreturn.ATLAS Scanning dependencies of target demo_multithread [ 75%] Building C object examples/CMakeFiles/demo_multithread.dir/demo_multithread.c.o [ 75%] Linking C executable demo_multithread [ 75%] Built target demo_multithread Scanning dependencies of target xblat2d [ 75%] Building Fortran object test/blas/CMakeFiles/xblat2d.dir/dblat2.f.o [ 75%] Linking Fortran executable xblat2d [ 75%] Built target xblat2d Scanning dependencies of target xblat2s [ 75%] Building Fortran object test/blas/CMakeFiles/xblat2s.dir/sblat2.f.o [ 75%] Linking Fortran executable xblat2s [ 75%] Built target xblat2s Scanning dependencies of target xblat1d [ 75%] Building Fortran object test/blas/CMakeFiles/xblat1d.dir/dblat1.f.o [ 75%] Linking Fortran executable xblat1d [ 75%] Built target xblat1d Scanning dependencies of target xblat3z [ 75%] Building Fortran object test/blas/CMakeFiles/xblat3z.dir/zblat3.f.o [ 75%] Linking Fortran executable xblat3z [ 75%] Built target xblat3z Scanning dependencies of target xblat3d [ 75%] Building Fortran object test/blas/CMakeFiles/xblat3d.dir/dblat3.f.o [ 75%] Linking Fortran executable xblat3d [ 75%] Built target xblat3d Scanning dependencies of target xblat1c [ 75%] Building Fortran object test/blas/CMakeFiles/xblat1c.dir/cblat1.f.o [ 75%] Linking Fortran executable xblat1c [ 75%] Built target xblat1c Scanning dependencies of target xblat2c [ 75%] Building Fortran object test/blas/CMakeFiles/xblat2c.dir/cblat2.f.o [ 75%] Linking Fortran executable xblat2c [ 75%] Built target xblat2c Scanning dependencies of target xblat3s [ 75%] Building Fortran object test/blas/CMakeFiles/xblat3s.dir/sblat3.f.o [ 75%] Linking Fortran executable xblat3s [ 75%] Built target xblat3s Scanning dependencies of target xblat3c [ 75%] Building Fortran object test/blas/CMakeFiles/xblat3c.dir/cblat3.f.o [ 76%] Linking Fortran executable xblat3c [ 76%] Built target xblat3c Scanning dependencies of target xblat1z [ 76%] Building Fortran object test/blas/CMakeFiles/xblat1z.dir/zblat1.f.o [ 76%] Linking Fortran executable xblat1z [ 76%] Built target xblat1z Scanning dependencies of target xblat1s [ 76%] Building Fortran object test/blas/CMakeFiles/xblat1s.dir/sblat1.f.o [ 76%] Linking Fortran executable xblat1s [ 76%] Built target xblat1s Scanning dependencies of target xblat2z [ 76%] Building Fortran object test/blas/CMakeFiles/xblat2z.dir/zblat2.f.o [ 76%] Linking Fortran executable xblat2z [ 76%] Built target xblat2z Scanning dependencies of target xzcblat2 [ 76%] Building Fortran object test/blas/cblas/CMakeFiles/xzcblat2.dir/c_zblat2.f.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xzcblat2.dir/c_zblas2.c.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xzcblat2.dir/c_z2chke.c.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xzcblat2.dir/auxiliary.c.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xzcblat2.dir/c_xerbla.c.o [ 76%] Linking Fortran executable xzcblat2 [ 76%] Built target xzcblat2 Scanning dependencies of target xscblat1 [ 76%] Building Fortran object test/blas/cblas/CMakeFiles/xscblat1.dir/c_sblat1.f.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xscblat1.dir/c_sblas1.c.o [ 76%] Linking Fortran executable xscblat1 [ 76%] Built target xscblat1 Scanning dependencies of target xscblat2 [ 76%] Building Fortran object test/blas/cblas/CMakeFiles/xscblat2.dir/c_sblat2.f.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xscblat2.dir/c_sblas2.c.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xscblat2.dir/c_s2chke.c.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xscblat2.dir/auxiliary.c.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xscblat2.dir/c_xerbla.c.o [ 76%] Linking Fortran executable xscblat2 [ 76%] Built target xscblat2 Scanning dependencies of target xscblat3 [ 76%] Building Fortran object test/blas/cblas/CMakeFiles/xscblat3.dir/c_sblat3.f.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xscblat3.dir/c_sblas3.c.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xscblat3.dir/c_s3chke.c.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xscblat3.dir/auxiliary.c.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xscblat3.dir/c_xerbla.c.o [ 76%] Linking Fortran executable xscblat3 [ 76%] Built target xscblat3 Scanning dependencies of target xdcblat1 [ 76%] Building Fortran object test/blas/cblas/CMakeFiles/xdcblat1.dir/c_dblat1.f.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xdcblat1.dir/c_dblas1.c.o [ 76%] Linking Fortran executable xdcblat1 [ 76%] Built target xdcblat1 Scanning dependencies of target xdcblat2 [ 76%] Building Fortran object test/blas/cblas/CMakeFiles/xdcblat2.dir/c_dblat2.f.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xdcblat2.dir/c_dblas2.c.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xdcblat2.dir/c_d2chke.c.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xdcblat2.dir/auxiliary.c.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xdcblat2.dir/c_xerbla.c.o [ 76%] Linking Fortran executable xdcblat2 [ 76%] Built target xdcblat2 Scanning dependencies of target xzcblat3 [ 76%] Building Fortran object test/blas/cblas/CMakeFiles/xzcblat3.dir/c_zblat3.f.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xzcblat3.dir/c_zblas3.c.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xzcblat3.dir/c_z3chke.c.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xzcblat3.dir/auxiliary.c.o [ 76%] Building C object test/blas/cblas/CMakeFiles/xzcblat3.dir/c_xerbla.c.o [ 77%] Linking Fortran executable xzcblat3 [ 77%] Built target xzcblat3 Scanning dependencies of target xccblat1 [ 77%] Building Fortran object test/blas/cblas/CMakeFiles/xccblat1.dir/c_cblat1.f.o [ 77%] Building C object test/blas/cblas/CMakeFiles/xccblat1.dir/c_cblas1.c.o [ 77%] Linking Fortran executable xccblat1 [ 77%] Built target xccblat1 Scanning dependencies of target xccblat2 [ 77%] Building Fortran object test/blas/cblas/CMakeFiles/xccblat2.dir/c_cblat2.f.o [ 77%] Building C object test/blas/cblas/CMakeFiles/xccblat2.dir/c_cblas2.c.o [ 77%] Building C object test/blas/cblas/CMakeFiles/xccblat2.dir/c_c2chke.c.o [ 77%] Building C object test/blas/cblas/CMakeFiles/xccblat2.dir/auxiliary.c.o [ 77%] Building C object test/blas/cblas/CMakeFiles/xccblat2.dir/c_xerbla.c.o [ 77%] Linking Fortran executable xccblat2 [ 77%] Built target xccblat2 Scanning dependencies of target xdcblat3 [ 77%] Building Fortran object test/blas/cblas/CMakeFiles/xdcblat3.dir/c_dblat3.f.o [ 77%] Building C object test/blas/cblas/CMakeFiles/xdcblat3.dir/c_dblas3.c.o [ 77%] Building C object test/blas/cblas/CMakeFiles/xdcblat3.dir/c_d3chke.c.o [ 77%] Building C object test/blas/cblas/CMakeFiles/xdcblat3.dir/auxiliary.c.o [ 77%] Building C object test/blas/cblas/CMakeFiles/xdcblat3.dir/c_xerbla.c.o [ 77%] Linking Fortran executable xdcblat3 [ 77%] Built target xdcblat3 Scanning dependencies of target xccblat3 [ 77%] Building Fortran object test/blas/cblas/CMakeFiles/xccblat3.dir/c_cblat3.f.o [ 77%] Building C object test/blas/cblas/CMakeFiles/xccblat3.dir/c_cblas3.c.o [ 77%] Building C object test/blas/cblas/CMakeFiles/xccblat3.dir/c_c3chke.c.o [ 77%] Building C object test/blas/cblas/CMakeFiles/xccblat3.dir/auxiliary.c.o [ 77%] Building C object test/blas/cblas/CMakeFiles/xccblat3.dir/c_xerbla.c.o [ 77%] Linking Fortran executable xccblat3 [ 77%] Built target xccblat3 Scanning dependencies of target xzcblat1 [ 77%] Building Fortran object test/blas/cblas/CMakeFiles/xzcblat1.dir/c_zblat1.f.o [ 77%] Building C object test/blas/cblas/CMakeFiles/xzcblat1.dir/c_zblas1.c.o [ 77%] Linking Fortran executable xzcblat1 [ 77%] Built target xzcblat1 Scanning dependencies of target tmglib [ 78%] Linking Fortran static library ../../../lib/libtmglib.a [ 78%] Built target tmglib Scanning dependencies of target xlintsts [ 81%] Linking Fortran executable xlintsts [ 81%] Built target xlintsts Scanning dependencies of target xlintstd [ 84%] Linking Fortran executable xlintstd [ 84%] Built target xlintstd Scanning dependencies of target xlintstrfc [ 84%] Linking Fortran executable xlintstrfc [ 84%] Built target xlintstrfc Scanning dependencies of target xlintstrfs [ 84%] Linking Fortran executable xlintstrfs [ 84%] Built target xlintstrfs Scanning dependencies of target xlintstds [ 84%] Linking Fortran executable xlintstds [ 84%] Built target xlintstds Scanning dependencies of target xlintstc [ 88%] Linking Fortran executable xlintstc [ 88%] Built target xlintstc Scanning dependencies of target xlintstz [ 92%] Linking Fortran executable xlintstz [ 92%] Built target xlintstz Scanning dependencies of target xlintstrfz [ 92%] Linking Fortran executable xlintstrfz [ 92%] Built target xlintstrfz Scanning dependencies of target xlintstzc [ 92%] Linking Fortran executable xlintstzc [ 92%] Built target xlintstzc Scanning dependencies of target xlintstrfd [ 93%] Linking Fortran executable xlintstrfd [ 93%] Built target xlintstrfd Scanning dependencies of target xeigtstz [ 95%] Linking Fortran executable xeigtstz [ 95%] Built target xeigtstz Scanning dependencies of target xeigtstd [ 97%] Linking Fortran executable xeigtstd [ 97%] Built target xeigtstd Scanning dependencies of target xeigtstc [ 99%] Linking Fortran executable xeigtstc [ 99%] Built target xeigtstc Scanning dependencies of target xeigtsts [100%] Linking Fortran executable xeigtsts [100%] Built target xeigtsts ```Installation log
``` [ 0%] Built target cscutils_src [ 0%] Built target cscutils [ 3%] Built target flexiblas_netlib_objs [ 37%] Built target flexiblas_fallback_lapack_objs [ 74%] Built target flexiblas [ 74%] Built target flexiblas_mgmt [ 74%] Built target flexiblas-tool [ 74%] Built target flexiblas_atlas [ 74%] Built target flexiblas_openblaspthread [ 74%] Built target flexiblas-config [ 74%] Built target flexiblas_api [ 74%] Built target flexiblas_netlib [ 74%] Built target flexiblas_fallback_lapack [ 74%] Built target flexiblas_hook_profile [ 74%] Built target flexiblas_hook_dummy [ 74%] Built target demo_imatcopy [ 74%] Built target demo_omatcopy [ 74%] Built target demo_xerbla [ 74%] Built target test_zdotc_intel [ 74%] Built target benchmark_dgetrf [ 74%] Built target test_zdotc_gnu [ 74%] Built target demo_api_standalone_fb [ 74%] Built target benchmark [ 74%] Built target demo_1 [ 74%] Built target demo_axpby [ 74%] Built target demo_set_threads [ 74%] Built target demo_api [ 74%] Built target demo_api_standalone_all [ 74%] Built target benchmark_overhead_quickreturn.NETLIB [ 74%] Built target demo_2 [ 74%] Built target benchmark_overhead_quickreturn.OpenBLASPThread [ 74%] Built target test_zdotc_fortran [ 74%] Built target benchmark_overhead_quickreturn [ 75%] Built target demo_api_standalone_allinv [ 75%] Built target demo_api_standalone_api [ 75%] Built target benchmark.OpenBLASPThread [ 75%] Built target benchmark.NETLIB [ 75%] Built target benchmark.ATLAS [ 75%] Built target benchmark_overhead_quickreturn.ATLAS [ 75%] Built target demo_multithread [ 75%] Built target xblat2d [ 75%] Built target xblat2s [ 75%] Built target xblat1d [ 75%] Built target xblat3z [ 75%] Built target xblat3d [ 75%] Built target xblat1c [ 75%] Built target xblat2c [ 75%] Built target xblat3s [ 76%] Built target xblat3c [ 76%] Built target xblat1z [ 76%] Built target xblat1s [ 76%] Built target xblat2z [ 76%] Built target xzcblat2 [ 76%] Built target xscblat1 [ 76%] Built target xscblat2 [ 76%] Built target xscblat3 [ 76%] Built target xdcblat1 [ 76%] Built target xdcblat2 [ 77%] Built target xzcblat3 [ 77%] Built target xccblat1 [ 77%] Built target xccblat2 [ 77%] Built target xdcblat3 [ 77%] Built target xccblat3 [ 77%] Built target xzcblat1 [ 78%] Built target tmglib [ 81%] Built target xlintsts [ 84%] Built target xlintstd [ 84%] Built target xlintstrfc [ 84%] Built target xlintstrfs [ 84%] Built target xlintstds [ 88%] Built target xlintstc [ 92%] Built target xlintstz [ 92%] Built target xlintstrfz [ 92%] Built target xlintstzc [ 93%] Built target xlintstrfd [ 95%] Built target xeigtstz [ 97%] Built target xeigtstd [ 99%] Built target xeigtstc [100%] Built target xeigtsts Install the project... -- Install configuration: "Release" -- Installing: /usr/local/etc/flexiblasrc -- Installing: /usr/local/include/flexiblas/blas_gnu.h -- Installing: /usr/local/include/flexiblas/blas_intel.h -- Installing: /usr/local/include/flexiblas/flexiblas_config.h -- Installing: /usr/local/include/flexiblas/flexiblas_api.h -- Installing: /usr/local/include/flexiblas/flexiblas_fortran_mangle.h -- Installing: /usr/local/include/flexiblas/lapack.h -- Installing: /usr/local/include/flexiblas/flexiblas_real_lapack.h -- Installing: /usr/local/include/flexiblas/flexiblas_backend.h -- Installing: /usr/local/include/flexiblas/flexiblas_real_calls.h -- Installing: /usr/local/include/flexiblas/flexiblas_real_cblas_calls.h -- Installing: /usr/local/include/flexiblas/flexiblas_dummy_fortran.h -- Installing: /usr/local/include/flexiblas/flexiblas_dummy_cblas.h -- Installing: /usr/local/include/flexiblas/flexiblas_mgmt.h -- Installing: /usr/local/include/flexiblas/cblas.h -- Installing: /usr/local/lib/pkgconfig/flexiblas.pc -- Installing: /usr/local/lib/pkgconfig/flexiblas_api.pc -- Up-to-date: /usr/local/share/man -- Up-to-date: /usr/local/share/man/man3 -- Up-to-date: /usr/local/share/man/man3/flexiblas_load_backend.3 -- Up-to-date: /usr/local/share/man/man3/flexiblas_get_version.3 -- Up-to-date: /usr/local/share/man/man3/flexiblas_load_backend_library.3 -- Up-to-date: /usr/local/share/man/man3/flexiblas_switch.3 -- Up-to-date: /usr/local/share/man/man3/flexiblas_print_loaded_backends.3 -- Up-to-date: /usr/local/share/man/man3/flexiblas_print_avail_backends.3 -- Up-to-date: /usr/local/share/man/man3/flexiblas_avail.3 -- Up-to-date: /usr/local/share/man/man3/flexiblas_print_current_backend.3 -- Up-to-date: /usr/local/share/man/man3/flexiblas_current_backend.3 -- Up-to-date: /usr/local/share/man/man3/flexiblas_set_num_threads.3 -- Up-to-date: /usr/local/share/man/man3/flexiblas_list.3 -- Up-to-date: /usr/local/share/man/man3/flexiblas_get_num_threads.3 -- Up-to-date: /usr/local/share/man/man3/flexiblas_list_loaded.3 -- Up-to-date: /usr/local/share/man/man1 -- Up-to-date: /usr/local/share/man/man1/flexiblas.1 -- Up-to-date: /usr/local/share/man/man7 -- Up-to-date: /usr/local/share/man/man7/flexiblas-api.7 -- Installing: /usr/local/lib/libflexiblas.so.3.3 -- Installing: /usr/local/lib/libflexiblas.so.3 -- Installing: /usr/local/lib/libflexiblas.so -- Installing: /usr/local/lib/libflexiblas_mgmt.so.3.3 -- Installing: /usr/local/lib/libflexiblas_mgmt.so.3 -- Installing: /usr/local/lib/libflexiblas_mgmt.so -- Installing: /usr/local/lib/libflexiblas_api.so.3.3 -- Installing: /usr/local/lib/libflexiblas_api.so.3 -- Installing: /usr/local/lib/libflexiblas_api.so -- Installing: /usr/local/bin/flexiblas -- Set runtime path of "/usr/local/bin/flexiblas" to "" -- Installing: /usr/local/bin/flexiblas-config -- Installing: /usr/local/lib/flexiblas/libflexiblas_openblaspthread.so -- Set runtime path of "/usr/local/lib/flexiblas/libflexiblas_openblaspthread.so" to "/usr/lib/x86_64-linux-gnu/openblas-pthread" -- Installing: /usr/local/etc/flexiblasrc.d/OpenBLASPThread.conf -- Installing: /usr/local/lib/flexiblas/libflexiblas_atlas.so -- Installing: /usr/local/etc/flexiblasrc.d/ATLAS.conf -- Installing: /usr/local/etc/flexiblasrc.d/NETLIB.conf -- Installing: /usr/local/lib/flexiblas/libflexiblas_netlib.so -- Installing: /usr/local/lib/flexiblas/libflexiblas_fallback_lapack.so -- Installing: /usr/local/lib/flexiblas/libflexiblas_hook_profile.so -- Set runtime path of "/usr/local/lib/flexiblas/libflexiblas_hook_profile.so" to "" -- Installing: /usr/local/lib/flexiblas/libflexiblas_hook_dummy.so -- Set runtime path of "/usr/local/lib/flexiblas/libflexiblas_hook_dummy.so" to "" ```Then when I link a program against libflexiblas, running
ldd
on my dso giveslibflexiblas.so.3 => not found
. But I checked and confirmed that libflexiblas.so is as expected in/usr/local/lib/
.