Skip to content

Commit 1d36007

Browse files
committed
Update readme with omp instructions for different linux versions
1 parent 3d4a60d commit 1d36007

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,17 @@ We **highly recommend** to install OpenMP. Parts of the code are parallelized an
2323

2424
On Linux, you can use the following command:
2525
```bash
26-
sudo apt-get install libomp-dev
27-
```
26+
# Alpine
27+
sudo apk add openmp-dev libgomp
28+
# Ubuntu
29+
sudo apt-get install libomp-dev libgomp1
30+
# Debian
31+
sudo apt-get install gcc libomp-dev libomp5 libgomp1
32+
# ArchLinux
33+
sudo pacnam -S openmp
34+
ln -s libomp.so libomp.so.5
35+
```
36+
We have tested this on docker, so it might be a little different on your system.
2837

2938
On MacOS, you can use the following command:
3039
```bash

0 commit comments

Comments
 (0)