diff --git a/wmake/rules/linux64KNLIcc/c b/wmake/rules/linux64KNLIcc/c new file mode 100644 index 0000000000..14a3a231d5 --- /dev/null +++ b/wmake/rules/linux64KNLIcc/c @@ -0,0 +1,16 @@ +SUFFIXES += .c + +cWARN = + +cc = icc + +include $(DEFAULT_RULES)/c$(WM_COMPILE_OPTION) + +cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC + +ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $< -o $@ + +LINK_LIBS = $(cDBUG) -L$(IA32ROOT)/lib + +LINKLIBSO = $(cc) $(cFLAGS) -shared +LINKEXE = $(cc) $(cFLAGS) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs diff --git a/wmake/rules/linux64KNLIcc/c++ b/wmake/rules/linux64KNLIcc/c++ new file mode 100644 index 0000000000..1cef033388 --- /dev/null +++ b/wmake/rules/linux64KNLIcc/c++ @@ -0,0 +1,25 @@ +SUFFIXES += .C + +c++WARN = -Wall -Wextra -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof \ + -diag-disable 654,1125,2304 + +# Suppress some warnings for flex++ and CGAL +c++LESSWARN = -diag-disable 1224,2026,2305 + +CC = icpc -std=c++0x -fp-trap=common -fp-model precise -fp-speculation=safe -DKNL + +include $(DEFAULT_RULES)/c++$(WM_COMPILE_OPTION) + +ptFLAGS = -DNoRepository + +c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC + +Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $< -o $@ +cxxtoo = $(Ctoo) +cctoo = $(Ctoo) +cpptoo = $(Ctoo) + +LINK_LIBS = $(c++DBUG) -L$(IA64ROOT)/lib + +LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed +LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed diff --git a/wmake/rules/linux64KNLIcc/c++Debug b/wmake/rules/linux64KNLIcc/c++Debug new file mode 100644 index 0000000000..0aec1fbffe --- /dev/null +++ b/wmake/rules/linux64KNLIcc/c++Debug @@ -0,0 +1,2 @@ +c++DBUG = -g -DFULLDEBUG -O0 +c++OPT = diff --git a/wmake/rules/linux64KNLIcc/c++Opt b/wmake/rules/linux64KNLIcc/c++Opt new file mode 100644 index 0000000000..6f63448050 --- /dev/null +++ b/wmake/rules/linux64KNLIcc/c++Opt @@ -0,0 +1,2 @@ +c++DBUG = +c++OPT = -O3 -DvectorMachine -xmic-avx512 diff --git a/wmake/rules/linux64KNLIcc/c++Prof b/wmake/rules/linux64KNLIcc/c++Prof new file mode 100644 index 0000000000..3bda4dad55 --- /dev/null +++ b/wmake/rules/linux64KNLIcc/c++Prof @@ -0,0 +1,2 @@ +c++DBUG = -pg +c++OPT = -O2 diff --git a/wmake/rules/linux64KNLIcc/cDebug b/wmake/rules/linux64KNLIcc/cDebug new file mode 100644 index 0000000000..73dce0dfd0 --- /dev/null +++ b/wmake/rules/linux64KNLIcc/cDebug @@ -0,0 +1,2 @@ +cDBUG = -g -DFULLDEBUG -O0 +cOPT = diff --git a/wmake/rules/linux64KNLIcc/cOpt b/wmake/rules/linux64KNLIcc/cOpt new file mode 100644 index 0000000000..b5349135be --- /dev/null +++ b/wmake/rules/linux64KNLIcc/cOpt @@ -0,0 +1,2 @@ +cDBUG = +cOPT = -O3 -no-prec-div diff --git a/wmake/rules/linux64KNLIcc/cProf b/wmake/rules/linux64KNLIcc/cProf new file mode 100644 index 0000000000..ca3ac9bf5f --- /dev/null +++ b/wmake/rules/linux64KNLIcc/cProf @@ -0,0 +1,2 @@ +cDBUG = -pg +cOPT = -O2 diff --git a/wmake/rules/linux64KNLIcc/general b/wmake/rules/linux64KNLIcc/general new file mode 100644 index 0000000000..52b0e177d7 --- /dev/null +++ b/wmake/rules/linux64KNLIcc/general @@ -0,0 +1,8 @@ +CPP = /lib/cpp -traditional-cpp $(GFLAGS) + +PROJECT_LIBS = -l$(WM_PROJECT) -ldl + +include $(GENERAL_RULES)/standard + +include $(DEFAULT_RULES)/c +include $(DEFAULT_RULES)/c++ diff --git a/wmake/rules/linux64KNLIcc/mplibHPMPI b/wmake/rules/linux64KNLIcc/mplibHPMPI new file mode 100644 index 0000000000..d7c4b0cf30 --- /dev/null +++ b/wmake/rules/linux64KNLIcc/mplibHPMPI @@ -0,0 +1,3 @@ +PFLAGS = +PINC = -isystem $(MPI_ARCH_PATH)/include -D_MPICC_H +PLIBS = -L$(MPI_ARCH_PATH)/lib/linux_amd64 -lmpi diff --git a/wmake/rules/linux64KNLIcc/mplibINTELMPI b/wmake/rules/linux64KNLIcc/mplibINTELMPI new file mode 100644 index 0000000000..278e0b0f22 --- /dev/null +++ b/wmake/rules/linux64KNLIcc/mplibINTELMPI @@ -0,0 +1,3 @@ +PFLAGS = -DMPICH_SKIP_MPICXX +PINC = -isystem $(MPI_ARCH_PATH)/include64 +PLIBS = -L$(MPI_ARCH_PATH)/lib64 -lmpi