# BHAC architecture file for SuperMUC-NG (Intel compilers, SIMD + OpenMP) - by SC : cielo-at-lrz.de
#  - Put this file in your arch subfolder, then instruct your makefile by setting: ARCH = BHAC_sng.defs
#  - do not forget to add the the source folder to your path before compiling (standard BHAC instructions)
#  - you shouldn't need any particular module to compile. Just check for Intel_MPI, and whether I/O is present.
#
# Soon (2022 or 2023 ?) you may be able to use ifx instead of mpiifort
F90=mpiifort
FFLAGS = -c
F90FLAGS = -g -xHost -qopt-zmm-usage=high -O3 -FR -qopenmp -implicitnone
# Uncomment the following for profiling (the last 3 are heavy!)
#F90FLAGS+= -no-ipo -qopt-report=5 -parallel-source-info=2 -tcollect -trace
LINK= $(F90)  $(F90FLAGS)
