Skip to content

Commit

Permalink
Reintroduced MKL_STATIC.
Browse files Browse the repository at this point in the history
  • Loading branch information
hfp committed Dec 16, 2024
1 parent 803ded8 commit 5c96eb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/cp2k/Linux-x86-64-intelx.arch
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ IPO ?= 0
VMAX ?= 0
STATIC ?= 1
DYNAMIC ?= 1
MKL_STATIC ?= $(STATIC)
MKL_DIRECT ?= 0
MKL_BITS ?= lp64
BEEP ?= 0
Expand Down Expand Up @@ -968,7 +969,7 @@ ifneq (0,$(MKL))
ifeq (ilp64,$(MKL_BITS))
DFLAGS += MKL_ILP64
endif
ifeq (0,$(STATIC))
ifeq (0,$(MKL_STATIC))
LIBS += -L$(MKLROOT)/lib/intel64 -Wl,-rpath,$(MKLROOT)/lib/intel64
ifneq (0,$(MPI))
LIBS += -l$(SCALAPACKLIB) -lmkl_$(MKL_FCRTL)_$(MKL_BITS) -lmkl_core -lmkl_$(MKL_THREADS) -lmkl_blacs_$(MKL_MPIRTL)_$(MKL_BITS)
Expand Down

0 comments on commit 5c96eb3

Please sign in to comment.