MPI: suppress mpich2 unused parameter warnings
parent
f630abf813
commit
0735f97eac
18
openEMS.pro
18
openEMS.pro
|
@ -153,8 +153,15 @@ HEADERS += Common/operator_base.h \
|
||||||
Common/processfieldprobe.h \
|
Common/processfieldprobe.h \
|
||||||
Common/processfields_sar.h
|
Common/processfields_sar.h
|
||||||
|
|
||||||
|
QMAKE_CXXFLAGS_RELEASE = -O3 \
|
||||||
|
-g \
|
||||||
|
-march=native
|
||||||
|
QMAKE_CXXFLAGS_DEBUG = -O0 \
|
||||||
|
-g \
|
||||||
|
-march=native
|
||||||
|
|
||||||
MPI_SUPPORT {
|
MPI_SUPPORT {
|
||||||
DEFINES += MPI_SUPPORT
|
DEFINES += MPI_SUPPORT
|
||||||
INCLUDEPATH += /usr/include/mpi
|
INCLUDEPATH += /usr/include/mpi
|
||||||
LIBS += -lmpi -lmpi++
|
LIBS += -lmpi -lmpi++
|
||||||
HEADERS += FDTD/operator_mpi.h \
|
HEADERS += FDTD/operator_mpi.h \
|
||||||
|
@ -163,14 +170,9 @@ MPI_SUPPORT {
|
||||||
SOURCES += FDTD/operator_mpi.cpp \
|
SOURCES += FDTD/operator_mpi.cpp \
|
||||||
FDTD/engine_mpi.cpp \
|
FDTD/engine_mpi.cpp \
|
||||||
FDTD/openems_fdtd_mpi.cpp
|
FDTD/openems_fdtd_mpi.cpp
|
||||||
}
|
|
||||||
|
|
||||||
QMAKE_CXXFLAGS_RELEASE = -O3 \
|
QMAKE_CXXFLAGS_RELEASE += -Wno-unused-parameter #needed because mpich2 produces tons of unused parameter
|
||||||
-g \
|
}
|
||||||
-march=native
|
|
||||||
QMAKE_CXXFLAGS_DEBUG = -O0 \
|
|
||||||
-g \
|
|
||||||
-march=native
|
|
||||||
|
|
||||||
# add git revision
|
# add git revision
|
||||||
QMAKE_CXXFLAGS += -DGIT_VERSION=\\\"`git describe --tags`\\\"
|
QMAKE_CXXFLAGS += -DGIT_VERSION=\\\"`git describe --tags`\\\"
|
||||||
|
|
Loading…
Reference in New Issue