}
#endif
+#if defined(DEAL_II_COMPILER_SUPPORTS_MPI) || defined(DEAL_II_USE_PETSC)
+#include <mpi.h>
+#endif
+
#ifdef DEAL_II_USE_MUMPS
# include <base/utilities.h>
# include <dmumps_c.h>
# include <slepcversion.h>
#endif
+
int main()
{
#ifdef HAVE_LIBBLAS
<< UMFPACK_SUBSUB_VERSION << std::endl;
#endif
+#if defined(DEAL_II_COMPILER_SUPPORTS_MPI) || defined(DEAL_II_USE_PETSC)
+# ifdef OMPI_MAJOR_VERSION
+ std::cout << "dealii-feature: MPI=OpenMPI<br>"
+ << OMPI_MAJOR_VERSION << '.'
+ << OMPI_MINOR_VERSION << '.'
+ << OMPI_RELEASE_VERSION << std::endl;
+# else
+ std::cout << "dealii-feature: MPI="
+ << MPI__VERSION << '.'
+ << MPI_SUBVERSION << std::endl;
+# endif
+#endif
+
#ifdef DEAL_II_USE_MUMPS
std::cout << "dealii-feature: MUMPS=yes" << std::endl;
#endif
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams