# cudalib.so cannot be found

**URL:** <https://forums.developer.nvidia.com/t/cudalib-so-cannot-be-found/133607>\
**Category:** Legacy PGI Compilers (archived)\
**Created:** [May 8, 2013, 9:31am UTC](https://forums.developer.nvidia.com/t/cudalib-so-cannot-be-found/133607 "2013-05-08T09:31:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kouassi\_Koffi\_Eli](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Kouassi\_Koffi\_Eli](https://forums.developer.nvidia.com/u/Kouassi_Koffi_Eli)\
**Post date:** [May 8, 2013, 9:31am UTC](https://forums.developer.nvidia.com/t/cudalib-so-cannot-be-found/133607/1 "2013-05-08T09:31:35Z")

</div>

I am using pgi version 12.8  
Enable for cuda and pgaccelerators.

But I am facing problems about the LD\_LIBRARY\_PATH.

> #pgaccelinfo -v  
> libcuda.so not found  
> libamdcalcl.so not found  
> No accelerators found.  
> Check that you have installed the CUDA or CAL libraries properly  
> Check that your LD\_LIBRARY\_PATH environment variable points to the CUDA or CAL runtime installation directory

I could build the matrix multiplication example with accelator and build with the following options

> pgfortran -fast -acc - Minf -g -pg matrx-acc.f90

Then after qsub to my cluster i got the gmoun.out

Then I tried to use the pgcollect and pgprof

> pgcollect a.out  
> libcuda.so not found, exiting  
> Please check that the CUDA driver is installed and the shared object is in the install directory or on your LD\_LIBRARY\_PATH.  
> target process abnormal termination: Error: process received signal: Exception  
> no profile generated

The visual pgprof also failed.

Cuda is installed in my /usr/local but the cudalib.so does not exist there.

> ls /usr/local/cuda/lib64/  
> libcublas.so libcufft.so libcurand.so libnpp.so  
> libcublas.so.4 libcufft.so.4 libcurand.so.4 libnpp.so.4  
> libcublas.so.4.2.9 libcufft.so.4.2.9 libcurand.so.4.2.9 libnpp.so.4.2.9  
> libcudart.so libcuinj.so libcusparse.so  
> libcudart.so.4 libcuinj.so.4 libcusparse.so.4  
> libcudart.so.4.2.9 libcuinj.so.4.2.9 libcusparse.so.4.2.9

Could you give any advice because this is critical issue for me to start parallelizing my project.

Thank you.  
Koffi

---

<div class="post-metadata">

**Author:** ![MatColgrove](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/matcolgrove/32/14047_2.png) [@MatColgrove](https://forums.developer.nvidia.com/u/MatColgrove)\
**Post date:** [May 8, 2013, 5:12pm UTC](https://forums.developer.nvidia.com/t/cudalib-so-cannot-be-found/133607/2 "2013-05-08T17:12:51Z")

</div>

Hi Koffi,

It appears that you don’t have a CUDA driver or NVIDIA GPU installed on this system.

You can find information on the CUDA driver at: [Official Drivers | NVIDIA](http://www.nvidia.com/Download/index.aspx?lang=en-us) or the full CUDA SDK (which includes an option to install the driver) at [CUDA Toolkit 11.7 Update 1 Downloads | NVIDIA Developer](https://developer.nvidia.com/cuda-downloads).

Hope this helps,  
Mat

---

<div class="post-metadata">

**Author:** ![Kouassi\_Koffi\_Eli](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Kouassi\_Koffi\_Eli](https://forums.developer.nvidia.com/u/Kouassi_Koffi_Eli)\
**Post date:** [May 9, 2013, 1:38am UTC](https://forums.developer.nvidia.com/t/cudalib-so-cannot-be-found/133607/3 "2013-05-09T01:38:07Z")

</div>

> [@mkcolg](#):
>
> Hi Koffi,
> 
> It appears that you don’t have a CUDA driver or NVIDIA GPU installed on this system.
> 
> You can find information on the CUDA driver at: [Download The Latest Official NVIDIA Drivers](http://www.nvidia.com/Download/index.aspx?lang=en-us) or the full CUDA SDK (which includes an option to install the driver) at [CUDA Toolkit 13.2 Downloads | NVIDIA Developer](https://developer.nvidia.com/cuda-downloads).
> 
> Hope this helps,  
> Mat

Thank very much mkcolg.

I think you are right when looking to the follwing

```plaintext
$ lspci | grep nvidia
response: (no reply)
$ nvidia-smi
-bash: nvidia-smi: command not found

```

I will ask the system adminstrator to install because i do not have the root permission
