#include <Epetra_MpiComm.h>
],
[
- // autoconf doesn't appear to declare the arguments of main()
- // so we do it ourselves here. pack them into a separate
- // scope so that if autoconf at one point starts to declare
- // these arguments we don't get into trouble
- {
- int argc; char **argv;
- MPI_Init (&argc, &argv);
- MPI_Finalize ();
- }
+ MPI_Init (0,0);
],
[
AC_MSG_RESULT(yes)
#include <Epetra_MpiComm.h>
],
[
- // autoconf doesn't appear to declare the arguments of main()
- // so we do it ourselves here. pack them into a separate
- // scope so that if autoconf at one point starts to declare
- // these arguments we don't get into trouble
- {
- int argc; char **argv;
- MPI_Init (&argc, &argv);
- MPI_Finalize ();
- }
+ MPI_Init (0,0);
],
[
AC_MSG_ERROR([Trilinos was built for MPI, but deal.II is not!])