Skip to content

Commit

Permalink
Added omp flag
Browse files Browse the repository at this point in the history
  • Loading branch information
charnley committed Mar 16, 2024
1 parent 5e60b87 commit 5c6f9a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ def find_flags(fcc: str):
# "-Wno-maybe-uninitialized", "-Wno-unused-function", "-Wno-cpp"]
# LINKER_FLAGS = ["-lgomp"]

flags = ["-L/usr/lib/", "-lblas", "-llapack"]
extra_flags = ["-lgomp", "-lpthread", "-lm", "-ldl"]

flags = ["-L/usr/lib/", "-lblas", "-llapack"] + extra_flags

return flags

Expand Down

0 comments on commit 5c6f9a3

Please sign in to comment.