Now using MPI C bindings instead of the (deprecated?) C++ bindings due to compilation issues on some machines (error: cast between incompatible function types, ompi_mpi_cxx_op_intercept)

This commit is contained in:
jpekkila
2020-08-19 15:50:16 +03:00
parent 03c0173021
commit 46cfa9cd37
3 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ if (MPI_ENABLED)
#find_package(MPI REQUIRED)
#find_package(OpenMP)
#target_link_libraries(astaroth_core MPI::MPI_CXX OpenMP::OpenMP_CXX)
target_link_libraries(astaroth_core MPI::MPI_CXX)
target_link_libraries(astaroth_core MPI::MPI_C)
endif()
if (MULTIGPU_ENABLED)