argonne-lcf / THAPI

A tracing infrastructure for heterogeneous computing applications.
Other
22 stars 9 forks source link

better error message when plugin not found #205

Closed TApplencourt closed 5 months ago

TApplencourt commented 5 months ago

For whatever reason, on Sunsopt, the module doesn't add LD_LIBRARY_PATH anymore, and everything relies on rpath.

But the pkgconfig was still set so (PROTOBUF_LIBS) was founded at configure time, but the plugins was not able to be load.

export LD_LIBRARY_PATH=/opt/aurora/23.275.2/spack/gcc/0.6.1/install/linux-sles15-x86_64/gcc-12.2.0/protobuf-3.21.12-twja3abpf3vamx3eb2iz67inuxx7v5v5/lib64:$LD_LIBRARY_PATH

Did the trick.

Anyway, improve the error message when one plugin cannot be loaded