aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorswhite <swhite@fc86f234-e40e-4302-a95b-5e02f8c343c9>2005-10-26 14:10:58 +0000
committerswhite <swhite@fc86f234-e40e-4302-a95b-5e02f8c343c9>2005-10-26 14:10:58 +0000
commit39bae0800881fa0a72dc812ba605ec49836a8a16 (patch)
tree5778e230256efadf7c65d0b1ce6d506180f1148d
parent9cae825f2c68dbe89cf1e3d8848924e9fec2c83f (diff)
Changed the message user sees if PETSc isn't found, to wit:
Unable to locate the PETSc directory - please set PETSC_DIR changed to Thorn PETSc requires an external installation of the PETSc library. Please set PETSC_DIR to the directory of this installation or remove PETSc from your configuration ThornList. git-svn-id: http://svn.cactuscode.org/arrangements/CactusExternal/PETSc/trunk@16 fc86f234-e40e-4302-a95b-5e02f8c343c9
-rwxr-xr-xpetsc.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/petsc.sh b/petsc.sh
index 21846bb..00f39b4 100755
--- a/petsc.sh
+++ b/petsc.sh
@@ -61,7 +61,9 @@ if [ -z "$PETSC_DIR" ]; then
CCTK_Search PETSC_DIR '/usr /usr/local /usr/local/petsc /usr/local/packages/petsc /usr/local/apps/petsc' include/petsc.h
if [ -z "$PETSC_DIR" ] ; then
echo "BEGIN ERROR"
- echo 'Unable to locate the PETSc directory - please set PETSC_DIR'
+ echo 'Thorn PETSc requires an external installation of the PETSc ' \
+ 'library. Please set PETSC_DIR to the directory of this ' \
+ 'installation or remove PETSc from your configuration ThornList.'
echo "END ERROR"
exit 2
fi