Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
galabovaa authored Feb 5, 2025
1 parent 8ee78d8 commit 189f4e7
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/pdlp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ To utilize the maximum potential of any hardware, relevant drivers for that hard

* Before installing anything, run the following in a terminal to check if nvidia-smi is present and can see the GPUs

``
```
nvidia-smi
``
```

This should print a table of GPU-related stats. If it doesn't don't worry: installing the Cuda Toolkit from https://developer.nvidia.com/cuda-toolkit should help!

Expand All @@ -23,24 +23,24 @@ This should print a table of GPU-related stats. If it doesn't don't worry: insta
Download Cuda from https://developer.nvidia.com/cuda-toolkit for the appropriate OS and architecture.

Note, that installing the `nvidia-cuda-toolkit` package from apt will work on many Linux installations, *but* if the drivers are missing and you attempt to install them with
``
```
apt install nvidia-cuda-toolkit
apt install nvidia-utils-515
``
```
or `nvidia-utils-some-other-number`, this may lead to errors with versions of cuda libraries on versions of Lunux that are resolved by cleaning up the cuda drivers and toolkit from the machine and installing the toolkit from the website, which should give you the drivers as well.

If you run into any trouble, please get in touch with Ivet right away so we can look at it together. Ivet did have some trouble getting it all to work on her laptop and is still learning about supporting different versions of Cuda on different operating systems.

Check again that the drivers are present by running
``
```
nvidia-smi
``
```

* Run the following in a terminal

``
```
nvcc --version
``
```

If you see a version, this means that the cuda compiler nvcc is up and running.

Expand All @@ -51,7 +51,7 @@ When both work, you should check that `/usr/local/cuda` exists.
* Checkout the HiGHS codebase from Github, and use the branch `cuda-updates`
* From your HiGHS build directory, run

``
```
cmake -DCUPDLP_GPU=ON -DALL_TESTS=ON ..; make
``
```

0 comments on commit 189f4e7

Please sign in to comment.