Skip to content

Commit

Permalink
Actually added src/pdlp/README.md with minimal(?) Linux install+build…
Browse files Browse the repository at this point in the history
… instructions
  • Loading branch information
jajhall committed Feb 5, 2025
1 parent 1375c19 commit 44b6a2e
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions src/pdlp/README.md
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
``






0 comments on commit 44b6a2e

Please sign in to comment.