From 0fc41d5131eed0929e37e866783d53e9b6d780a1 Mon Sep 17 00:00:00 2001 From: Thomas Witkowski <thomas.witkowski@gmx.de> Date: Fri, 20 Jun 2008 12:45:17 +0000 Subject: [PATCH] * New Makefile for Intel MKL usage --- demo/Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/demo/Makefile b/demo/Makefile index fed9b7c4..7980ddaa 100644 --- a/demo/Makefile +++ b/demo/Makefile @@ -6,7 +6,8 @@ SHELL = /bin/sh 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_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_COMPILER = gcc # gcc or icc USE_SMI = 0 @@ -76,6 +77,16 @@ ifeq ($(strip $(USE_UMFPACK)), 1) LIBS += $(UMFPACK_LIB) 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) LIBS += $(SMI_LIB) endif -- GitLab