From f37b227a8a432fd66b4c94dd60bbc0017eebbd9d Mon Sep 17 00:00:00 2001 From: schnetter Date: Tue, 27 Jan 2009 18:14:08 +0000 Subject: Handle PETSc installations in /usr, /usr/local, or other standard directories. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4525 17b73243-c579-4c4c-a9d2-2d5706c11dac --- lib/make/extras/PETSC/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/make/extras/PETSC/setup.sh b/lib/make/extras/PETSC/setup.sh index 005e8857..0af87656 100755 --- a/lib/make/extras/PETSC/setup.sh +++ b/lib/make/extras/PETSC/setup.sh @@ -78,7 +78,7 @@ fi # Set version-specific libraries # (version 2.2.0 and newer do not have libpetscsles.a any more) -if [ -e "$PETSC_DIR/lib$PETSC_LIB_INFIX/$PETSC_ARCH/libpetscksp.a" ]; then +if [ -e "$PETSC_DIR/lib$PETSC_LIB_INFIX/$PETSC_ARCH/libpetscksp.a" -o -e "$PETSC_DIR/lib/libpetscksp.a" ]; then PETSC_SLES_LIBS="petscksp" else PETSC_SLES_LIBS="petscsles" -- cgit v1.2.3