ovis-hpc / readthedocs

This is the repository that backs the OVIS-HPC documentation on readthedocs.io
GNU General Public License v3.0
0 stars 4 forks source link

Questioning why you're appending LD_LIBRARY_PATH in this example in `ldms-streams.rst` #3

Open jennfshr opened 6 months ago

jennfshr commented 6 months ago

https://github.com/ovis-hpc/readthedocs/edit/main/docs/source/ldms/ldms-streams.rst

I'm not able to find documentation on Caliper's page that supports this method, and question the purpose behind appending the LD_LIBRARY_PATH to include caliper's instrumentation libraries?

Typically, you'll want to prepend LD_LIBRARY_PATH to override any library calls to those already included in the LD_LIBRARY_PATH list, as this would not be effective to replace function calls to libraries that were findable before the modification to the environmental variable.

image

This may be intentional, and if so, I recommend a little justification in the RTD to clear this up.