PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

cudalib.so cannot be found

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
Kouassi Koffi Eli



Joined: 22 Apr 2013
Posts: 6

PostPosted: Wed May 08, 2013 2:31 am    Post subject: cudalib.so cannot be found Reply with quote

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

But I am facing problems about the LD_LIBRARY_PATH.


Quote:
#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
Quote:
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

Quote:
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.
Quote:
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
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6218
Location: The Portland Group Inc.

PostPosted: Wed May 08, 2013 10:12 am    Post subject: Reply with quote

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: http://www.nvidia.com/Download/index.aspx?lang=en-us or the full CUDA SDK (which includes an option to install the driver) at https://developer.nvidia.com/cuda-downloads.

Hope this helps,
Mat
Back to top
View user's profile
Kouassi Koffi Eli



Joined: 22 Apr 2013
Posts: 6

PostPosted: Wed May 08, 2013 6:38 pm    Post subject: Reply with quote

mkcolg wrote:
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: http://www.nvidia.com/Download/index.aspx?lang=en-us or the full CUDA SDK (which includes an option to install the driver) at https://developer.nvidia.com/cuda-downloads.

Hope this helps,
Mat


Thank very much mkcolg.

I think you are right when looking to the follwing
Code:
$ 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
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group