From 8a985b544a11ebeb7c2cc8c41ae10e4e5cb4abb2 Mon Sep 17 00:00:00 2001 From: Martin Beaudoin Date: Sun, 10 Jun 2012 21:27:30 -0400 Subject: [PATCH] Fixes for gcc-4.5.1 --- ThirdParty/rpmBuild/SPECS/gcc-4.5.1.spec | 9 +-------- etc/settings.csh | 7 +++++++ etc/settings.sh | 7 +++++++ wmake/rules/linux64Gcc45/ARCHITECTURE_TESTED | 2 ++ wmake/rules/linux64Gcc45/X | 3 +++ wmake/rules/linux64Gcc45/c | 16 ++++++++++++++++ wmake/rules/linux64Gcc45/c++ | 21 +++++++++++++++++++++ wmake/rules/linux64Gcc45/c++Debug | 2 ++ wmake/rules/linux64Gcc45/c++Opt | 4 ++++ wmake/rules/linux64Gcc45/c++Prof | 2 ++ wmake/rules/linux64Gcc45/cDebug | 2 ++ wmake/rules/linux64Gcc45/cOpt | 2 ++ wmake/rules/linux64Gcc45/cProf | 2 ++ wmake/rules/linux64Gcc45/general | 10 ++++++++++ wmake/rules/linux64Gcc45/mplib | 3 +++ wmake/rules/linux64Gcc45/mplibGAMMA | 3 +++ wmake/rules/linux64Gcc45/mplibHPMPI | 3 +++ wmake/rules/linux64Gcc45/mplibMPICH | 3 +++ wmake/rules/linux64Gcc45/mplibMPICH-GM | 3 +++ wmake/rules/linux64Gcc45/mplibOPENMPI | 3 +++ wmake/rules/linux64Gcc45/mplibQSMPI | 4 ++++ wmake/rules/linux64Gcc45/mplibSYSTEMOPENMPI | 1 + wmake/rules/linuxGcc45/X | 3 +++ wmake/rules/linuxGcc45/c | 16 ++++++++++++++++ wmake/rules/linuxGcc45/c++ | 21 +++++++++++++++++++++ wmake/rules/linuxGcc45/c++Debug | 2 ++ wmake/rules/linuxGcc45/c++Opt | 2 ++ wmake/rules/linuxGcc45/c++Prof | 2 ++ wmake/rules/linuxGcc45/cDebug | 2 ++ wmake/rules/linuxGcc45/cOpt | 2 ++ wmake/rules/linuxGcc45/cProf | 2 ++ wmake/rules/linuxGcc45/general | 10 ++++++++++ wmake/rules/linuxGcc45/mplib | 3 +++ wmake/rules/linuxGcc45/mplibGAMMA | 3 +++ wmake/rules/linuxGcc45/mplibHPMPI | 3 +++ wmake/rules/linuxGcc45/mplibMPICH | 3 +++ wmake/rules/linuxGcc45/mplibMPICH-GM | 3 +++ wmake/rules/linuxGcc45/mplibOPENMPI | 3 +++ wmake/rules/linuxGcc45/mplibSYSTEMOPENMPI | 1 + 39 files changed, 185 insertions(+), 8 deletions(-) create mode 100644 wmake/rules/linux64Gcc45/ARCHITECTURE_TESTED create mode 100644 wmake/rules/linux64Gcc45/X create mode 100644 wmake/rules/linux64Gcc45/c create mode 100644 wmake/rules/linux64Gcc45/c++ create mode 100644 wmake/rules/linux64Gcc45/c++Debug create mode 100644 wmake/rules/linux64Gcc45/c++Opt create mode 100644 wmake/rules/linux64Gcc45/c++Prof create mode 100644 wmake/rules/linux64Gcc45/cDebug create mode 100644 wmake/rules/linux64Gcc45/cOpt create mode 100644 wmake/rules/linux64Gcc45/cProf create mode 100644 wmake/rules/linux64Gcc45/general create mode 100644 wmake/rules/linux64Gcc45/mplib create mode 100644 wmake/rules/linux64Gcc45/mplibGAMMA create mode 100644 wmake/rules/linux64Gcc45/mplibHPMPI create mode 100644 wmake/rules/linux64Gcc45/mplibMPICH create mode 100644 wmake/rules/linux64Gcc45/mplibMPICH-GM create mode 100644 wmake/rules/linux64Gcc45/mplibOPENMPI create mode 100644 wmake/rules/linux64Gcc45/mplibQSMPI create mode 100644 wmake/rules/linux64Gcc45/mplibSYSTEMOPENMPI create mode 100644 wmake/rules/linuxGcc45/X create mode 100644 wmake/rules/linuxGcc45/c create mode 100644 wmake/rules/linuxGcc45/c++ create mode 100644 wmake/rules/linuxGcc45/c++Debug create mode 100644 wmake/rules/linuxGcc45/c++Opt create mode 100644 wmake/rules/linuxGcc45/c++Prof create mode 100644 wmake/rules/linuxGcc45/cDebug create mode 100644 wmake/rules/linuxGcc45/cOpt create mode 100644 wmake/rules/linuxGcc45/cProf create mode 100644 wmake/rules/linuxGcc45/general create mode 100644 wmake/rules/linuxGcc45/mplib create mode 100644 wmake/rules/linuxGcc45/mplibGAMMA create mode 100644 wmake/rules/linuxGcc45/mplibHPMPI create mode 100644 wmake/rules/linuxGcc45/mplibMPICH create mode 100644 wmake/rules/linuxGcc45/mplibMPICH-GM create mode 100644 wmake/rules/linuxGcc45/mplibOPENMPI create mode 100644 wmake/rules/linuxGcc45/mplibSYSTEMOPENMPI diff --git a/ThirdParty/rpmBuild/SPECS/gcc-4.5.1.spec b/ThirdParty/rpmBuild/SPECS/gcc-4.5.1.spec index 88dd5fab..89e94609 100644 --- a/ThirdParty/rpmBuild/SPECS/gcc-4.5.1.spec +++ b/ThirdParty/rpmBuild/SPECS/gcc-4.5.1.spec @@ -166,12 +166,5 @@ rm -rf %{buildroot} %files %defattr(-,root,root) -%{_installPrefix}/bin -%{_installPrefix}/etc -%{_installPrefix}/include -%{_installPrefix}/info -%{_installPrefix}/lib -%{_installPrefix}/libexec -%{_installPrefix}/man -%{_installPrefix}/share +%{_installPrefix} diff --git a/etc/settings.csh b/etc/settings.csh index ba8c7658..ddca7e38 100644 --- a/etc/settings.csh +++ b/etc/settings.csh @@ -101,6 +101,13 @@ case OpenFOAM: _foamAddLib $WM_THIRD_PARTY_DIR/mpfr-2.4.1/platforms/$WM_ARCH$WM_COMPILER_ARCH/lib _foamAddLib $WM_THIRD_PARTY_DIR/gmp-4.2.4/platforms/$WM_ARCH$WM_COMPILER_ARCH/lib breaksw + case Gcc45: + setenv WM_COMPILER_DIR $WM_THIRD_PARTY_DIR/packages/gcc-4.5.1/platforms/$WM_OPTIONS + _foamSource $WM_THIRD_PARTY_DIR/packages/gmp-5.0.1/platforms/$WM_OPTIONS/etc/gmp-5.0.1.csh + _foamSource $WM_THIRD_PARTY_DIR/packages/mpfr-3.0.1/platforms/$WM_OPTIONS/etc/mpfr-3.0.1.csh + _foamSource $WM_THIRD_PARTY_DIR/packages/mpc-0.8.2/platforms/$WM_OPTIONS/etc/mpc-0.8.2.csh + _foamSource $WM_THIRD_PARTY_DIR/packages/gcc-4.5.1/platforms/$WM_OPTIONS/etc/gcc-4.5.1.csh + breaksw case Gcc44: _foamSource $WM_THIRD_PARTY_DIR/packages/mpfr-3.0.1/platforms/$WM_OPTIONS/etc/mpfr-3.0.1.csh _foamSource $WM_THIRD_PARTY_DIR/packages/gmp-5.0.1/platforms/$WM_OPTIONS/etc/gmp-5.0.1.csh diff --git a/etc/settings.sh b/etc/settings.sh index fc5f579f..e7a52ea0 100644 --- a/etc/settings.sh +++ b/etc/settings.sh @@ -136,6 +136,13 @@ OpenFOAM) _foamAddLib $WM_THIRD_PARTY_DIR/mpfr-2.4.1/platforms/$WM_ARCH$WM_COMPILER_ARCH/lib _foamAddLib $WM_THIRD_PARTY_DIR/gmp-4.2.4/platforms/$WM_ARCH$WM_COMPILER_ARCH/lib ;; + Gcc45) + export WM_COMPILER_DIR=$WM_THIRD_PARTY_DIR/packages/gcc-4.5.1/platforms/$WM_OPTIONS + _foamSource $WM_THIRD_PARTY_DIR/packages/gmp-5.0.1/platforms/$WM_OPTIONS/etc/gmp-5.0.1.sh + _foamSource $WM_THIRD_PARTY_DIR/packages/mpfr-3.0.1/platforms/$WM_OPTIONS/etc/mpfr-3.0.1.sh + _foamSource $WM_THIRD_PARTY_DIR/packages/mpc-0.8.2/platforms/$WM_OPTIONS/etc/mpc-0.8.2.sh + _foamSource $WM_THIRD_PARTY_DIR/packages/gcc-4.5.1/platforms/$WM_OPTIONS/etc/gcc-4.5.1.sh + ;; Gcc44) _foamSource $WM_THIRD_PARTY_DIR/packages/mpfr-3.0.1/platforms/$WM_OPTIONS/etc/mpfr-3.0.1.sh _foamSource $WM_THIRD_PARTY_DIR/packages/gmp-5.0.1/platforms/$WM_OPTIONS/etc/gmp-5.0.1.sh diff --git a/wmake/rules/linux64Gcc45/ARCHITECTURE_TESTED b/wmake/rules/linux64Gcc45/ARCHITECTURE_TESTED new file mode 100644 index 00000000..72c1dd80 --- /dev/null +++ b/wmake/rules/linux64Gcc45/ARCHITECTURE_TESTED @@ -0,0 +1,2 @@ +by bgschaid. 2010-10-06 on Centos 5.5 with gcc 4.1 + diff --git a/wmake/rules/linux64Gcc45/X b/wmake/rules/linux64Gcc45/X new file mode 100644 index 00000000..5d1f9c5c --- /dev/null +++ b/wmake/rules/linux64Gcc45/X @@ -0,0 +1,3 @@ +XFLAGS = +XINC = $(XFLAGS) -I/usr/X11R6/include +XLIBS = -L/usr/X11R6/lib64 -lXext -lX11 diff --git a/wmake/rules/linux64Gcc45/c b/wmake/rules/linux64Gcc45/c new file mode 100644 index 00000000..f4114be3 --- /dev/null +++ b/wmake/rules/linux64Gcc45/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/linux64Gcc45/c++ b/wmake/rules/linux64Gcc45/c++ new file mode 100644 index 00000000..72ba3bf1 --- /dev/null +++ b/wmake/rules/linux64Gcc45/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-40 + +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) + +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/linux64Gcc45/c++Debug b/wmake/rules/linux64Gcc45/c++Debug new file mode 100644 index 00000000..19bdb9c3 --- /dev/null +++ b/wmake/rules/linux64Gcc45/c++Debug @@ -0,0 +1,2 @@ +c++DBUG = -ggdb3 -DFULLDEBUG +c++OPT = -O0 -fdefault-inline diff --git a/wmake/rules/linux64Gcc45/c++Opt b/wmake/rules/linux64Gcc45/c++Opt new file mode 100644 index 00000000..3446f7f5 --- /dev/null +++ b/wmake/rules/linux64Gcc45/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/linux64Gcc45/c++Prof b/wmake/rules/linux64Gcc45/c++Prof new file mode 100644 index 00000000..3bda4dad --- /dev/null +++ b/wmake/rules/linux64Gcc45/c++Prof @@ -0,0 +1,2 @@ +c++DBUG = -pg +c++OPT = -O2 diff --git a/wmake/rules/linux64Gcc45/cDebug b/wmake/rules/linux64Gcc45/cDebug new file mode 100644 index 00000000..72b638f4 --- /dev/null +++ b/wmake/rules/linux64Gcc45/cDebug @@ -0,0 +1,2 @@ +cDBUG = -ggdb -DFULLDEBUG +cOPT = -O1 -fdefault-inline -finline-functions diff --git a/wmake/rules/linux64Gcc45/cOpt b/wmake/rules/linux64Gcc45/cOpt new file mode 100644 index 00000000..a8b06354 --- /dev/null +++ b/wmake/rules/linux64Gcc45/cOpt @@ -0,0 +1,2 @@ +cDBUG = +cOPT = -O3 diff --git a/wmake/rules/linux64Gcc45/cProf b/wmake/rules/linux64Gcc45/cProf new file mode 100644 index 00000000..ca3ac9bf --- /dev/null +++ b/wmake/rules/linux64Gcc45/cProf @@ -0,0 +1,2 @@ +cDBUG = -pg +cOPT = -O2 diff --git a/wmake/rules/linux64Gcc45/general b/wmake/rules/linux64Gcc45/general new file mode 100644 index 00000000..740c6a58 --- /dev/null +++ b/wmake/rules/linux64Gcc45/general @@ -0,0 +1,10 @@ +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++ diff --git a/wmake/rules/linux64Gcc45/mplib b/wmake/rules/linux64Gcc45/mplib new file mode 100644 index 00000000..8a84b401 --- /dev/null +++ b/wmake/rules/linux64Gcc45/mplib @@ -0,0 +1,3 @@ +PFLAGS = +PINC = +PLIBS = diff --git a/wmake/rules/linux64Gcc45/mplibGAMMA b/wmake/rules/linux64Gcc45/mplibGAMMA new file mode 100644 index 00000000..d62c6250 --- /dev/null +++ b/wmake/rules/linux64Gcc45/mplibGAMMA @@ -0,0 +1,3 @@ +PFLAGS = +PINC = -I$(MPI_ARCH_PATH)/include +PLIBS = -L$(MPI_ARCH_PATH)/lib -lgamma diff --git a/wmake/rules/linux64Gcc45/mplibHPMPI b/wmake/rules/linux64Gcc45/mplibHPMPI new file mode 100644 index 00000000..574492a2 --- /dev/null +++ b/wmake/rules/linux64Gcc45/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/linux64Gcc45/mplibMPICH b/wmake/rules/linux64Gcc45/mplibMPICH new file mode 100644 index 00000000..ac17f7c1 --- /dev/null +++ b/wmake/rules/linux64Gcc45/mplibMPICH @@ -0,0 +1,3 @@ +PFLAGS = +PINC = -I$(MPI_ARCH_PATH)/include +PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -lrt diff --git a/wmake/rules/linux64Gcc45/mplibMPICH-GM b/wmake/rules/linux64Gcc45/mplibMPICH-GM new file mode 100644 index 00000000..88493ebc --- /dev/null +++ b/wmake/rules/linux64Gcc45/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/linux64Gcc45/mplibOPENMPI b/wmake/rules/linux64Gcc45/mplibOPENMPI new file mode 100644 index 00000000..834d2d3e --- /dev/null +++ b/wmake/rules/linux64Gcc45/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/linux64Gcc45/mplibQSMPI b/wmake/rules/linux64Gcc45/mplibQSMPI new file mode 100644 index 00000000..95ea3273 --- /dev/null +++ b/wmake/rules/linux64Gcc45/mplibQSMPI @@ -0,0 +1,4 @@ +PFLAGS = +PINC = -I$(MPI_ARCH_PATH)/include +PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi + diff --git a/wmake/rules/linux64Gcc45/mplibSYSTEMOPENMPI b/wmake/rules/linux64Gcc45/mplibSYSTEMOPENMPI new file mode 100644 index 00000000..98fa814c --- /dev/null +++ b/wmake/rules/linux64Gcc45/mplibSYSTEMOPENMPI @@ -0,0 +1 @@ +PFLAGS = -DOMPI_SKIP_MPICXX diff --git a/wmake/rules/linuxGcc45/X b/wmake/rules/linuxGcc45/X new file mode 100644 index 00000000..bed8bfed --- /dev/null +++ b/wmake/rules/linuxGcc45/X @@ -0,0 +1,3 @@ +XFLAGS = +XINC = $(XFLAGS) -I/usr/X11R6/include +XLIBS = -L/usr/X11R6/lib -lXext -lX11 diff --git a/wmake/rules/linuxGcc45/c b/wmake/rules/linuxGcc45/c new file mode 100644 index 00000000..d914fcd3 --- /dev/null +++ b/wmake/rules/linuxGcc45/c @@ -0,0 +1,16 @@ +.SUFFIXES: .c .h + +cWARN = -Wall + +cc = gcc -m32 + +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/linuxGcc45/c++ b/wmake/rules/linuxGcc45/c++ new file mode 100644 index 00000000..2f19f3a3 --- /dev/null +++ b/wmake/rules/linuxGcc45/c++ @@ -0,0 +1,21 @@ +.SUFFIXES: .C .cxx .cc .cpp + +c++WARN = -Wall -Wextra -Wno-unused-parameter -Wold-style-cast + +CC = g++ -m32 + +include $(RULES)/c++$(WM_COMPILE_OPTION) + +ptFLAGS = -DNoRepository -ftemplate-depth-40 + +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) + +LINKLIBSO = $(CC) $(c++FLAGS) -shared -Xlinker --add-needed -Xlinker --no-as-needed +LINKEXE = $(CC) $(c++FLAGS) -Xlinker --add-needed -Xlinker --no-as-needed \ No newline at end of file diff --git a/wmake/rules/linuxGcc45/c++Debug b/wmake/rules/linuxGcc45/c++Debug new file mode 100644 index 00000000..19bdb9c3 --- /dev/null +++ b/wmake/rules/linuxGcc45/c++Debug @@ -0,0 +1,2 @@ +c++DBUG = -ggdb3 -DFULLDEBUG +c++OPT = -O0 -fdefault-inline diff --git a/wmake/rules/linuxGcc45/c++Opt b/wmake/rules/linuxGcc45/c++Opt new file mode 100644 index 00000000..4cb95b5b --- /dev/null +++ b/wmake/rules/linuxGcc45/c++Opt @@ -0,0 +1,2 @@ +c++DBUG = +c++OPT = -O3 diff --git a/wmake/rules/linuxGcc45/c++Prof b/wmake/rules/linuxGcc45/c++Prof new file mode 100644 index 00000000..3bda4dad --- /dev/null +++ b/wmake/rules/linuxGcc45/c++Prof @@ -0,0 +1,2 @@ +c++DBUG = -pg +c++OPT = -O2 diff --git a/wmake/rules/linuxGcc45/cDebug b/wmake/rules/linuxGcc45/cDebug new file mode 100644 index 00000000..72b638f4 --- /dev/null +++ b/wmake/rules/linuxGcc45/cDebug @@ -0,0 +1,2 @@ +cDBUG = -ggdb -DFULLDEBUG +cOPT = -O1 -fdefault-inline -finline-functions diff --git a/wmake/rules/linuxGcc45/cOpt b/wmake/rules/linuxGcc45/cOpt new file mode 100644 index 00000000..a8b06354 --- /dev/null +++ b/wmake/rules/linuxGcc45/cOpt @@ -0,0 +1,2 @@ +cDBUG = +cOPT = -O3 diff --git a/wmake/rules/linuxGcc45/cProf b/wmake/rules/linuxGcc45/cProf new file mode 100644 index 00000000..ca3ac9bf --- /dev/null +++ b/wmake/rules/linuxGcc45/cProf @@ -0,0 +1,2 @@ +cDBUG = -pg +cOPT = -O2 diff --git a/wmake/rules/linuxGcc45/general b/wmake/rules/linuxGcc45/general new file mode 100644 index 00000000..886bf674 --- /dev/null +++ b/wmake/rules/linuxGcc45/general @@ -0,0 +1,10 @@ +CPP = cpp -traditional-cpp +LD = ld -melf_i386 + +PROJECT_LIBS = -l$(WM_PROJECT) -ldl + +include $(GENERAL_RULES)/standard + +include $(RULES)/X +include $(RULES)/c +include $(RULES)/c++ diff --git a/wmake/rules/linuxGcc45/mplib b/wmake/rules/linuxGcc45/mplib new file mode 100644 index 00000000..8a84b401 --- /dev/null +++ b/wmake/rules/linuxGcc45/mplib @@ -0,0 +1,3 @@ +PFLAGS = +PINC = +PLIBS = diff --git a/wmake/rules/linuxGcc45/mplibGAMMA b/wmake/rules/linuxGcc45/mplibGAMMA new file mode 100644 index 00000000..d62c6250 --- /dev/null +++ b/wmake/rules/linuxGcc45/mplibGAMMA @@ -0,0 +1,3 @@ +PFLAGS = +PINC = -I$(MPI_ARCH_PATH)/include +PLIBS = -L$(MPI_ARCH_PATH)/lib -lgamma diff --git a/wmake/rules/linuxGcc45/mplibHPMPI b/wmake/rules/linuxGcc45/mplibHPMPI new file mode 100644 index 00000000..8aff4063 --- /dev/null +++ b/wmake/rules/linuxGcc45/mplibHPMPI @@ -0,0 +1,3 @@ +PFLAGS = +PINC = -I$(MPI_ARCH_PATH)/include -D_MPICC_H +PLIBS = -L$(MPI_ARCH_PATH)/lib/linux_ia32 -lmpi diff --git a/wmake/rules/linuxGcc45/mplibMPICH b/wmake/rules/linuxGcc45/mplibMPICH new file mode 100644 index 00000000..e5a38a8e --- /dev/null +++ b/wmake/rules/linuxGcc45/mplibMPICH @@ -0,0 +1,3 @@ +PFLAGS = -DMPICH_SKIP_MPICXX +PINC = -I$(MPI_ARCH_PATH)/include +PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -lrt diff --git a/wmake/rules/linuxGcc45/mplibMPICH-GM b/wmake/rules/linuxGcc45/mplibMPICH-GM new file mode 100644 index 00000000..88493ebc --- /dev/null +++ b/wmake/rules/linuxGcc45/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/linuxGcc45/mplibOPENMPI b/wmake/rules/linuxGcc45/mplibOPENMPI new file mode 100644 index 00000000..834d2d3e --- /dev/null +++ b/wmake/rules/linuxGcc45/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/linuxGcc45/mplibSYSTEMOPENMPI b/wmake/rules/linuxGcc45/mplibSYSTEMOPENMPI new file mode 100644 index 00000000..98fa814c --- /dev/null +++ b/wmake/rules/linuxGcc45/mplibSYSTEMOPENMPI @@ -0,0 +1 @@ +PFLAGS = -DOMPI_SKIP_MPICXX -- 2.11.4.GIT