From 45fb20965889c1a177322eaa8b81e546cca93318 Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Tue, 10 Nov 2015 21:18:53 +0000 Subject: [PATCH] respect PETSC_ARCH --- code/Makefile | 2 +- examples/SpectralMethod/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/Makefile b/code/Makefile index 9ebf5a6d1..90e9d61eb 100644 --- a/code/Makefile +++ b/code/Makefile @@ -17,7 +17,7 @@ SHELL = /bin/sh # STANDARD_CHECK = checking for Fortran 2008, compiler dependend ######################################################################################## -include $(PETSC_DIR)/lib/petsc/conf/variables +include $(PETSC_DIR)/$(PETSC_ARCH)/lib/petsc/conf/variables INCLUDE_DIRS := $(PETSC_FC_INCLUDES) -DPETSc -I../lib LIBRARIES := $(PETSC_WITH_EXTERNAL_LIB) COMPILERNAME ?= $(FC) diff --git a/examples/SpectralMethod/Makefile b/examples/SpectralMethod/Makefile index 58df90a64..6472b5900 100644 --- a/examples/SpectralMethod/Makefile +++ b/examples/SpectralMethod/Makefile @@ -1,6 +1,6 @@ -include ${PETSC_DIR}/lib/petsc/conf/variables -include ${PETSC_DIR}/lib/petsc/conf/rules +include ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/variables +include ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/rules run16x16x16: