hypre icon indicating copy to clipboard operation
hypre copied to clipboard

Set HYPRE_HAVE_MPI_COMM_F2C in CMake build

Open Yannicked opened this issue 1 year ago • 0 comments

In the CMake build, the HYPRE_HAVE_MPI_COMM_F2C variable was not set, which causes invalid communicators in some MPI implementations when HYPRE was called from Fortran.

This pull request addresses the issue by using CMake's check_symbol_exists to determine if the function or macro is available, and sets the variable accordingly.

Yannicked avatar Jun 25 '24 15:06 Yannicked