Commit 3017f78e authored by Michael Brown's avatar Michael Brown
Browse files

Adding -std=c++11 specifier to Intel Makefiles

parent 4e6f83ce
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ SHELL = /bin/sh
# compiler/linker settings
# specify flags and libraries needed for your compiler

CC =		mpiicpc 
CC =		mpiicpc -std=c++11
MIC_OPT =       -qoffload-option,mic,compiler,"-fp-model fast=2 -mGLOB_default_function_attrs=\"gather_scatter_loop_unroll=4\""
CCFLAGS =	-g -O3 -qopenmp -DLMP_INTEL_OFFLOAD -DLAMMPS_MEMALIGN=64 \
                -xHost -fno-alias -ansi-alias -restrict -DLMP_INTEL_USELRT \
@@ -14,7 +14,7 @@ CCFLAGS = -g -O3 -qopenmp -DLMP_INTEL_OFFLOAD -DLAMMPS_MEMALIGN=64 \
SHFLAGS =	-fPIC
DEPFLAGS =	-M

LINK =		mpiicpc
LINK =		mpiicpc -std=c++11
LINKFLAGS =	-g -O3 -xHost -qopenmp -qoffload
LIB =           -ltbbmalloc
SIZE =		size
+2 −2
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ SHELL = /bin/sh
# compiler/linker settings
# specify flags and libraries needed for your compiler

CC =		mpiicpc 
CC =		mpiicpc -std=c++11
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 =		mpiicpc
LINK =		mpiicpc -std=c++11
LINKFLAGS =	-qopenmp $(OPTFLAGS) -L$(MKLROOT)/lib/intel64/
LIB =           -ltbbmalloc -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core
SIZE =		size
+2 −2
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ SHELL = /bin/sh
# compiler/linker settings
# specify flags and libraries needed for your compiler

CC =		mpiicpc 
CC =		mpiicpc -std=c++11
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 =		mpiicpc
LINK =		mpiicpc -std=c++11
LINKFLAGS =	-qopenmp $(OPTFLAGS) -L$(MKLROOT)/lib/intel64/
LIB =           -ltbbmalloc -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core	
SIZE =		size
+2 −2
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ SHELL = /bin/sh
# compiler/linker settings
# specify flags and libraries needed for your compiler

CC =		mpicxx -cxx=icc
CC =		mpicxx -cxx=icc -std=c++11
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
LINK =		mpicxx -cxx=icc -std=c++11
LINKFLAGS =	-qopenmp $(OPTFLAGS) -L$(MKLROOT)/lib/intel64/
LIB =           -ltbbmalloc -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core
SIZE =		size
+2 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ SHELL = /bin/sh
# specify flags and libraries needed for your compiler

export OMPI_CXX = icc
CC =		mpicxx
CC =		mpicxx -std=c++11
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
LINK =		mpicxx -std=c++11
LINKFLAGS =	-qopenmp $(OPTFLAGS) -L$(MKLROOT)/lib/intel64/
LIB =           -ltbbmalloc -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core
SIZE =		size
Loading