1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
# Number of optimizations to check (up to 6) - these are defined in options.f90
Nopt=6
# Maximum lp to generate the routines (from 0 to 9, 7 recommended). Higher values will give better performance but takes longer to build.
lmax=7
# Number of tests to run
Nrun=3
# #### Gfortran flags
FC_comp="ftn -ffree-form -pipe"
FCFLAGS_OPT=" -O3 -ffast-math -funroll-loops -ftree-vectorize -fno-omit-frame-pointer -g -march=ivybridge -fgcse-sm -fgcse-las -fmerge-all-constants "
FCFLAGS_NATIVE="-march=native"
# Cray flags
#FC_comp="ftn -f free "
#FCFLAGS_OPT="-target=compute_node -O3"
#FCFLAGS_OPT="-target=compute_node -O2"
#FCFLAGS_NATIVE="-target=native"
# Intel Flags
#FC_comp="ftn -free"
#FCFLAGS_OPT="-O3"
# -openmp flag required for correct behaviour if building CP2K with OpenMP
#FCFLAGS_OPT="-O3 -openmp"
# PGI Flags
#FC_comp="ftn -Mfree"
#FCFLAGS_OPT="-fastsse"
makefile_name="Makefile"
|