I followed the installation instructions for Ubuntu 14.04 with apt-get and everything seems OK, however I can’t locate the header files during compile time.
fatal error: cublas_v2.h: No such file or directory
locate also fails to find the header files.
Can I install them separately, and where should I put them?
I’ve worked around it temporarily by doing a partial install (just the toolkit) from the runfile, but would have expected everything to get installed using above method.
yeah that’s odd and inconsistent but CUDA Toolkit 11.7 Update 1 Downloads | NVIDIA Developer provides the other file for download
with (local) and the one you mention with (network), switching the file at this point has not made a difference. (i uninstalled and repeated with the new file).
There may be something about the history of your machine or actual distro that is not what is expected by the installer. For example, if you had previously installed anything (driver, toolkit) using the runfile installer method, then the repo method may not work correctly. This is covered in the installation guide I linked.
I also meet this problem .But what amazing me is that when i compiler cuda ,everything is ok ,however ,the problem happened when i complier caffe again . Do you know the reason ,Thanks.
I just wanted to bump this for 2019. I had the same issue on Ubuntu 1804 / Pop! OS 1804. Got the error message when running the CUDA samples makefile.
I tried many different installation methods and used the package manager. Did a lot of purging and reinstall. Nothing. I did have NVCC and other files.
I did a partial install of the cuda toolkit using the latest runfile for my system (10.1). This was able to fix it. THis is the same workaround posted above.
Just so that this gets into the search engines:
cublas_v2.h: no such file or directory was my error. I was missing cublas_v2.h in cuda 10.1