now having libraries from Makefile before PETSc Libraries in linker order
This commit is contained in:
parent
1df9be233d
commit
6a86f36407
|
@ -96,14 +96,6 @@ endif
|
|||
LIBRARIES +=-lfftw3
|
||||
LIB_DIRS +=-L$(FFTWROOT)/lib
|
||||
|
||||
ifeq "$(SOLVER)" "NEW"
|
||||
ifdef PETSC_DIR
|
||||
include ${PETSC_DIR}/conf/variables
|
||||
INCLUDE_DIRS +=${PETSC_FC_INCLUDES} -DPETSc
|
||||
LIBRARIES +=${PETSC_WITH_EXTERNAL_LIB}
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef IMKLROOT
|
||||
LIB_DIRS +=-L$(IMKLROOT)/lib/intel64
|
||||
LIBRARIES +=-mkl
|
||||
|
@ -119,6 +111,14 @@ endif
|
|||
endif
|
||||
endif
|
||||
|
||||
ifeq "$(SOLVER)" "NEW"
|
||||
ifdef PETSC_DIR
|
||||
include ${PETSC_DIR}/conf/variables
|
||||
INCLUDE_DIRS +=${PETSC_FC_INCLUDES} -DPETSc
|
||||
LIBRARIES +=${PETSC_WITH_EXTERNAL_LIB}
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef STANDARD_CHECK
|
||||
STANDARD_CHECK_ifort =$(STANDARD_CHECK)
|
||||
STANDARD_CHECK_gfortran =$(STANDARD_CHECK)
|
||||
|
|
Loading…
Reference in New Issue