Skip to content

Commit bcb17c2

Browse files
committed
fixed typo
1 parent 69b7676 commit bcb17c2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ If you're new to this, you will need to request access to a GPU-equipped partiti
1212
If you're unsure whether you have access or not, simply run
1313

1414
```
15-
$ ./interactive-gpu.s
15+
./interactive-gpu.s
1616
```
1717

1818
If an error is returned, then you probably don't have access and need to contact ACC.
1919
If no error is returned, and instead you see a message saying you're launching an interactive session, congrats!
2020
You can confirm that you have access to GPU hardware by typing
2121

2222
```
23-
$ nvidia-smi
23+
nvidia-smi
2424
```
2525

2626
Depending on which GPU partition you have been allocated to, you should see a list of at least one device that looks like a GPU.
@@ -39,19 +39,19 @@ Note that I am using python3 which seems to work, although I have not tested thi
3939
If you are usure of which python version you'd like to use, I recommend use python3.
4040

4141
```
42-
$ virtualenv -p python3 tensorflow
42+
virtualenv -p python3 tensorflow
4343
```
4444

4545
Once that's finished, begin using your virtual environment by sourcing the activation script.
4646

4747
```
48-
$ source tensorflow/bin/activate
48+
source tensorflow/bin/activate
4949
```
5050

5151
We will keep the virtualenv open for now, but you can terminate the environment at any time by simply typing
5252

5353
```
54-
$ deactivate
54+
deactivate
5555
```
5656

5757
## Installing Tensorflow
@@ -60,7 +60,7 @@ Since virtualenv automatically installs a local version of pip, you can install
6060
However, because we will be utilizing GPU architecture, we want to be sure to install the GPU-capable version of tensorflow.
6161

6262
```
63-
$ pip install tensorflow-gpu
63+
pip install tensorflow-gpu
6464
```
6565

6666
## Configure LD_LIBRARY_PATH
@@ -69,7 +69,7 @@ Tensorflow requires access to NVIDIA's CUDA library to communicate with the GPU
6969
Edit your .bash_profile to include the following line (after any other modifications to LD_LIBRARY_PATH.
7070

7171
```
72-
$ export LD_LIBRARY_PATH=LD_LIBRARY_PATH:/usr/local/cuda-8.0/lib64:/usr/lib64/nvidia
72+
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-8.0/lib64:/usr/lib64/nvidia
7373
```
7474

7575
Once done, either log out and back onto Exacloud, or source your .bash_profile.
@@ -79,7 +79,7 @@ Once done, either log out and back onto Exacloud, or source your .bash_profile.
7979
Assuming you're still in an interactive session with GPU access and you are in your virtual environment, you can test your installation with
8080

8181
```
82-
$ python -c "import tensorflow"
82+
python -c "import tensorflow"
8383
```
8484

8585
If you get an error, then you may well be missing a required CUDA dependency.
@@ -90,7 +90,7 @@ Otherwise, if the above command doesn't return an error (nothing happens), then
9090
Try running
9191

9292
```
93-
$ python gpu-tutorial.py
93+
python gpu-tutorial.py
9494
```
9595

9696
If everything is working, you should see a bunch of stuff spit out into the console.
@@ -115,7 +115,7 @@ srun python gpu-tutorial.py # runs your python script
115115
Close out and send this to Slurm using the following
116116

117117
```
118-
$ sbatch submit-gpu.s
118+
sbatch submit-gpu.s
119119
```
120120

121121
Assuming everything works right, after a few seconds you should see your current directory populated with a new file called slurm-[a bunch of numbers].out.

0 commit comments

Comments
 (0)