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 ae0cff2 commit fbeb7c6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion B3/L9/exercises/curand-interoperability/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,10 @@ 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
```
```

Also, 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
```

0 comments on commit fbeb7c6

Please sign in to comment.