diff options
author | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-04-10 18:11:50 +0000 |
---|---|---|
committer | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-04-10 18:11:50 +0000 |
commit | 71dc49e6d98a3b66aae804f0f951593c02ed983d (patch) | |
tree | 20063defe3b30ab0f04f5255259fecdc65cac7b3 /lib/make/extras | |
parent | dc92ce791ba2e0a14de24fdc74f6006addb6cdb6 (diff) |
Say whether PETSc is available
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3654 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/extras')
-rwxr-xr-x | lib/make/extras/PETSC/setup.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/make/extras/PETSC/setup.sh b/lib/make/extras/PETSC/setup.sh index b8b4e9aa..765604da 100755 --- a/lib/make/extras/PETSC/setup.sh +++ b/lib/make/extras/PETSC/setup.sh @@ -68,12 +68,13 @@ fi # Set the PETSc libs, libdirs and includedirs PETSC_LIB_DIRS='$(PETSC_DIR)/lib/libO/$(PETSC_ARCH)' PETSC_INC_DIRS='$(PETSC_DIR)/include $(PETSC_DIR)/bmake/$(PETSC_ARCH)' -PETSC_LIBS="petscts petscsnes petscsles petscdm petscmat petscvec petsc $PETSC_ARCH_LIBS" +PETSC_LIBS="petscts petscsnes petscsles petscdm petscmat petscvec petsc $PETSC_ARCH_LIBS" # Write the data out to the header and make files. CCTK_WriteLine cctk_Extradefs.h "#define CCTK_PETSC 1" +CCTK_WriteLine make.extra.defn "HAVE_PETSC = 1" CCTK_WriteLine make.extra.defn "PETSC_DIR = $PETSC_DIR" CCTK_WriteLine make.extra.defn "PETSC_ARCH = $PETSC_ARCH" CCTK_WriteLine make.extra.defn "PETSC_LIBS = $PETSC_LIBS" |