t-sakashita / rokko

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

Apple M3でElementalをビルド #617

Open t-sakashita opened 1 month ago

t-sakashita commented 1 month ago

macos.shにて、以下を追加

    -DCMAKE_CXX_COMPILER=mpicxx -DCMAKE_C_COMPILER=mpicc -DCMAKE_Fortran_COMPILER=mpif90 \
t-sakashita commented 1 month ago

エラー:

CMake Error at CMakeLists.txt:12 (message):
  mpi is not found

-- Configuring incomplete, errors occurred!
make[2]: *** [download/parmetis/build/stamp/project_parmetis-configure] Error 1
make[1]: *** [CMakeFiles/project_parmetis.dir/all] Error 2

原因:指定したコンパイラがparmetisには適用されず、逐次版コンパイラ(g++)が使われてしまっている。