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

Commit

Permalink
Updated example notebook sand Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Aug 20, 2021
1 parent a08a341 commit a621047
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
12 changes: 7 additions & 5 deletions Makefile.Defines
Original file line number Diff line number Diff line change
Expand Up @@ -54,24 +54,26 @@ VTUNE_FLAGS = -g -O2 -vec -simd -shared-intel -qopenmp -debug inline-debug-info
IDEBUG = -O0 -nogen-interfaces -no-pie -no-ftz -fpe-all=0 -g -traceback -mp1 -fp-model strict -fpe0 -debug all -align all -pad -ip -prec-div -prec-sqrt -assume protect-parens -CB -no-wrap-margin -init=snan,arrays
STRICTREAL = -fp-model strict -fp-model no-except -prec-div -prec-sqrt -assume protect-parens
SIMDVEC = -simd -xhost -align all -assume contiguous_assumed_shape -vecabi=cmdtarget -prec-div -prec-sqrt -assume protect-parens
PAR = -qopenmp #-parallel Something goes wrong in SyMBA at the moment with auto-paralellization enabled
PAR = -qopenmp #-parallel #Something goes wrong in SyMBA at the moment with auto-paralellization enabled
HEAPARR = -heap-arrays 1048576
OPTREPORT = -qopt-report=5
IPRODUCTION = -init=snan,arrays -no-wrap-margin -O3 $(STRICTREAL) $(PAR) $(SIMDVEC) $(HEAPARR)

#gfortran flags
GDEBUG = -g -Og -fbacktrace -fbounds-check
GPRODUCTION = -O3
GDEBUG = -g -Og -fbacktrace -fbounds-check -ffree-line-length-none
GPAR = -fopenmp #-ftree-parallelize-loops=4
GMEM = -fsanitize=undefined -fsanitize=address -fsanitize=leak
GWARNINGS = -Wall -Warray-bounds -Wimplicit-interface -Wextra -Warray-temporaries
GPRODUCTION = -O3 -ffree-line-length-none $(GPAR)

#FFLAGS = $(IDEBUG) $(HEAPARR) $(SIMDVEC) $(PAR)
#FFLAGS = -init=snan,arrays -no-wrap-margin -O0 -g -traceback $(STRICTREAL) $(PAR) $(SIMDVEC) $(HEAPARR)
#FFLAGS = $(IPRODUCTION)
#FORTRAN = ifort
#AR = xiar

FORTRAN = gfortran
FFLAGS = -ffree-line-length-none $(GPAR) $(GPRODUCTION) #$(GMEM)
#FFLAGS = $(GDEBUG) #$(GMEM) #$(GPAR)
FFLAGS = $(GPRODUCTION)
AR = ar

# DO NOT include in CFLAGS the "-c" option to compile object only
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ BIG_DISCARD no
RHILL_PRESENT yes
GMTINY 1000.0
ENERGY yes
FRAGMENTATION no
ENERGY_OUT energy.dat
FRAGMENTATION yes
ROTATION yes
MU2KG 1.0
DU2M 1.0
Expand Down

0 comments on commit a621047

Please sign in to comment.