wilicc / gpu-burn

Multi-GPU CUDA stress test
BSD 2-Clause "Simplified" License
1.37k stars 295 forks source link

[Makefile:10: drv] Error 127 #20

Open karborator opened 4 years ago

karborator commented 4 years ago

I'm on fedora 31

git clone https://github.com/wilicc/gpu-burn
Cloning into 'gpu-burn'...
remote: Enumerating objects: 19, done.
remote: Counting objects: 100% (19/19), done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 66 (delta 9), reused 11 (delta 4), pack-reused 47
Unpacking objects: 100% (66/66), 25.71 KiB | 110.00 KiB/s, done.
[nikolay@localhost Downloads]$ cd gpu-burn
[nikolay@localhost gpu-burn]$ make
bash: make: command not found...
Install package 'make' to provide command 'make'? [N/y] y

 * Waiting in queue... 
 * Loading list of packages.... 
The following packages have to be installed:
 guile22-2.2.6-2.fc31.x86_64    A GNU implementation of Scheme for application extensibility
 make-1:4.2.1-15.fc31.x86_64    A GNU tool which simplifies the build process for users
Proceed with changes? [N/y] y

 * Waiting in queue... 
 * Waiting for authentication... 
 * Waiting in queue... 
 * Downloading packages... 
 * Requesting data... 
 * Testing changes... 
 * Installing packages... 
PATH=/home/nikolay/.local/bin:/home/nikolay/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/nikolay/.composer/vendor/bin:/var/lib/snapd/snap/bin:.:/usr/bin:/home/nikolay/.local/bin:/home/nikolay/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/nikolay/.composer/vendor/bin:/var/lib/snapd/snap/bin /usr/local/cuda/bin/nvcc -I/usr/local/cuda/include -arch=compute_30 -ptx compare.cu -o compare.ptx
/bin/sh: /usr/local/cuda/bin/nvcc: No such file or directory
make: *** [Makefile:10: drv] Error 127
wilicc commented 4 years ago

@karborator You need to install CUDA.

HoBeom commented 3 years ago

same problem!! I was installed cuda-11.0, ubuntu 18.04 fix this problem with ln -s /usr/local/cuda-11.0 /usr/local/cuda

eengstrom commented 3 years ago

See also, https://github.com/wilicc/gpu-burn/pull/29

Urkchar commented 3 years ago

@karborator You need to install CUDA.

The requirement of CUDA should be in the README in my opinion.

jamesjjcondon commented 2 years ago

I'm still getting this with CUDA 11.1 . Install via lambdalabs Ubuntu 20.04

changed Makefile:

CUDAPATH to /usr/include/cuda

and NVCC to /usr/bin/nvcc

to work around.