Skip to content

Commit f3682ed

Browse files
authored
Add tips about getting gpu-burn to compile
1 parent 85c211a commit f3682ed

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

content/hardware-failure.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,6 @@ We can also test the GPU by using GPU Burn; first, if we're on Ubuntu, we'll nee
129129
sudo apt install git system76-cuda-latest
130130
```
131131

132-
Then, we will create the symlink for <u>gpu-burn</u>:
133-
134-
```bash
135-
sudo ln -s /usr/lib/cuda-11.2 /usr/local/cuda
136-
```
137-
138132
Next, we can clone the repository with this command:
139133

140134
```bash
@@ -150,9 +144,11 @@ cd gpu-burn
150144
Now we'll compile it:
151145

152146
```bash
153-
make
147+
make CUDAPATH=/usr/lib/cuda
154148
```
155149

150+
(If you receive an error about your version of GCC being too new, consider installing the appropriate version with e.g. `sudo apt install g++-10` and then passing `NVCCFLAGS='-ccbin /usr/bin/g++-10'` or equivalent as a Make argument.)
151+
156152
For NVIDIA **RTX** GPUs we can use Tensor cores to run it like so (this example will run it for 60 minutes/1 hour):
157153

158154
```bash

0 commit comments

Comments
 (0)