Skip to content

Commit

Permalink
README: Add info regarding compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
ayan-b committed Aug 17, 2020
1 parent bfbcaf6 commit 93d841f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,13 @@ Notes

* In order for the algorithm to work the mesh must not be numbered incorrectly
or disconnected or of somehow degenerate.

* The c++ compiler must have OpenMP installed. This is generally not an issue
on g++ or Microsoft Visual Studio. However, in macOS one may need to install
llvm from brew in order to use OpenMP: ``brew install llvm``. Then, change the
``CC`` and ``CXX`` environment variables to the following:

.. code-block:: txt
CC="/usr/local/opt/llvm/bin/clang -L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib"
CXX="/usr/local/opt/llvm/bin/clang++ -L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib"

0 comments on commit 93d841f

Please sign in to comment.