Skip to content

Adding LIBRARIES failed with lapack and blas #4477

Closed Answered by WeiqunZhang
APTX-4869-core asked this question in Q&A
Discussion options

You must be logged in to vote

Please take a look at https://amrex-codes.github.io/amrex/docs_html/BuildingAMReX.html#tweaking-the-make-system. Here is the last paragraph of that section.

To link to an additional library say ``foo`` with headers located at
``foopath/include`` and library at ``foopath/lib``, you can add the
following to your make file before the line that includes AMReX's
``Make.defs``,

::

        INCLUDE_LOCATIONS += foopath/include                                                                                                                                               
        LIBRARY_LOCATIONS += foopath/lib                                                                                         …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by APTX-4869-core
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants