Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
csccva authored Aug 30, 2024
1 parent 9467f04 commit 91dc458
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions B3/L9/exercises/curand-interoperability/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ istat = curandDestroyGenerator(g)

**Note!** In order to compile the code you need to link to the `curand` library by adding the extra options:
```
-L/sw/spack-levante/nvhpc-22.5-v4oky3/Linux_x86_64/22.5/cuda/11.0/lib64/ -lcurand
-L/sw/spack-levante/nvhpc-24.5-ipi3ad/Linux_x86_64/24.5/math_libs/12.4/lib64/ -lcurand
```

Also, before running modify the `LD_LIBRARY_PATH` environmental variable:
Furthermore before running modify the `LD_LIBRARY_PATH` environmental variable:
```
export LD_LIBRARY_PATH=/sw/spack-levante/nvhpc-22.5-v4oky3/Linux_x86_64/22.5/cuda/11.0/lib64/:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/sw/spack-levante/nvhpc-24.5-ipi3ad/Linux_x86_64/24.5/math_libs/12.4/lib64/:$LD_LIBRARY_PATH
```

0 comments on commit 91dc458

Please sign in to comment.