Our current SDR online list: https://sdr-list.xyz/

Run-time dependency cufft found: NO

Started by ihweb, Dec 31, 2024, 09:01 AM

Previous topic - Next topic

ihweb

Hello friend,
I followed the instructions to install phantomsdr. When executing

 meson build --optimization 3

the console output:
Run-time dependency cufft found: NO (tried pkgconfig and cmake)

I am sure I have libcufft.so in /usr/local/cuda/lib64/

lrwxrwxrwx 1 root root        14 Sep 17 21:13 libcufft.so -> libcufft.so.11
lrwxrwxrwx 1 root root        20 Sep 17 21:13 libcufft.so.11 -> libcufft.so.11.3.0.4
-rw-r--r-- 1 root root 278278504 Sep 17 21:13 libcufft.so.11.3.0.4
-rw-r--r-- 1 root root 289641610 Sep 17 21:13 libcufft_static.a
-rw-r--r-- 1 root root 289546686 Sep 17 21:13 libcufft_static_nocallback.a
lrwxrwxrwx 1 root root        15 Sep 17 21:13 libcufftw.so -> libcufftw.so.11
lrwxrwxrwx 1 root root        21 Sep 17 21:13 libcufftw.so.11 -> libcufftw.so.11.3.0.4
-rw-r--r-- 1 root root    974920 Sep 17 21:13 libcufftw.so.11.3.0.4
-rw-r--r-- 1 root root     92522 Sep 17 21:13 libcufftw_static.a

 Can anyone help me?thank you.

ihweb

After fixing this error, continue execution; Finally I saw a few warnings:
meson.build:13: WARNING: Consider using the built-in option for language standard version instead of using "-std=c++23".
meson.build:13: WARNING: Consider using the built-in warning_level option instead of using "-Wall".
meson.build:13: WARNING: Consider using the built-in warning_level option instead of using "-Wextra". Build cuda_11.5.r11.5/compiler.30672275_0
meson.build:90: WARNING: Module unstable-cuda has no backwards or forwards compatibility and might not exist in future releases.
meson.build:95: WARNING: Consider using the built-in optimization level instead of using "-O3".


Result:
ninja: build stopped: subcommand failed.

Can anyone help me?

ihweb

My meson config

The Meson build system
Version: 0.61.2
Source dir: /home/admins/PhantomSDR-Plus
Build dir: /home/admins/PhantomSDR-Plus/build
Build type: native build
Project name: spectrumdistributor
Project version: undefined
C++ compiler for the host machine: c++ (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
C++ linker for the host machine: c++ ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
meson.build:13: WARNING: Consider using the built-in option for language standard version instead of using "-std=c++23".
meson.build:13: WARNING: Consider using the built-in warning_level option instead of using "-Wall".
meson.build:13: WARNING: Consider using the built-in warning_level option instead of using "-Wextra".
Run-time dependency threads found: YES
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency fftw3f found: YES 3.3.8
Library fftw3f_omp found: YES
Run-time dependency OpenMP found: YES 4.5
Run-time dependency Boost (found: iostreams, system) found: YES 1.74.0 (/usr)
Found CMake: /usr/bin/cmake (3.22.1)
Run-time dependency glaze found: YES 2.4.0
Library liquid found: YES
Run-time dependency libzstd found: YES 1.4.8
Run-time dependency flac++ found: YES 1.3.3
Run-time dependency aom found: YES 3.11.0
Run-time dependency opus found: YES 1.3.1
Run-time dependency zlib found: YES 1.2.11

Executing subproject websocketpp

websocketpp| Project name: websocketpp
websocketpp| Project version: 0.8.2
websocketpp| C++ compiler for the host machine: c++ (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
websocketpp| C++ linker for the host machine: c++ ld.bfd 2.38
websocketpp| Build targets in project: 0
websocketpp| Subproject websocketpp finished.

Run-time dependency tomlplusplus found: YES 3.4.0
Run-time dependency CUDA (modules: cudart) found: YES 12.6 (/usr/local/cuda)
Run-time dependency cufft found: YES 12.6
Run-time dependency opencl found: YES 3.0
Run-time dependency clfft found: YES 2.12.2
Library stdc++fs found: YES
Run-time dependency libcurl found: YES 7.81.0
Cuda compiler for the host machine: nvcc (nvcc 11.5.119
Build cuda_11.5.r11.5/compiler.30672275_0)
Cuda linker for the host machine: nvcc nvlink 11.5.119
Build cuda_11.5.r11.5/compiler.30672275_0
meson.build:90: WARNING: Module unstable-cuda has no backwards or forwards compatibility and might not exist in future releases.
meson.build:95: WARNING: Consider using the built-in optimization level instead of using "-O3".
Build targets in project: 1

spectrumdistributor undefined

  Subprojects
    websocketpp : YES

  User defined options
    optimization: 3

Found ninja-1.10.1 at /usr/bin/ninja

Phil - NY4Q

Hello!

I have not attempted the method that you are using. I set up Ubuntu 22 server and did the basic updates to the OS, then I installed the requirements mentioned on the Wiki, then used the install.sh script and that worked well. Maybe you should try that.

73,
Phil

Bas ON5HB

Turn Cuda off in the TOML-file, try acceleration none first, see if it works.

Then try Opencl and compile.

I try to get Cuda to work, but never did.

So I took OpenCL instead on Intel CPU (gen6 or newer) with GPU.

As we do not know your system details, not much else to recommend.

Best regards,

Bas ON5HB

Ps. the Community Edition can be found here: https://github.com/ny4qphil/PhantomSDR-Plus

ihweb

Thanks for reply.
The following is the system info.


clinfo
Number of platforms                               1
  Platform Name                                   NVIDIA CUDA
  Platform Vendor                                 NVIDIA Corporation
  Platform Version                                OpenCL 3.0 CUDA 12.6.65
  Platform Profile                                FULL_PROFILE


lscpu
Architecture:             x86_64
  CPU op-mode(s):         32-bit, 64-bit
  Address sizes:          39 bits physical, 48 bits virtual
  Byte Order:             Little Endian
CPU(s):                   8
  On-line CPU(s) list:    0-7
Vendor ID:                GenuineIntel
  Model name:             Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz
    CPU family:           6
    Model:                158
    Thread(s) per core:   1
    Core(s) per socket:   8
    Socket(s):            1
    Stepping:             13
    CPU max MHz:          4700.0000
    CPU min MHz:          800.0000
    BogoMIPS:             6000.00

Powered by EzPortal