From 4f562f207f961ac7014143387f089034ab637a15 Mon Sep 17 00:00:00 2001 From: Olalekan Ogunmolu Date: Tue, 2 Feb 2016 14:31:20 -0500 Subject: [PATCH] changes to INSTALL.md to include exporting path variables for cuda libraries --- INSTALL.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 3d9632f..0420ad7 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -142,6 +142,21 @@ sudo apt-get update sudo apt-get install cuda ``` +Next you want to export the cuda path to your environment variables: +If your hardware runs 32-bit OS, you would want to run the following commands from terminal: + +```bash + $ export PATH=/usr/local/cuda-7.0/bin:$PATH + $ export LD_LIBRARY_PATH=/usr/local/cuda-7.0/lib:$LD_LIBRARY_PATH +``` + +For 64-bit systems, you would want to do: + +```bash + $ export PATH=/usr/local/cuda-7.0/bin:$PATH + $ export LD_LIBRARY_PATH=/usr/local/cuda-7.0/lib64:$LD_LIBRARY_PATH +``` + At this point you may need to reboot your machine to load the new graphics driver. After rebooting, you should be able to see the status of your graphics card(s) by running the command `nvidia-smi`; it should give output that looks something like this: