I installed CUDA and Fortran, but am unable to call the library. Can anyone tell me why this is the case? I posted part of the command prompt outlining the problem. Thanks,
Cuda_function.cu Cuda_function.o libcudart.so.2 libcudart.so.2.0 main.f90 Makefile Readme
[fff@atmosphere Fortran_Cuda]$ vi Cuda_function.cu
[fff@atmosphere Fortran_Cuda]$ make
ifort -o complex_mul main.f90 Cuda_function.o -L/usr/local/cuda/lib -lcudart
[fff@atmosphere Fortran_Cuda]$ ./complex_mul
./complex_mul: error while loading shared libraries: libcudart.so.2: cannot open shared object file: No such file or directory
I installed the “FORTRAN using pinned memory calling CUBLAS” (Page Not Found | NVIDIA). It didn’t appear that I needed to install it in the CUDA folder, so I installed it in a different folder (the folder for CUDA is in /usr/local/cuda). I’m running Fedora 8.