]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add some more descriptive hints to the other features, too
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 25 Sep 2012 10:26:53 +0000 (10:26 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 25 Sep 2012 10:26:53 +0000 (10:26 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26716 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/configure/configure_metis.cmake
deal.II/cmake/configure/configure_petsc.cmake
deal.II/cmake/configure/configure_trilinos.cmake
deal.II/cmake/configure/configure_umfpack.cmake

index 36f2ee68521b9300ecc977716f294c7316f332f3..2df540c719761b3ca6500ad17087c0f0b7903d95 100644 (file)
@@ -26,5 +26,21 @@ MACRO(FEATURE_METIS_CONFIGURE_EXTERNAL var)
 ENDMACRO()
 
 
+SET(FEATURE_METIS_CUSTOM_ERROR_MESSAGE TRUE)
+
+
+MACRO(FEATURE_METIS_ERROR_MESSAGE)
+  MESSAGE(SEND_ERROR "\n"
+    "Could not find the metis library!\n\n"
+    "Please ensure that the metis library version 5.0 or newer is installed on your computer.\n"
+    "If the library is not at a default location, either provide some hints\n"
+    "for the autodetection:\n"
+    "    $ METIS_DIR=\"...\" cmake <...>\n"
+    "    $ ccmake -DMETIS_DIR=\"...\" cmake <...>\n"
+    "or set the relevant variables by hand in ccmake.\n\n"
+    )
+ENDMACRO()
+
+
 CONFIGURE_FEATURE(METIS)
 
index 4ba04d984173f73b2df8748cdde1f13601511a5f..e5dfc46dc07f0b7fe64446cc9669dd9e013660a7 100644 (file)
@@ -93,7 +93,7 @@ SET(FEATURE_PETSC_CUSTOM_ERROR_MESSAGE TRUE)
 MACRO(FEATURE_PETSC_ERROR_MESSAGE)
   MESSAGE(SEND_ERROR "\n"
     "Could not find the petsc library!\n\n"
-    "Please ensure that the petsc library is installed on your computer.\n"
+    "Please ensure that the petsc library version 3.0.0 or newer is installed on your computer.\n"
     "If the library is not at a default location, either provide some hints\n"
     "for the autodetection:\n"
     "PETSc installed with --prefix=<...> to a destination:\n"
index bbce6f645def2c27c18897e183e7c26b834fb705..d2e6efeccc0af075fecad8fdb79bbd5529e6ea09 100644 (file)
@@ -182,5 +182,21 @@ MACRO(FEATURE_TRILINOS_CONFIGURE_EXTERNAL var)
 ENDMACRO()
 
 
+SET(FEATURE_TRILINOS_CUSTOM_ERROR_MESSAGE TRUE)
+
+
+MACRO(FEATURE_TRILINOS_ERROR_MESSAGE)
+  MESSAGE(SEND_ERROR "\n"
+    "Could not find a suitable set of trilinos libraries!\n"
+    "Please ensure that all necessary libraries are installed on your computer.\n"
+    "If the libraries are not at a default location, either provide some hints\n"
+    "for the autodetection:\n"
+    "    $ TRILINOS_DIR=\"...\" cmake <...>\n"
+    "    $ ccmake -DTRILINOS_DIR=\"...\" cmake <...>\n"
+    "or set the relevant variables by hand in ccmake.\n\n"
+    )
+ENDMACRO()
+
+
 CONFIGURE_FEATURE(TRILINOS)
 
index 8dbb073ed46258bd8eb4270801a21b89dc233add..9a7380347b624a197b54dd408db92d86bd4fade6 100644 (file)
@@ -64,7 +64,10 @@ MACRO(FEATURE_UMFPACK_ERROR_MESSAGE)
     "Could not find the umfpack and amd libraries!\n"
     "Please ensure that the libraries are installed on your computer.\n"
     "If the libraries are not at a default location, either provide some hints\n"
-    "for the autodetection, or set the relevant variables by hand in ccmake.\n\n"
+    "for the autodetection:\n"
+    "    $ UMFPACK_DIR=\"...\" cmake <...>\n"
+    "    $ ccmake -DUMFPACK_DIR=\"...\" cmake <...>\n"
+    "or set the relevant variables by hand in ccmake.\n"
     "Alternatively you may choose to compile the bundled contrib libraries\n"
     "by setting DEAL_II_ALLOW_CONTRIB=on or DEAL_II_FORCE_CONTRIB_UMFPACK=on.\n\n"
     )

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


Typeset in Trocchi and Trocchi Bold Sans Serif.