Skip to content

Commit

Permalink
Merge pull request #212 from Treece-Burgess/08-01-2024-update-cuda-re…
Browse files Browse the repository at this point in the history
…adme

Updating format of export LD_LIBRARY_PATH= in Cuda component README
  • Loading branch information
Treece-Burgess authored Aug 22, 2024
2 parents acc8a9e + a239b88 commit 4c77a75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/cuda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ standard `PAPI_CUDA_ROOT` subdirectories, you must add the correct paths,
e.g. `/usr/lib64` or `/usr/lib` to `LD_LIBRARY_PATH`, separated by colons `:`.
This can be set using export; e.g.

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PAPI_CUDA_ROOT/lib64
export LD_LIBRARY_PATH=$PAPI_CUDA_ROOT/lib64:$LD_LIBRARY_PATH

## Known Limitations
* In CUpti\_11, the number of possible events is vastly expanded; e.g. from
Expand Down Expand Up @@ -101,7 +101,7 @@ usually `/usr/lib64`, `/lib64`, `/usr/lib` and `/lib`.
The system will also search the directories listed in `LD_LIBRARY_PATH`,
separated by colons `:`. This can be set using export; e.g.

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/WhereLib1CanBeFound:/WhereLib2CanBeFound
export LD_LIBRARY_PATH=/WhereLib1CanBeFound:/WhereLib2CanBeFound:$LD_LIBRARY_PATH

* If CUDA libraries are installed on your system, such that the OS can find `nvcc`, the header files, and the shared libraries, then `PAPI_CUDA_ROOT` and `LD_LIBRARY_PATH` may not be necessary.

Expand Down

0 comments on commit 4c77a75

Please sign in to comment.