diff --git a/code/Makefile b/code/Makefile index 90e9d61eb..7d4446350 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)/$(PETSC_ARCH)/lib/petsc/conf/variables +include $(PETSC_DIR)/$(PETSC_ARCH)/lib/petsc/conf/petscvariables 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 6472b5900..da1fa81f6 100644 --- a/examples/SpectralMethod/Makefile +++ b/examples/SpectralMethod/Makefile @@ -1,8 +1,4 @@ - -include ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/variables -include ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/rules - - +SHELL = /bin/sh run16x16x16: -@${MPIEXEC} -n 2 DAMASK_spectral -l tensionX.load -g 20grains16x16x16.geom