cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

pbcpbt
Adept I

libclAmdBlas.so.1 problem

It started when I tried to make clMAGMA:

./clcompile: error while loading shared libraries: libclAmdBlas.so.1: cannot open shared object file: No such file or directory

make[1]: *** [sinplace_transpose.co] Error 127

I checked and found everything in place located at /opt/clAmdBlas-1.7.257/lib64 folder, exactly where makefile wants it to be.

Now, I faced the very same problem executing sample files provided with clAmdBlas: none of the executables could find libclAmdBlas.so.1 until I copied it to /usr/lib folder.

0 Likes
1 Reply
solver
Adept I

Did you set up two environment variabls: LD_LIBRARY_PATH, LIBRARY_PATH?

    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:directory_of_clAmdBlas_library

    export LIBRRAY_PATH=$LIBRARY_PATH:directory_of_clAmdBlas_library

0 Likes