Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#64170 - [cuda] cuda-samples do not compile

Attached to Project: Community Packages
Opened by siamak (siamak) - Friday, 18 October 2019, 14:26 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 10 November 2019, 11:42 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
cuda-samples do not compile.
running make file at /opt/cuda/samples, raises the following error. It expects a different path for the compiler. In the arch installation cuda is under /opt rather than /local.

make[1]: Entering directory '/opt/cuda/samples/0_Simple/fp16ScalarProduct'
/usr/local/cuda/bin/nvcc -ccbin g++ -I../../common/inc -m64 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_75,code=compute_75 -o fp16ScalarProduct.o -c fp16ScalarProduct.cu
make[1]: /usr/local/cuda/bin/nvcc: Command not found
make[1]: *** [Makefile:294: fp16ScalarProduct.o] Error 127
make[1]: Leaving directory '/opt/cuda/samples/0_Simple/fp16ScalarProduct'
make: *** [Makefile:51: 0_Simple/fp16ScalarProduct/Makefile.ph_build] Error 2



Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 10 November 2019, 11:42 GMT
Reason for closing:  Fixed
Comment by Sven-Hendrik Haase (Svenstaro) - Tuesday, 29 October 2019, 08:13 GMT
Should be fixed now, please check.

Loading...