Repository navigation
cuDecomp_compilation_error_Leonardo #165
Description
Hi,
I am having the following issue since one week on Leonardo when compiling cuDecomp with 25.3/25.11.
The CmakeOutput.log file is also attached.
Alessio
Resolving deltas: 100% (1050/1050), done.
-- The CXX compiler identification is NVHPC 25.11.0
-- The CUDA compiler identification is NVIDIA 13.0.88
-- The Fortran compiler identification is NVHPC 25.11.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /leonardo/prod/spack/06/install/0.22/linux-rhel8-icelake/gcc-8.5.0/nvhpc-25.11-ayzlbce6ohpmv72ncfv4ogitmppp2usq/Linux_x86_64/25.11/compilers/bin/nvc++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /leonardo/prod/spack/06/install/0.22/linux-rhel8-icelake/gcc-8.5.0/nvhpc-25.11-ayzlbce6ohpmv72ncfv4ogitmppp2usq/Linux_x86_64/25.11/compilers/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /leonardo/prod/spack/06/install/0.22/linux-rhel8-icelake/gcc-8.5.0/nvhpc-25.11-ayzlbce6ohpmv72ncfv4ogitmppp2usq/Linux_x86_64/25.11/compilers/bin/nvfortran - skipped
-- Checking whether /leonardo/prod/spack/06/install/0.22/linux-rhel8-icelake/gcc-8.5.0/nvhpc-25.11-ayzlbce6ohpmv72ncfv4ogitmppp2usq/Linux_x86_64/25.11/compilers/bin/nvfortran supports Fortran 90
-- Checking whether /leonardo/prod/spack/06/install/0.22/linux-rhel8-icelake/gcc-8.5.0/nvhpc-25.11-ayzlbce6ohpmv72ncfv4ogitmppp2usq/Linux_x86_64/25.11/compilers/bin/nvfortran supports Fortran 90 - yes
-- Found MPI_CXX: /leonardo/prod/spack/06/install/0.22/linux-rhel8-icelake/gcc-8.5.0/nvhpc-24.5-torlmnyzcexnrs6pq4cccabv7ehkv3xy/Linux_x86_64/24.5/comm_libs/12.4/hpcx/hpcx-2.19/ompi/lib/libmpi.so (found version "3.1")
-- Found MPI_Fortran: /leonardo/prod/spack/06/install/0.22/linux-rhel8-icelake/gcc-8.5.0/nvhpc-24.5-torlmnyzcexnrs6pq4cccabv7ehkv3xy/Linux_x86_64/24.5/comm_libs/12.4/hpcx/hpcx-2.19/ompi/lib/libmpi_usempif08.so (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
-- Found CUDAToolkit: /leonardo/prod/spack/06/install/0.22/linux-rhel8-icelake/gcc-8.5.0/nvhpc-25.11-ayzlbce6ohpmv72ncfv4ogitmppp2usq/Linux_x86_64/25.11/cuda/13.0/include (found version "13.0.88")
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found CUTENSOR: /leonardo/prod/spack/06/install/0.22/linux-rhel8-icelake/gcc-8.5.0/nvhpc-25.11-ayzlbce6ohpmv72ncfv4ogitmppp2usq/Linux_x86_64/25.11/math_libs/13.0/lib64/libcutensor.so (found version "2.3.1")
CMake Error at CMakeLists.txt:182 (get_target_property):
get_target_property() called with non-existent target "CUDA::cufft".
CMake Error at CMakeLists.txt:185 (find_path):
Could not find CUDECOMP_CUFFT_INCLUDE_DIR using the following files:
cufft.h
-- Configuring incomplete, errors occurred!
See also "/leonardo_scratch/large/userexternal/aroccon0/MHIT36/cuDecomp/build/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found. Stop.
[aroccon0@login02 MHIT36]$
Activity
Fix cuFFT discovery with older CMake CUDA finders
romerojosh commentedon Oct 15, 2026
Hi @aroccon,
Thanks for the report! I was worried that my changes in #163 would break builds on some systems so it is good to catch these issues before another release.
Could you try #166 and see if that fixes this issue for you?
aroccon commentedon Oct 15, 2026
Hi @romerojosh
Yes, with #166 the building works fine on Leonardo.
Thanks a lot!
Fix cuFFT discovery with older CMake CUDA finders. (#166)
romerojosh commentedon Oct 15, 2026
Excellent! Just merged the fix now. Thanks again for the report!