From fe903831abf6dba31b0c8238a4802de94576df14 Mon Sep 17 00:00:00 2001 From: Matthias Krack Date: Fri, 14 Jun 2024 18:13:11 +0200 Subject: [PATCH] Fix arch file generator for Intel compiler --- tools/toolchain/scripts/generate_arch_files.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/toolchain/scripts/generate_arch_files.sh b/tools/toolchain/scripts/generate_arch_files.sh index 3928b51804..d2838ea796 100755 --- a/tools/toolchain/scripts/generate_arch_files.sh +++ b/tools/toolchain/scripts/generate_arch_files.sh @@ -134,6 +134,9 @@ else CFLAGS="${G_CFLAGS} -std=c11 -Wall \$(DFLAGS)" CXXFLAGS="${G_CFLAGS} -std=c++14 -Wall \$(DFLAGS)" FCFLAGS="${FCFLAGS} -diag-disable=8291 -diag-disable=8293 -fpp -fpscomp logicals -free" + # Suppress warnings and add include path to omp_lib.mod explicitly. + # No clue why the Intel oneAPI setup script does not include that path (bug?) + FCFLAGS="${FCFLAGS} -diag-disable=10448 -I/opt/intel/oneapi/2024.1/opt/compiler/include/intel64" fi # Linker flags