Skip to content
Snippets Groups Projects
Commit 0fc41d51 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

* New Makefile for Intel MKL usage

parent a1096e84
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,8 @@ SHELL = /bin/sh ...@@ -6,7 +6,8 @@ SHELL = /bin/sh
USE_PARALLEL_AMDIS = 0 # 1 if AMDiS was compiled with parallel support, 0 otherwise USE_PARALLEL_AMDIS = 0 # 1 if AMDiS was compiled with parallel support, 0 otherwise
USE_OPENMP = 0 # 1 if AMDiS was compiled with OpenMP support, 0 otherwise USE_OPENMP = 0 # 1 if AMDiS was compiled with OpenMP support, 0 otherwise
USE_UMFPACK = 0 # 1 if AMDiS was compiled with the UMFPACK library, 0 otherwise USE_UMFPACK = 0 # 1 if AMDiS was compiled with UMFPACK library, 0 otherwise
USE_MKL = 0 # 1 if AMDiS was compiled with Intel MKL library, 0 otherwise
USE_SERVER = # mars, deimos or themisto. If no special server blank USE_SERVER = # mars, deimos or themisto. If no special server blank
USE_COMPILER = gcc # gcc or icc USE_COMPILER = gcc # gcc or icc
USE_SMI = 0 USE_SMI = 0
...@@ -76,6 +77,16 @@ ifeq ($(strip $(USE_UMFPACK)), 1) ...@@ -76,6 +77,16 @@ ifeq ($(strip $(USE_UMFPACK)), 1)
LIBS += $(UMFPACK_LIB) LIBS += $(UMFPACK_LIB)
endif endif
ifeq ($(strip $(USE_MKL)), 1)
ifeq ($(strip $(USE_SERVER)), themisto)
LIBS += $(MKL_LIB)
else
LIBS += -L$(MKL_LIB)
endif
LIBS += -lmkl -lmkl_solver -lguide -lpthread
endif
ifeq ($(strip $(USE_SMI)), 1) ifeq ($(strip $(USE_SMI)), 1)
LIBS += $(SMI_LIB) LIBS += $(SMI_LIB)
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment