@echo "dealii-feature: shared_libs=$(enable-shared)"
@echo "dealii-feature: parser=$(subst no,,$(enable-parser))"
@echo "dealii-feature: PETSc=$(subst ..,,$(DEAL_II_PETSC_VERSION_MAJOR).$(DEAL_II_PETSC_VERSION_MINOR).$(DEAL_II_PETSC_VERSION_SUBMINOR))"
- @echo "dealii-feature: Trilinos=$(subst ..,,$(DEAL_II_TRILINOS_VERSION_MAJOR).$(DEAL_II_TRILINOS_VERSION_MINOR).$(DEAL_II_TRILINOS_VERSION_SUBMINOR))"
@echo "dealii-feature: METIS=$(subst no,,$(USE_CONTRIB_METIS))"
@cd $D/common/scripts ; make report_features && ./report_features
endif
#include <mpi.h>
#endif
+#ifdef DEAL_II_USE_TRILINOS
+# include <Trilinos_version.h>
+#endif
+
#ifdef DEAL_II_USE_MUMPS
# include <base/utilities.h>
# include <dmumps_c.h>
# endif
#endif
+#ifdef DEAL_II_USE_TRILINOS
+# ifdef TRILINOS_VERSION_STRING
+ std::cout << "dealii-feature: Trilinos=" << TRILINOS_VERSION_STRING << std::endl;
+# else
+ const unsigned int trilinos_subminor = TRILINOS_MAJOR_MINOR_VERSION % 100;
+ const unsigned int trilinos_minor = (TRILINOS_MAJOR_MINOR_VERSION/100) % 100;
+ std::cout << "dealii-feature: Trilinos="
+ << TRILINOS_MAJOR_VERSION << '.'
+ << trilinos_minor << '.'
+ << trilinos_subminor << 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