Adding LIBRARIES failed with lapack and blas #4477
-
Grettings! The amrex seems not to have more class about Matrix operation. So, I tried to add the LAPACK and BLAS library in both the IAMR/Source/Utilities/Make.package and IAMR/Exec/Make.IAMR as follows : /**************************************************** INCLUDE_LOCATIONS += /home/lapack-3.11/LAPACK/include but it always reported that : /**************************************************** The LAPACKMatrix.cpp contains the interface for calling the lapack function, and the dgemm should be a function in the BLAS library, called in the LAPACKMatrix.cpp. It seems that the compiler didn't find the library and includes. Is the way or the position I adding the flags wrong? I'm sure the static library is located in the right way as above. Thanks in advance! Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
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.
Please note the last sentence, before the line that includes AMReX's If it still does not work, let us know. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your instruction! It can find the library and includes now! Still there's some problems left, but it's about the usage of this library under the AMReX frame. I think I can make it. I'm closing this question and thank you again! |
Beta Was this translation helpful? Give feedback.
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.