Skip to content

Commit

Permalink
CI: Reduce oneAPI debug level
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett committed Aug 5, 2024
1 parent 5d1c135 commit 9b5382e
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions scripts/actions-oneapi-real64.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ FC = gfortran
F90 = gfortran
LD = /opt/intel/oneapi/compiler/2024.2/bin/icpx

CPPFLAGS = -DSIMD_CPU
CFLAGS = -fp-model=precise -g -march=x86-64-v3 -pipe -std=gnu11
CXXFLAGS = -fp-model=precise -fsycl -g -march=x86-64-v3 -pipe -std=c++17
# -g
CPPFLAGS = -DSIMD_DISABLE
CFLAGS = -fp-model=precise -march=x86-64-v3 -pipe -std=gnu11
CXXFLAGS = -fp-model=precise -fsycl -march=x86-64-v3 -pipe -std=c++17
FPPFLAGS = -traditional
F90FLAGS = -fcray-pointer -ffixed-line-length-none -g -march=x86-64-v3 -pipe
F90FLAGS = -fcray-pointer -ffixed-line-length-none -march=x86-64-v3 -pipe

SYS_INC_DIRS = /opt/intel/oneapi/2024.2/include
LIBDIRS = /usr/local/lib
Expand All @@ -35,13 +36,13 @@ REAL_PRECISION = 8
# DISABLE_INT16 = yes
DISABLE_REAL16 = yes

# -ftrapv
DEBUG = no
CPP_DEBUG_FLAGS = -DCARPET_DEBUG
C_DEBUG_FLAGS = -fsanitize=undefined -fstack-protector-all -ftrapv
# -fsanitize=undefined -ftrapv
CXX_DEBUG_FLAGS = -fstack-protector-all
C_DEBUG_FLAGS = -fsanitize=undefined -fstack-protector-all
CXX_DEBUG_FLAGS = -fsanitize=undefined -fstack-protector-all
FPP_DEBUG_FLAGS = -DCARPET_DEBUG
F90_DEBUG_FLAGS = -fcheck=bounds,do,mem,pointer,recursion -finit-character=65 -finit-integer=42424242 -finit-real=nan -ftrapv
F90_DEBUG_FLAGS = -fcheck=bounds,do,mem,pointer,recursion -finit-character=65 -finit-integer=42424242 -finit-real=nan

OPTIMISE = yes
C_OPTIMISE_FLAGS = -O3 -fexcess-precision=fast -ffp-contract=fast -fno-math-errno -fno-rounding-math
Expand Down

0 comments on commit 9b5382e

Please sign in to comment.