From c003d19117c56dd2a8ad9f5a959811af5e6b16cf Mon Sep 17 00:00:00 2001 From: swhite Date: Thu, 27 Oct 2005 16:03:30 +0000 Subject: Gave user better information when PETSc discovers no MPI. git-svn-id: http://svn.cactuscode.org/arrangements/CactusExternal/PETSc/trunk@17 fc86f234-e40e-4302-a95b-5e02f8c343c9 --- petsc.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/petsc.sh b/petsc.sh index 00f39b4..98a7940 100755 --- a/petsc.sh +++ b/petsc.sh @@ -49,6 +49,8 @@ CCTK_Search() if [ -z "$MPI" -o "$MPI" = 'none' ]; then echo "BEGIN ERROR" echo 'PETSc requires MPI - please configure with MPI' + echo 'Thorn PETSc requires an external MPI. Please configure with MPI ' \ + 'or remove PETSc from your configuration ThornList.' echo "END ERROR" exit 2 fi @@ -63,7 +65,7 @@ if [ -z "$PETSC_DIR" ]; then echo "BEGIN ERROR" 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.' + 'installation or remove PETSc from your configuration ThornList.' echo "END ERROR" exit 2 fi -- cgit v1.2.3