Previously I tried the runfile installation, but wanted to switch to package manager, so before installing with package manager I went through uninstallation steps.
After the installation of CUDA 10 on ubuntu with package manager I went through point 7 with environment setup, but I am unable to build the sample programs:
/usr/bin/mpicxx -o simpleMPI simpleMPI_mpi.o simpleMPI.o -L/usr/local/cuda-10.0/lib64 -lcudart /usr/bin/ld: cannot find -lcudart collect2: error: ld returned 1 exit status Makefile:349: recipe for target 'simpleMPI' failed make: *** [simpleMPI] Error 1 make: Leaving directory '/home/ben/Documents/nvidia-samples/NVIDIA_CUDA-10.0_Samples/0_Simple/simpleMPI' Makefile:51: recipe for target '0_Simple/simpleMPI/Makefile.ph_build' failed make: *** [0_Simple/simpleMPI/Makefile.ph_build] Error 2
‘ls’ in /usr/local/cuda-10.0/lib64 gives me following:
libcudnn.so libcudnn.so.7.4.1 libcudnn.so.7 libcudnn_static.a
Seems that cudart is really missing (or am I missing something?). What should I check now?