synchronize intel compiler flag tweaks with cmake, turn off one more warning

This commit is contained in:
Axel Kohlmeyer
2022-10-08 10:54:33 -04:00
parent 5582dbc3d3
commit 90b590dd3b
6 changed files with 15 additions and 15 deletions

View File

@ -6,7 +6,7 @@ SHELL = /bin/sh
# compiler/linker settings
# specify flags and libraries needed for your compiler
CC = mpiicpc -std=c++11 -diag-disable=10441
CC = mpiicpc -std=c++11 -diag-disable=10441 -diag-disable=2196
OPTFLAGS = -xHost -O2 -fp-model fast=2 -no-prec-div -qoverride-limits \
-qopt-zmm-usage=high
CCFLAGS = -qopenmp -qno-offload -ansi-alias -restrict \
@ -15,9 +15,9 @@ CCFLAGS = -qopenmp -qno-offload -ansi-alias -restrict \
SHFLAGS = -fPIC
DEPFLAGS = -M
LINK = mpiicpc -std=c++11 -diag-disable=10441
LINK = mpiicpc -std=c++11 -diag-disable=10441 -diag-disable=2196
LINKFLAGS = -qopenmp $(OPTFLAGS) -L$(MKLROOT)/lib/intel64/
LIB = -ltbbmalloc -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core
LIB = -ltbbmalloc -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core
SIZE = size
ARCHIVE = ar

View File

@ -6,7 +6,7 @@ SHELL = /bin/sh
# compiler/linker settings
# specify flags and libraries needed for your compiler
CC = mpicxx -cxx=icc -std=c++11 -diag-disable=10441
CC = mpicxx -cxx=icc -std=c++11 -diag-disable=10441 -diag-disable=2196
OPTFLAGS = -xHost -O2 -fp-model fast=2 -no-prec-div -qoverride-limits \
-qopt-zmm-usage=high
CCFLAGS = -qopenmp -qno-offload -ansi-alias -restrict \
@ -15,7 +15,7 @@ CCFLAGS = -qopenmp -qno-offload -ansi-alias -restrict \
SHFLAGS = -fPIC
DEPFLAGS = -M
LINK = mpicxx -cxx=icc -std=c++11 -diag-disable=10441
LINK = mpicxx -cxx=icc -std=c++11 -diag-disable=10441 -diag-disable=2196
LINKFLAGS = -qopenmp $(OPTFLAGS) -L$(MKLROOT)/lib/intel64/
LIB = -ltbbmalloc -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core
SIZE = size

View File

@ -7,7 +7,7 @@ SHELL = /bin/sh
# specify flags and libraries needed for your compiler
export OMPI_CXX = icc
CC = mpicxx -std=c++11 -diag-disable=10441
CC = mpicxx -std=c++11 -diag-disable=10441 -diag-disable=2196
OPTFLAGS = -xHost -O2 -fp-model fast=2 -no-prec-div -qoverride-limits \
-qopt-zmm-usage=high
CCFLAGS = -qopenmp -qno-offload -ansi-alias -restrict \
@ -16,7 +16,7 @@ CCFLAGS = -qopenmp -qno-offload -ansi-alias -restrict \
SHFLAGS = -fPIC
DEPFLAGS = -M
LINK = mpicxx -std=c++11 -diag-disable=10441
LINK = mpicxx -std=c++11 -diag-disable=10441 -diag-disable=2196
LINKFLAGS = -qopenmp $(OPTFLAGS) -L$(MKLROOT)/lib/intel64/
LIB = -ltbbmalloc -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core
SIZE = size