From 39bae0800881fa0a72dc812ba605ec49836a8a16 Mon Sep 17 00:00:00 2001 From: swhite Date: Wed, 26 Oct 2005 14:10:58 +0000 Subject: 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 --- petsc.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3