10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-05 05:33:56 +01:00
quantum_package/config/ifort.cfg

64 lines
1.5 KiB
INI
Raw Normal View History

2015-05-27 17:49:31 +02:00
# Common flags
##############
#
# -mkl=[parallel|sequential] : Use the MKL library
# --ninja : Allow the utilisation of ninja. It is mandatory !
2015-05-27 17:49:31 +02:00
# --align=32 : Align all provided arrays on a 32-byte boundary
#
[COMMON]
FC : ifort
2017-10-30 12:26:23 +01:00
LAPACK_LIB : -mkl=parallel
2015-06-02 15:46:24 +02:00
IRPF90 : irpf90
2017-12-05 18:54:10 +01:00
IRPF90_FLAGS : --ninja --align=32
2015-05-27 17:49:31 +02:00
# Global options
################
#
# 1 : Activate
# 0 : Deactivate
#
[OPTION]
2016-09-09 19:39:28 +02:00
MODE : OPT ; [ OPT | PROFILE | DEBUG ] : Chooses the section below
2015-05-27 17:49:31 +02:00
CACHE : 1 ; Enable cache_compile.py
OPENMP : 1 ; Append OpenMP flags
# Optimization flags
####################
#
# -xHost : Compile a binary optimized for the current architecture
# -O2 : O3 not better than O2.
# -ip : Inter-procedural optimizations
# -ftz : Flushes denormal results to zero
#
[OPT]
FC : -traceback
2018-04-29 17:09:46 +02:00
FCFLAGS : -xSSE4.2 -O2 -ip -ftz -g
2015-05-27 17:49:31 +02:00
# Profiling flags
#################
#
[PROFILE]
FC : -p -g
2016-06-15 10:07:00 +02:00
FCFLAGS : -xSSE4.2 -O2 -ip -ftz
2015-05-27 17:49:31 +02:00
# Debugging flags
#################
#
# -traceback : Activate backtrace on runtime
# -fpe0 : All floating point exaceptions
# -C : Checks uninitialized variables, array subscripts, etc...
# -g : Extra debugging information
# -xSSE2 : Valgrind needs a very simple x86 executable
#
[DEBUG]
FC : -g -traceback
FCFLAGS : -xSSE2 -C -fpe0
2015-05-27 17:49:31 +02:00
# OpenMP flags
#################
#
[OPENMP]
FC : -qopenmp
2015-05-27 17:49:31 +02:00
IRPF90_FLAGS : --openmp