-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Actually added src/pdlp/README.md with minimal(?) Linux install+build…
… instructions
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
## Building HiGHS to run PDLP on a GPU | ||
|
||
### Installation | ||
|
||
#### CUDA-Toolkit | ||
|
||
https://developer.nvidia.com/cuda-toolkit | ||
|
||
#### Check and further installation | ||
|
||
* Before installing anything more, run the following in a terminal | ||
|
||
`` | ||
nvidia-smi | ||
`` | ||
|
||
This should print a table of GPU-related stats. What if it doesn't? | ||
|
||
* Run the following in a terminal | ||
|
||
`` | ||
nvcc --version | ||
`` | ||
|
||
This should give you details about the cuda compiler driver. If it doesn't then run | ||
|
||
`` | ||
apt install nvidia-cuda-toolkit | ||
`` | ||
|
||
When both work, you should check that `/usr/local/cuda` exists. | ||
|
||
#### Build | ||
|
||
* 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 | ||
`` | ||
|
||
|
||
|
||
|
||
|
||
|