diff --git a/src/components/cuda/README.md b/src/components/cuda/README.md index a35bc2b3f..c651ff8d2 100644 --- a/src/components/cuda/README.md +++ b/src/components/cuda/README.md @@ -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 @@ -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.