MPI: suppress mpich2 unused parameter warnings
parent
f630abf813
commit
0735f97eac
16
openEMS.pro
16
openEMS.pro
|
@ -153,6 +153,13 @@ 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
|
||||||
|
@ -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