You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that HAVE_COMM_F2C is not set properly. On my laptop the MPI function MPI_Comm_f2c exists but HAVE_COMM_F2C is undefined. I'm guessing something like the following needs to be added to configure.ac (based solely on pattern matching what is in configure.ac currently)
Does the MPI library support MPI_Comm_f2c?
AC_MSG_CHECKING([whether MPI_Comm_f2c is available])
AC_CHECK_LIB([mpi], [MPI_Comm_f2c])
AM_CONDITIONAL([HAVE_COMM_F2C], [test "x$ac_cv_lib_mpi_MPI_Comm_f2c" = xyes])
if test "x$ac_cv_lib_mpi_MPI_Comm_f2c" = xyes; then
AC_DEFINE([HAVE_COMM_F2C], [1], [MPI_Comm_f2c is present])
The text was updated successfully, but these errors were encountered:
I think we need an AC_DEFINE but not an AM_CONDITIONAL.
Here's what I just added, do a git pull to get it:
# Do we have function MPI_Comm_f2c?
AC_CHECK_FUNC([MPI_Comm_f2c], [have_mpi_comm_f2c=yes])
if test "x$have_mpi_comm_f2c" = xyes; then
AC_DEFINE([HAVE_COMM_F2C], [1], [MPI_Comm_f2c is present])
fi
It appears that HAVE_COMM_F2C is not set properly. On my laptop the MPI function MPI_Comm_f2c exists but HAVE_COMM_F2C is undefined. I'm guessing something like the following needs to be added to configure.ac (based solely on pattern matching what is in configure.ac currently)
Does the MPI library support MPI_Comm_f2c?
AC_MSG_CHECKING([whether MPI_Comm_f2c is available])
AC_CHECK_LIB([mpi], [MPI_Comm_f2c])
AM_CONDITIONAL([HAVE_COMM_F2C], [test "x$ac_cv_lib_mpi_MPI_Comm_f2c" = xyes])
if test "x$ac_cv_lib_mpi_MPI_Comm_f2c" = xyes; then
AC_DEFINE([HAVE_COMM_F2C], [1], [MPI_Comm_f2c is present])
The text was updated successfully, but these errors were encountered: