Skip to content

Commit e8cd154

Browse files
committed
CP2K: bring compiler flags closer to official settings (debug).
1 parent bbd5e53 commit e8cd154

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/cp2k/Linux-x86-64-intelx.arch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ OMP ?= 2
133133
DBG ?= $(DUMPAST)
134134
CHK ?= $(DBG)
135135
SYM ?= $(DBG)
136-
FPE ?= 0
136+
FPE ?= $(DBG)
137137
IPO ?= 0
138138
USM ?= 0
139139
VMAX ?= 0
@@ -594,7 +594,7 @@ else # GNU GCC
594594
endif
595595
ifneq (0,$(CHK))
596596
FCFLAGS += -finit-derived -finit-real=snan -finit-integer=-42
597-
FCFLAGS += -fcheck=all -fbounds-check
597+
FCFLAGS += -fcheck=all,no-array-temps -fbounds-check
598598
DFLAGS += __CHECK_DIAG
599599
endif
600600
ifneq (0,$(FPE))

0 commit comments

Comments
 (0)