hdf5 parallel needs mpi include and libs

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
pull/1/head
Thorsten Liebig 2012-11-13 09:38:23 +01:00
parent f11b98ecf4
commit 258590bd1a
2 changed files with 10 additions and 4 deletions

View File

@ -28,8 +28,11 @@ win32 {
} }
!win32 { !win32 {
LIBS += -lboost_thread-mt LIBS += -lboost_thread-mt
LIBS += -lhdf5
LIBS += -ltinyxml LIBS += -ltinyxml
# hdf5 (and mpi for parallel hdf5)
LIBS += -lhdf5_hl -lhdf5
LIBS += -lmpi -lmpi_cxx
INCLUDEPATH += /usr/include/mpi
} }
# hdf5 compat # hdf5 compat

View File

@ -9,7 +9,6 @@ OBJECTS_DIR = obj
INCLUDEPATH += . INCLUDEPATH += .
CONFIG += debug_and_release CONFIG += debug_and_release
# #
# VERSION # VERSION
# #
@ -63,10 +62,14 @@ win32 {
LIBS += -ltinyxml LIBS += -ltinyxml
DEFINES += TIXML_USE_STL DEFINES += TIXML_USE_STL
LIBS += -lboost_thread-mt LIBS += -lboost_thread-mt
LIBS += -lhdf5 LIBS += -llapack
# hdf5 (and mpi for parallel hdf5)
LIBS += -lhdf5_hl -lhdf5
LIBS += -lmpi -lmpi_cxx
INCLUDEPATH += /usr/include/mpi
# CSXCAD # CSXCAD
INCLUDEPATH += ../CSXCAD INCLUDEPATH += ../CSXCAD
LIBS += -L../CSXCAD -lCSXCAD LIBS += -L../CSXCAD -lCSXCAD
### vtk ### ### vtk ###
INCLUDEPATH += /usr/include/vtk-5.2 \ INCLUDEPATH += /usr/include/vtk-5.2 \
/usr/include/vtk-5.4 \ /usr/include/vtk-5.4 \