hptt icon indicating copy to clipboard operation
hptt copied to clipboard

Problem with executing benchmark and projects

Open Erether opened this issue 6 years ago • 2 comments

Hello,

I compiled the benchmark using the Makefile, but then i got an error, when I tried to run the exe. "Error while loading shared libraries: libhptt.so: cannot open shared object file: No such file or directory" What could the problem be? I followed exactly the instructions during installation.

Thanks in advance!

Erether avatar Jul 05 '18 20:07 Erether

What is in the /lib directory? After compilation of the library project (makefile in the root folder) you should find two files in there: libhptt.a and libhptt.so

qvandenberg avatar May 05 '20 14:05 qvandenberg

The shared object is not in your LD_LIBRARY_PATH (given the error, I'm assuming you're using linux). You append the location of the hptt/lib file to the LD_LIBRARY_PATH as:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/hptt/lib

and substitute /path/to/hptt with the correct root path for hptt.

s-mandra avatar Feb 16 '23 19:02 s-mandra