Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Fixed problem with debug compiler flags
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Nov 15, 2021
1 parent 7b848c2 commit 60d06d0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile.Defines
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ COLLRESOLVE_HOME = $(ROOT_DIR)/collresolve/
ADVIXE_FLAGS = -g -O2 -qopt-report=5 -vecabi=cmdtarget -simd -shared-intel -debug inline-debug-info -DTBB_DEBUG -DTBB_USE_THREADING_TOOLS -xhost -traceback -parallel-source-info=2
#Be sure to set the environment variable KMP_FORKJOIN_FRAMES=1 for OpenMP debuging in vtune

IDEBUG = -O0 -init=snan,arrays -nogen-interfaces -no-pie -no-ftz -fpe-all=0 -g -traceback -mp1 -qopt-matmul -fp-model strict -fpe0 -debug all -align all -pad -ip -prec-div -prec-sqrt -assume protect -parens -CB -no-wrap-margi-parallel-source-info=2 TRICTREAL = -fp-model=precise -prec-div -prec-sqrt -assume protect-parens
IDEBUG = -O0 -init=snan,arrays -nogen-interfaces -no-pie -no-ftz -fpe-all=0 -g -traceback -mp1 -qopt-matmul -fp-model strict -fpe0 -debug all -align all -pad -ip -prec-div -prec-sqrt -assume protect-parens -CB -no-wrap-margi-parallel-source-info=2
STRICTREAL = -fp-model=precise -prec-div -prec-sqrt -assume protect-parens
SIMDVEC = -simd -xhost -align all -assume contiguous_assumed_shape -vecabi=cmdtarget -fp-model no-except -fma
PAR = -qopenmp -parallel
HEAPARR = -heap-arrays 4194304
Expand All @@ -70,8 +71,8 @@ LINKS = -L$(MKLROOT)/lib/intel64 -L$(NETCDF_FORTRAN_HOME)/lib -lswiftest -lnetcd

FSTRICTFLAGS = $(IDEBUG) $(SIMDVEC) $(PAR)
FFLAGS = $(IDEBUG) $(SIMDVEC) $(PAR)
#FSTRICTFLAGS = $(IPRODUCTION) $(STRICTREAL) -g -traceback
#FFLAGS = $(IPRODUCTION) -fp-model=fast -g -traceback
# FSTRICTFLAGS = $(IPRODUCTION) $(STRICTREAL) -g -traceback
# FFLAGS = $(IPRODUCTION) -fp-model=fast -g -traceback

FORTRAN = ifort
AR = xiar
Expand Down

0 comments on commit 60d06d0

Please sign in to comment.