aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@fc86f234-e40e-4302-a95b-5e02f8c343c9>2005-10-22 12:08:41 +0000
committerschnetter <schnetter@fc86f234-e40e-4302-a95b-5e02f8c343c9>2005-10-22 12:08:41 +0000
commit952f266a5f04ec534c61310006ec286b10c44e29 (patch)
treeac6e9610f571c2e96ceef72feb569fb8255da8ce
parentdc02ddb156381a41e934ae6e464fbec1e0f04e45 (diff)
Improve error message for unknown architectures: Tell people that they
can set up the configuration manually as well. git-svn-id: http://svn.cactuscode.org/arrangements/CactusExternal/PETSc/trunk@14 fc86f234-e40e-4302-a95b-5e02f8c343c9
-rwxr-xr-xpetsc.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/petsc.sh b/petsc.sh
index 98076f2..21846bb 100755
--- a/petsc.sh
+++ b/petsc.sh
@@ -84,11 +84,12 @@ if [ -z "$PETSC_ARCH_LIBS" ]; then
linux-gnu) PETSC_ARCH_LIBS='mkl_lapack mkl_def guide' ;;
linux64_intel) PETSC_ARCH_LIBS='mkl_lapack mkl guide' ;;
rs6000_64) PETSC_ARCH_LIBS='essl' ;;
- *) echo "BEGIN ERROR"
- echo "No PETSc support for architecture '$PETSC_ARCH' !"
- echo 'Please file a bug report to cactusmaint@cactuscode.org.'
- echo "END ERROR"
- exit 2
+ *) echo "BEGIN ERROR"
+ echo "No PETSc support for architecture '$PETSC_ARCH'."
+ echo 'Please set the variable PETSC_ARCH_LIBS manually,'
+ echo 'and/or send a request to <cactusmaint@cactuscode.org>.'
+ echo "END ERROR"
+ exit 2
esac
fi