Suitesparse /Cuda SBo, complains about too advanced GCC, although being built with GCC 5 from the same SBo.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Suitesparse /Cuda SBo, complains about too advanced GCC, although being built with GCC 5 from the same SBo.
Hello, everyone.
I'm trying to build suitesparse from SBo.
I am using the latest -current with a handful of packages, including gcc-5, cuda and nvidia-legacy390
I tried sourcing /etc/profile.d/gcc5.sh in the shell, and in the slackbuild itself, but to no availd. The build script still complains about being run with a wrong GCC:
Code:
gcc-5 -O3 -fexceptions -fPIC -fopenmp -DGPU_BLAS -c -I../../AMD/Include -I../../AMD/Source -I../../COLAMD/Include -I/tmp/SBo/SuiteSparse/CCOLAMD/Include -I/tmp/SBo/SuiteSparse/CAMD/Include -I/tmp/SBo/SuiteSparse/metis-5.1.0/include -I../Include -I../../SuiteSparse_config -I/usr/share/cuda/include/ ../GPU/cholmod_gpu.c
/usr/share/cuda/bin/nvcc -I../../AMD/Include -I../../AMD/Source -I../../COLAMD/Include -I/tmp/SBo/SuiteSparse/CCOLAMD/Include -I/tmp/SBo/SuiteSparse/CAMD/Include -I/tmp/SBo/SuiteSparse/metis-5.1.0/include -I../Include -I../../SuiteSparse_config -I/usr/share/cuda/include/ -Xcompiler -fPIC -O3 -gencode=arch=compute_30,code=sm_30 -gencode=arch=compute_35,code=sm_35 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_53,code=sm_53 -gencode=arch=compute_53,code=sm_53 -gencode=arch=compute_60,code=compute_60 -c ../GPU/cholmod_gpu_kernels.cu
In file included from /usr/share/cuda/include/cuda_runtime.h:78,
from <command-line>:
/usr/share/cuda/include/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 5 are not supported!
#error -- unsupported GNU version! gcc versions later than 5 are not supported!
^~~~~
make[3]: *** [Makefile:527: cholmod_gpu_kernels.o] Error 1
make[3]: Leaving directory '/tmp/SBo/SuiteSparse/CHOLMOD/Lib'
make[2]: *** [Makefile:31: library] Error 2
make[2]: Leaving directory '/tmp/SBo/SuiteSparse/CHOLMOD/Lib'
make[1]: *** [Makefile:14: all] Error 2
make[1]: Leaving directory '/tmp/SBo/SuiteSparse/CHOLMOD'
make: *** [Makefile:22: go] Error 2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.