Created
January 16, 2019 17:53
-
-
Save planetceres/da980ffeab58f4bb44fb97c6b95615d1 to your computer and use it in GitHub Desktop.
CUDA Activation Script - 9.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| ORIGINAL_PATH=$PATH | |
| export PATH=/usr/local/cuda-9.0/bin:$PATH | |
| ORIGINAL_LD_LIBRARY_PATH=$LD_LIBRARY_PATH | |
| export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64:/usr/local/cuda-9.0/extras/CUPTI/lib64:/lib/nccl/cuda-9:$LD_LIBRARY_PATH |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
chmod +x ~/ .cudaactivate_9.0Activate:
source ~/ .cudaactivate_9.0Deactivate
source ~/ .cudadeactivate