Skip to content

Commit

Permalink
add installation openmp fix to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
wkerzendorf committed Feb 13, 2019
1 parent 6e71f73 commit 89270c2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,8 @@ from tardis/_compiler.c:1: /Users/yssavo/miniconda2/envs/tardis-show2/lib/gcc/x8

**Solution:** Run on terminal:

open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg

**Problem:** Symbol not found: _GOMP_parallel when compiling with `--with-openmp`

**Solution:** Install gcc8 from macports and then install with these flags: `link_args = ['-fopenmp','-Wl,-rpath,/opt/local/lib/gcc8/']`

0 comments on commit 89270c2

Please sign in to comment.