t-sakashita / rokko

Integrated Interface for libraries of eigenvalue decomposition
Boost Software License 1.0
10 stars 2 forks source link

Trilinosを16.0.0にアップデート #616

Closed t-sakashita closed 1 month ago

t-sakashita commented 1 month ago

Epetraは2025年秋までに廃止予定だそう。Xpetraに移行? https://github.com/trilinos/Trilinos/releases/tag/trilinos-release-16-0-0

Anasaziでも、Epetraは使われないのか?

t-sakashita commented 1 month ago

とりあえず、Epetraでビルド・実行を試す。そのため、CMake時に以下を追加:

    -DTrilinos_ENABLE_Epetra=ON \

参考:https://github.com/trilinos/Trilinos/blob/master/INSTALL.rst

t-sakashita commented 1 month ago

Apple M3では、以下の書き換えが必要であった。

-    -DTPL_BLAS_LIBRARIES="-framework Accelerate" -DTPL_LAPACK_LIBRARIES="-framework Accelerate" \
+    -DBLAS_LIBRARY_NAMES="-framework Accelerate" -DLAPACK_LIBRARY_NAMES="-framework Accelerate" \

さもないと、"-framework Accelerate"にダブルクォテーションがついたまま、mpicxxに渡されてしまうため、リンクエラーとなる。

t-sakashita commented 1 month ago

e6458194efb8fb36039391f2c5511492230ad915