Sage fails during GPU setup stage

13 views
Skip to first unread message

Nathan Brown

unread,
Oct 11, 2025, 10:14:44 PM (13 hours ago) Oct 11
to sage-devel
This occurs on a HP z840 with RHEL 10 installed. The GPU is an Nvidia RTX 5060 Ti that is recognized by the operating system.

One small thing I noticed that is almost definitely irrelevant, but might hint at a deeper issue is that the config log shows that gfortran is noticed but that the suitesparce log says there is no fortran compiler installed. Perhaps some recent change has broken some of the defaults and lead to this error on fairly new hardware.

Command:
/path/to/sage/sage -i notebook

Terminal printout:
[suitesparse-7.8.0] [spkg-install] cd /path/to/sage/local/var/tmp/sage/build/suitesparse-7.8.0/src/CHOLMOD && /usr/local/cuda/bin/nvcc -forward-unknown-to-host-compiler -DBLAS_OpenBLAS -DCHOLMOD_EXPORTS --options-file CMakeFiles/CHOLMOD.dir/includes_CUDA.rsp -O3 -DNDEBUG -std=c++11 "--generate-code=arch=compute_52,code=[compute_52,sm_52]" "--generate-code=arch=compute_75,code=[compute_75,sm_75]" "--generate-code=arch=compute_80,code=[compute_80,sm_80]" -Xcompiler=-fPIC -MD -MT CHOLMOD/CMakeFiles/CHOLMOD.dir/GPU/cholmod_gpu_kernels.cu.o -MF CMakeFiles/CHOLMOD.dir/GPU/cholmod_gpu_kernels.cu.o.d -x cu -rdc=true -c /path/to/sage/local/var/tmp/sage/build/suitesparse-7.8.0/src/CHOLMOD/GPU/cholmod_gpu_kernels.cu -o CMakeFiles/CHOLMOD.dir/GPU/cholmod_gpu_kernels.cu.o
[suitesparse-7.8.0] [spkg-install] nvcc fatal   : Unsupported gpu architecture 'compute_52'
[suitesparse-7.8.0] [spkg-install] make[6]: *** [CHOLMOD/CMakeFiles/CHOLMOD.dir/build.make:3048: CHOLMOD/CMakeFiles/CHOLMOD.dir/GPU/cholmod_gpu_kernels.cu.o] Error 1
[suitesparse-7.8.0] [spkg-install] make[5]: *** [CMakeFiles/Makefile2:423: CHOLMOD/CMakeFiles/CHOLMOD.dir/all] Error 2
[suitesparse-7.8.0] [spkg-install] make[4]: *** [Makefile:149: all] Error 2
[suitesparse-7.8.0] [spkg-install] Error installing suitesparse-7.8.0
[suitesparse-7.8.0] Error installing package suitesparse-7.8.0

suitesparse-7.8.0.log
config.log
Reply all
Reply to author
Forward
0 new messages