From 8806f282ece8ceb5bc8ab140d38a1e9ef98f6189 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Tue, 7 Apr 2015 16:12:44 +0100 Subject: [PATCH] Added new compilers --- wmake/rules/linux64Gcc47/ARCHITECTURE_TESTED | 2 ++ wmake/rules/linux64Gcc47/X | 3 +++ wmake/rules/linux64Gcc47/c | 16 +++++++++++++++ wmake/rules/linux64Gcc47/c++ | 21 ++++++++++++++++++++ wmake/rules/linux64Gcc47/c++Debug | 2 ++ wmake/rules/linux64Gcc47/c++Opt | 4 ++++ wmake/rules/linux64Gcc47/c++Prof | 2 ++ wmake/rules/linux64Gcc47/cDebug | 2 ++ wmake/rules/linux64Gcc47/cOpt | 2 ++ wmake/rules/linux64Gcc47/cProf | 2 ++ wmake/rules/linux64Gcc47/general | 11 ++++++++++ wmake/rules/linux64Gcc47/mplib | 3 +++ wmake/rules/linux64Gcc47/mplibGAMMA | 3 +++ wmake/rules/linux64Gcc47/mplibHPMPI | 3 +++ wmake/rules/linux64Gcc47/mplibMPICH | 3 +++ wmake/rules/linux64Gcc47/mplibMPICH-GM | 3 +++ wmake/rules/linux64Gcc47/mplibMVAPICH2 | 0 wmake/rules/linux64Gcc47/mplibOPENMPI | 3 +++ wmake/rules/linux64Gcc47/mplibQSMPI | 4 ++++ wmake/rules/linux64Gcc47/mplibSYSTEMOPENMPI | 1 + wmake/rules/linux64Gcc47/nvcc | 17 ++++++++++++++++ wmake/rules/linux64Gcc49/ARCHITECTURE_TESTED | 2 ++ wmake/rules/linux64Gcc49/X | 3 +++ wmake/rules/linux64Gcc49/c | 16 +++++++++++++++ wmake/rules/linux64Gcc49/c++ | 21 ++++++++++++++++++++ wmake/rules/linux64Gcc49/c++Debug | 2 ++ wmake/rules/linux64Gcc49/c++Opt | 4 ++++ wmake/rules/linux64Gcc49/c++Prof | 2 ++ wmake/rules/linux64Gcc49/cDebug | 2 ++ wmake/rules/linux64Gcc49/cOpt | 2 ++ wmake/rules/linux64Gcc49/cProf | 2 ++ wmake/rules/linux64Gcc49/general | 11 ++++++++++ wmake/rules/linux64Gcc49/mplib | 3 +++ wmake/rules/linux64Gcc49/mplibGAMMA | 3 +++ wmake/rules/linux64Gcc49/mplibHPMPI | 3 +++ wmake/rules/linux64Gcc49/mplibMPICH | 3 +++ wmake/rules/linux64Gcc49/mplibMPICH-GM | 3 +++ wmake/rules/linux64Gcc49/mplibMVAPICH2 | 0 wmake/rules/linux64Gcc49/mplibOPENMPI | 3 +++ wmake/rules/linux64Gcc49/mplibQSMPI | 4 ++++ wmake/rules/linux64Gcc49/mplibSYSTEMOPENMPI | 1 + wmake/rules/linux64Gcc49/nvcc | 17 ++++++++++++++++ 42 files changed, 214 insertions(+) create mode 100644 wmake/rules/linux64Gcc47/ARCHITECTURE_TESTED create mode 100644 wmake/rules/linux64Gcc47/X create mode 100644 wmake/rules/linux64Gcc47/c create mode 100644 wmake/rules/linux64Gcc47/c++ create mode 100644 wmake/rules/linux64Gcc47/c++Debug create mode 100644 wmake/rules/linux64Gcc47/c++Opt create mode 100644 wmake/rules/linux64Gcc47/c++Prof create mode 100644 wmake/rules/linux64Gcc47/cDebug create mode 100644 wmake/rules/linux64Gcc47/cOpt create mode 100644 wmake/rules/linux64Gcc47/cProf create mode 100644 wmake/rules/linux64Gcc47/general create mode 100644 wmake/rules/linux64Gcc47/mplib create mode 100644 wmake/rules/linux64Gcc47/mplibGAMMA create mode 100644 wmake/rules/linux64Gcc47/mplibHPMPI create mode 100644 wmake/rules/linux64Gcc47/mplibMPICH create mode 100644 wmake/rules/linux64Gcc47/mplibMPICH-GM create mode 100644 wmake/rules/linux64Gcc47/mplibMVAPICH2 create mode 100644 wmake/rules/linux64Gcc47/mplibOPENMPI create mode 100644 wmake/rules/linux64Gcc47/mplibQSMPI create mode 100644 wmake/rules/linux64Gcc47/mplibSYSTEMOPENMPI create mode 100644 wmake/rules/linux64Gcc47/nvcc create mode 100644 wmake/rules/linux64Gcc49/ARCHITECTURE_TESTED create mode 100644 wmake/rules/linux64Gcc49/X create mode 100644 wmake/rules/linux64Gcc49/c create mode 100644 wmake/rules/linux64Gcc49/c++ create mode 100644 wmake/rules/linux64Gcc49/c++Debug create mode 100644 wmake/rules/linux64Gcc49/c++Opt create mode 100644 wmake/rules/linux64Gcc49/c++Prof create mode 100644 wmake/rules/linux64Gcc49/cDebug create mode 100644 wmake/rules/linux64Gcc49/cOpt create mode 100644 wmake/rules/linux64Gcc49/cProf create mode 100644 wmake/rules/linux64Gcc49/general create mode 100644 wmake/rules/linux64Gcc49/mplib create mode 100644 wmake/rules/linux64Gcc49/mplibGAMMA create mode 100644 wmake/rules/linux64Gcc49/mplibHPMPI create mode 100644 wmake/rules/linux64Gcc49/mplibMPICH create mode 100644 wmake/rules/linux64Gcc49/mplibMPICH-GM create mode 100644 wmake/rules/linux64Gcc49/mplibMVAPICH2 create mode 100644 wmake/rules/linux64Gcc49/mplibOPENMPI create mode 100644 wmake/rules/linux64Gcc49/mplibQSMPI create mode 100644 wmake/rules/linux64Gcc49/mplibSYSTEMOPENMPI create mode 100644 wmake/rules/linux64Gcc49/nvcc diff --git a/wmake/rules/linux64Gcc47/ARCHITECTURE_TESTED b/wmake/rules/linux64Gcc47/ARCHITECTURE_TESTED new file mode 100644 index 000000000..72c1dd80f --- /dev/null +++ b/wmake/rules/linux64Gcc47/ARCHITECTURE_TESTED @@ -0,0 +1,2 @@ +by bgschaid. 2010-10-06 on Centos 5.5 with gcc 4.1 + diff --git a/wmake/rules/linux64Gcc47/X b/wmake/rules/linux64Gcc47/X new file mode 100644 index 000000000..5d1f9c5cc --- /dev/null +++ b/wmake/rules/linux64Gcc47/X @@ -0,0 +1,3 @@ +XFLAGS = +XINC = $(XFLAGS) -I/usr/X11R6/include +XLIBS = -L/usr/X11R6/lib64 -lXext -lX11 diff --git a/wmake/rules/linux64Gcc47/c b/wmake/rules/linux64Gcc47/c new file mode 100644 index 000000000..f4114be31 --- /dev/null +++ b/wmake/rules/linux64Gcc47/c @@ -0,0 +1,16 @@ +.SUFFIXES: .c .h + +cWARN = -Wall + +cc = gcc -m64 + +include $(RULES)/c$(WM_COMPILE_OPTION) + +cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC + +ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ + +LINK_LIBS = $(cDBUG) + +LINKLIBSO = $(cc) -shared +LINKEXE = $(cc) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs diff --git a/wmake/rules/linux64Gcc47/c++ b/wmake/rules/linux64Gcc47/c++ new file mode 100644 index 000000000..767c0162e --- /dev/null +++ b/wmake/rules/linux64Gcc47/c++ @@ -0,0 +1,21 @@ +.SUFFIXES: .C .cxx .cc .cpp + +c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor + +CC = g++ -m64 + +include $(RULES)/c++$(WM_COMPILE_OPTION) + +ptFLAGS = -DNoRepository -ftemplate-depth-200 + +c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC + +Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ +cxxtoo = $(Ctoo) +cctoo = $(Ctoo) +cpptoo = $(Ctoo) + +LINK_LIBS = $(c++DBUG) -lrt + +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/linux64Gcc47/c++Debug b/wmake/rules/linux64Gcc47/c++Debug new file mode 100644 index 000000000..19bdb9c33 --- /dev/null +++ b/wmake/rules/linux64Gcc47/c++Debug @@ -0,0 +1,2 @@ +c++DBUG = -ggdb3 -DFULLDEBUG +c++OPT = -O0 -fdefault-inline diff --git a/wmake/rules/linux64Gcc47/c++Opt b/wmake/rules/linux64Gcc47/c++Opt new file mode 100644 index 000000000..3446f7f58 --- /dev/null +++ b/wmake/rules/linux64Gcc47/c++Opt @@ -0,0 +1,4 @@ +c++DBUG = +c++OPT = -O3 +#c++OPT = -march=nocona -O3 +# -ftree-vectorize -ftree-vectorizer-verbose=3 diff --git a/wmake/rules/linux64Gcc47/c++Prof b/wmake/rules/linux64Gcc47/c++Prof new file mode 100644 index 000000000..3bda4dad5 --- /dev/null +++ b/wmake/rules/linux64Gcc47/c++Prof @@ -0,0 +1,2 @@ +c++DBUG = -pg +c++OPT = -O2 diff --git a/wmake/rules/linux64Gcc47/cDebug b/wmake/rules/linux64Gcc47/cDebug new file mode 100644 index 000000000..72b638f45 --- /dev/null +++ b/wmake/rules/linux64Gcc47/cDebug @@ -0,0 +1,2 @@ +cDBUG = -ggdb -DFULLDEBUG +cOPT = -O1 -fdefault-inline -finline-functions diff --git a/wmake/rules/linux64Gcc47/cOpt b/wmake/rules/linux64Gcc47/cOpt new file mode 100644 index 000000000..17318709f --- /dev/null +++ b/wmake/rules/linux64Gcc47/cOpt @@ -0,0 +1,2 @@ +cDBUG = +cOPT = -O3 diff --git a/wmake/rules/linux64Gcc47/cProf b/wmake/rules/linux64Gcc47/cProf new file mode 100644 index 000000000..ca3ac9bf5 --- /dev/null +++ b/wmake/rules/linux64Gcc47/cProf @@ -0,0 +1,2 @@ +cDBUG = -pg +cOPT = -O2 diff --git a/wmake/rules/linux64Gcc47/general b/wmake/rules/linux64Gcc47/general new file mode 100644 index 000000000..78b75ba6e --- /dev/null +++ b/wmake/rules/linux64Gcc47/general @@ -0,0 +1,11 @@ +CPP = cpp -traditional-cpp +LD = ld + +PROJECT_LIBS = -l$(WM_PROJECT) -liberty -ldl + +include $(GENERAL_RULES)/standard + +include $(RULES)/X +include $(RULES)/c +include $(RULES)/c++ +include $(RULES)/nvcc diff --git a/wmake/rules/linux64Gcc47/mplib b/wmake/rules/linux64Gcc47/mplib new file mode 100644 index 000000000..294bd8615 --- /dev/null +++ b/wmake/rules/linux64Gcc47/mplib @@ -0,0 +1,3 @@ +PFLAGS = +PINC = +PLIBS = diff --git a/wmake/rules/linux64Gcc47/mplibGAMMA b/wmake/rules/linux64Gcc47/mplibGAMMA new file mode 100644 index 000000000..11606f298 --- /dev/null +++ b/wmake/rules/linux64Gcc47/mplibGAMMA @@ -0,0 +1,3 @@ +PFLAGS = +PINC = -I$(MPI_ARCH_PATH)/include +PLIBS = -L$(MPI_ARCH_PATH)/lib -lgamma diff --git a/wmake/rules/linux64Gcc47/mplibHPMPI b/wmake/rules/linux64Gcc47/mplibHPMPI new file mode 100644 index 000000000..574492a23 --- /dev/null +++ b/wmake/rules/linux64Gcc47/mplibHPMPI @@ -0,0 +1,3 @@ +PFLAGS = +PINC = -I$(MPI_ARCH_PATH)/include -D_MPICC_H +PLIBS = -L$(MPI_ARCH_PATH)/lib/linux_amd64 -lmpi diff --git a/wmake/rules/linux64Gcc47/mplibMPICH b/wmake/rules/linux64Gcc47/mplibMPICH new file mode 100644 index 000000000..ad53c8d44 --- /dev/null +++ b/wmake/rules/linux64Gcc47/mplibMPICH @@ -0,0 +1,3 @@ +PFLAGS = +PINC = -I$(MPI_ARCH_PATH)/include +PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich diff --git a/wmake/rules/linux64Gcc47/mplibMPICH-GM b/wmake/rules/linux64Gcc47/mplibMPICH-GM new file mode 100644 index 000000000..88493ebc7 --- /dev/null +++ b/wmake/rules/linux64Gcc47/mplibMPICH-GM @@ -0,0 +1,3 @@ +PFLAGS = +PINC = -I$(MPI_ARCH_PATH)/include +PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -L$(GM_LIB_PATH) -lgm diff --git a/wmake/rules/linux64Gcc47/mplibMVAPICH2 b/wmake/rules/linux64Gcc47/mplibMVAPICH2 new file mode 100644 index 000000000..e69de29bb diff --git a/wmake/rules/linux64Gcc47/mplibOPENMPI b/wmake/rules/linux64Gcc47/mplibOPENMPI new file mode 100644 index 000000000..834d2d3e2 --- /dev/null +++ b/wmake/rules/linux64Gcc47/mplibOPENMPI @@ -0,0 +1,3 @@ +PFLAGS = -DOMPI_SKIP_MPICXX +PINC = -I$(MPI_ARCH_PATH)/include +PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi diff --git a/wmake/rules/linux64Gcc47/mplibQSMPI b/wmake/rules/linux64Gcc47/mplibQSMPI new file mode 100644 index 000000000..95ea32737 --- /dev/null +++ b/wmake/rules/linux64Gcc47/mplibQSMPI @@ -0,0 +1,4 @@ +PFLAGS = +PINC = -I$(MPI_ARCH_PATH)/include +PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi + diff --git a/wmake/rules/linux64Gcc47/mplibSYSTEMOPENMPI b/wmake/rules/linux64Gcc47/mplibSYSTEMOPENMPI new file mode 100644 index 000000000..98fa814ce --- /dev/null +++ b/wmake/rules/linux64Gcc47/mplibSYSTEMOPENMPI @@ -0,0 +1 @@ +PFLAGS = -DOMPI_SKIP_MPICXX diff --git a/wmake/rules/linux64Gcc47/nvcc b/wmake/rules/linux64Gcc47/nvcc new file mode 100644 index 000000000..69ae714c5 --- /dev/null +++ b/wmake/rules/linux64Gcc47/nvcc @@ -0,0 +1,17 @@ +.SUFFIXES: .cu + +NVCC = nvcc -m64 -arch $(CUDA_ARCH) + +NVCC_ptFLAGS = -DNoRepository + +NVCC_FLAGS = $(NVCC_ptFLAGS) -Xcompiler -fPIC $(LIB_HEADER_DIRS) $(GFLAGS) $(c++OPT) $(c++DBUG) + +cutoo = $(WM_SCHEDULER) $(NVCC) $(NVCC_FLAGS) -c $$SOURCE -o $@ + +LINK_LIBS = $(c++DBUG) + +LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed +LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed + +.cu.dep: + $(MAKE_DEP) diff --git a/wmake/rules/linux64Gcc49/ARCHITECTURE_TESTED b/wmake/rules/linux64Gcc49/ARCHITECTURE_TESTED new file mode 100644 index 000000000..72c1dd80f --- /dev/null +++ b/wmake/rules/linux64Gcc49/ARCHITECTURE_TESTED @@ -0,0 +1,2 @@ +by bgschaid. 2010-10-06 on Centos 5.5 with gcc 4.1 + diff --git a/wmake/rules/linux64Gcc49/X b/wmake/rules/linux64Gcc49/X new file mode 100644 index 000000000..5d1f9c5cc --- /dev/null +++ b/wmake/rules/linux64Gcc49/X @@ -0,0 +1,3 @@ +XFLAGS = +XINC = $(XFLAGS) -I/usr/X11R6/include +XLIBS = -L/usr/X11R6/lib64 -lXext -lX11 diff --git a/wmake/rules/linux64Gcc49/c b/wmake/rules/linux64Gcc49/c new file mode 100644 index 000000000..f4114be31 --- /dev/null +++ b/wmake/rules/linux64Gcc49/c @@ -0,0 +1,16 @@ +.SUFFIXES: .c .h + +cWARN = -Wall + +cc = gcc -m64 + +include $(RULES)/c$(WM_COMPILE_OPTION) + +cFLAGS = $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC + +ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@ + +LINK_LIBS = $(cDBUG) + +LINKLIBSO = $(cc) -shared +LINKEXE = $(cc) -Xlinker --add-needed -Xlinker -z -Xlinker nodefs diff --git a/wmake/rules/linux64Gcc49/c++ b/wmake/rules/linux64Gcc49/c++ new file mode 100644 index 000000000..767c0162e --- /dev/null +++ b/wmake/rules/linux64Gcc49/c++ @@ -0,0 +1,21 @@ +.SUFFIXES: .C .cxx .cc .cpp + +c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor + +CC = g++ -m64 + +include $(RULES)/c++$(WM_COMPILE_OPTION) + +ptFLAGS = -DNoRepository -ftemplate-depth-200 + +c++FLAGS = $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC + +Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@ +cxxtoo = $(Ctoo) +cctoo = $(Ctoo) +cpptoo = $(Ctoo) + +LINK_LIBS = $(c++DBUG) -lrt + +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/linux64Gcc49/c++Debug b/wmake/rules/linux64Gcc49/c++Debug new file mode 100644 index 000000000..19bdb9c33 --- /dev/null +++ b/wmake/rules/linux64Gcc49/c++Debug @@ -0,0 +1,2 @@ +c++DBUG = -ggdb3 -DFULLDEBUG +c++OPT = -O0 -fdefault-inline diff --git a/wmake/rules/linux64Gcc49/c++Opt b/wmake/rules/linux64Gcc49/c++Opt new file mode 100644 index 000000000..3446f7f58 --- /dev/null +++ b/wmake/rules/linux64Gcc49/c++Opt @@ -0,0 +1,4 @@ +c++DBUG = +c++OPT = -O3 +#c++OPT = -march=nocona -O3 +# -ftree-vectorize -ftree-vectorizer-verbose=3 diff --git a/wmake/rules/linux64Gcc49/c++Prof b/wmake/rules/linux64Gcc49/c++Prof new file mode 100644 index 000000000..3bda4dad5 --- /dev/null +++ b/wmake/rules/linux64Gcc49/c++Prof @@ -0,0 +1,2 @@ +c++DBUG = -pg +c++OPT = -O2 diff --git a/wmake/rules/linux64Gcc49/cDebug b/wmake/rules/linux64Gcc49/cDebug new file mode 100644 index 000000000..72b638f45 --- /dev/null +++ b/wmake/rules/linux64Gcc49/cDebug @@ -0,0 +1,2 @@ +cDBUG = -ggdb -DFULLDEBUG +cOPT = -O1 -fdefault-inline -finline-functions diff --git a/wmake/rules/linux64Gcc49/cOpt b/wmake/rules/linux64Gcc49/cOpt new file mode 100644 index 000000000..17318709f --- /dev/null +++ b/wmake/rules/linux64Gcc49/cOpt @@ -0,0 +1,2 @@ +cDBUG = +cOPT = -O3 diff --git a/wmake/rules/linux64Gcc49/cProf b/wmake/rules/linux64Gcc49/cProf new file mode 100644 index 000000000..ca3ac9bf5 --- /dev/null +++ b/wmake/rules/linux64Gcc49/cProf @@ -0,0 +1,2 @@ +cDBUG = -pg +cOPT = -O2 diff --git a/wmake/rules/linux64Gcc49/general b/wmake/rules/linux64Gcc49/general new file mode 100644 index 000000000..78b75ba6e --- /dev/null +++ b/wmake/rules/linux64Gcc49/general @@ -0,0 +1,11 @@ +CPP = cpp -traditional-cpp +LD = ld + +PROJECT_LIBS = -l$(WM_PROJECT) -liberty -ldl + +include $(GENERAL_RULES)/standard + +include $(RULES)/X +include $(RULES)/c +include $(RULES)/c++ +include $(RULES)/nvcc diff --git a/wmake/rules/linux64Gcc49/mplib b/wmake/rules/linux64Gcc49/mplib new file mode 100644 index 000000000..294bd8615 --- /dev/null +++ b/wmake/rules/linux64Gcc49/mplib @@ -0,0 +1,3 @@ +PFLAGS = +PINC = +PLIBS = diff --git a/wmake/rules/linux64Gcc49/mplibGAMMA b/wmake/rules/linux64Gcc49/mplibGAMMA new file mode 100644 index 000000000..11606f298 --- /dev/null +++ b/wmake/rules/linux64Gcc49/mplibGAMMA @@ -0,0 +1,3 @@ +PFLAGS = +PINC = -I$(MPI_ARCH_PATH)/include +PLIBS = -L$(MPI_ARCH_PATH)/lib -lgamma diff --git a/wmake/rules/linux64Gcc49/mplibHPMPI b/wmake/rules/linux64Gcc49/mplibHPMPI new file mode 100644 index 000000000..574492a23 --- /dev/null +++ b/wmake/rules/linux64Gcc49/mplibHPMPI @@ -0,0 +1,3 @@ +PFLAGS = +PINC = -I$(MPI_ARCH_PATH)/include -D_MPICC_H +PLIBS = -L$(MPI_ARCH_PATH)/lib/linux_amd64 -lmpi diff --git a/wmake/rules/linux64Gcc49/mplibMPICH b/wmake/rules/linux64Gcc49/mplibMPICH new file mode 100644 index 000000000..ad53c8d44 --- /dev/null +++ b/wmake/rules/linux64Gcc49/mplibMPICH @@ -0,0 +1,3 @@ +PFLAGS = +PINC = -I$(MPI_ARCH_PATH)/include +PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich diff --git a/wmake/rules/linux64Gcc49/mplibMPICH-GM b/wmake/rules/linux64Gcc49/mplibMPICH-GM new file mode 100644 index 000000000..88493ebc7 --- /dev/null +++ b/wmake/rules/linux64Gcc49/mplibMPICH-GM @@ -0,0 +1,3 @@ +PFLAGS = +PINC = -I$(MPI_ARCH_PATH)/include +PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -L$(GM_LIB_PATH) -lgm diff --git a/wmake/rules/linux64Gcc49/mplibMVAPICH2 b/wmake/rules/linux64Gcc49/mplibMVAPICH2 new file mode 100644 index 000000000..e69de29bb diff --git a/wmake/rules/linux64Gcc49/mplibOPENMPI b/wmake/rules/linux64Gcc49/mplibOPENMPI new file mode 100644 index 000000000..834d2d3e2 --- /dev/null +++ b/wmake/rules/linux64Gcc49/mplibOPENMPI @@ -0,0 +1,3 @@ +PFLAGS = -DOMPI_SKIP_MPICXX +PINC = -I$(MPI_ARCH_PATH)/include +PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi diff --git a/wmake/rules/linux64Gcc49/mplibQSMPI b/wmake/rules/linux64Gcc49/mplibQSMPI new file mode 100644 index 000000000..95ea32737 --- /dev/null +++ b/wmake/rules/linux64Gcc49/mplibQSMPI @@ -0,0 +1,4 @@ +PFLAGS = +PINC = -I$(MPI_ARCH_PATH)/include +PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi + diff --git a/wmake/rules/linux64Gcc49/mplibSYSTEMOPENMPI b/wmake/rules/linux64Gcc49/mplibSYSTEMOPENMPI new file mode 100644 index 000000000..98fa814ce --- /dev/null +++ b/wmake/rules/linux64Gcc49/mplibSYSTEMOPENMPI @@ -0,0 +1 @@ +PFLAGS = -DOMPI_SKIP_MPICXX diff --git a/wmake/rules/linux64Gcc49/nvcc b/wmake/rules/linux64Gcc49/nvcc new file mode 100644 index 000000000..69ae714c5 --- /dev/null +++ b/wmake/rules/linux64Gcc49/nvcc @@ -0,0 +1,17 @@ +.SUFFIXES: .cu + +NVCC = nvcc -m64 -arch $(CUDA_ARCH) + +NVCC_ptFLAGS = -DNoRepository + +NVCC_FLAGS = $(NVCC_ptFLAGS) -Xcompiler -fPIC $(LIB_HEADER_DIRS) $(GFLAGS) $(c++OPT) $(c++DBUG) + +cutoo = $(WM_SCHEDULER) $(NVCC) $(NVCC_FLAGS) -c $$SOURCE -o $@ + +LINK_LIBS = $(c++DBUG) + +LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed +LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed + +.cu.dep: + $(MAKE_DEP)