quantum_package/config/ifort_mpi.cfg

63 lines
1.5 KiB
INI
Raw Permalink Normal View History

2017-05-31 02:03:29 +02:00
# Common flags
##############
#
# -mkl=[parallel|sequential] : Use the MKL library
# --ninja : Allow the utilisation of ninja. It is mandatory !
# --align=32 : Align all provided arrays on a 32-byte boundary
#
[COMMON]
2017-11-23 12:17:47 +01:00
FC : mpiifort
2017-05-31 02:03:29 +02:00
LAPACK_LIB : -mkl=parallel
IRPF90 : irpf90
2017-11-29 19:10:27 +01:00
IRPF90_FLAGS : --ninja --align=32 -DMPI
2017-05-31 02:03:29 +02:00
# Global options
################
#
# 1 : Activate
# 0 : Deactivate
2017-11-23 12:17:47 +01:00
#
2017-05-31 02:03:29 +02:00
[OPTION]
MODE : OPT ; [ OPT | PROFILE | DEBUG ] : Chooses the section below
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]
2017-11-27 02:20:34 +01:00
FCFLAGS : -xAVX -O2 -ip -ftz -g -traceback
2017-05-31 02:03:29 +02:00
# Profiling flags
#################
#
[PROFILE]
FC : -p -g
FCFLAGS : -xSSE4.2 -O2 -ip -ftz
# 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
2017-11-23 12:17:47 +01:00
FCFLAGS : -xSSE2 -C -fpe0
2017-05-31 02:03:29 +02:00
# OpenMP flags
#################
#
[OPENMP]
2017-11-23 12:17:47 +01:00
FC : -qopenmp
2017-05-31 02:03:29 +02:00
IRPF90_FLAGS : --openmp