From 258590bd1a49f15b245b124cc8b96d9833dc9352 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Tue, 13 Nov 2012 09:38:23 +0100 Subject: [PATCH] hdf5 parallel needs mpi include and libs Signed-off-by: Thorsten Liebig --- nf2ff/nf2ff.pro | 5 ++++- openEMS.pro | 9 ++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/nf2ff/nf2ff.pro b/nf2ff/nf2ff.pro index 9d99f62..f873f6c 100644 --- a/nf2ff/nf2ff.pro +++ b/nf2ff/nf2ff.pro @@ -28,8 +28,11 @@ win32 { } !win32 { LIBS += -lboost_thread-mt - LIBS += -lhdf5 LIBS += -ltinyxml + # hdf5 (and mpi for parallel hdf5) + LIBS += -lhdf5_hl -lhdf5 + LIBS += -lmpi -lmpi_cxx + INCLUDEPATH += /usr/include/mpi } # hdf5 compat diff --git a/openEMS.pro b/openEMS.pro index e4020f2..e746718 100644 --- a/openEMS.pro +++ b/openEMS.pro @@ -9,7 +9,6 @@ OBJECTS_DIR = obj INCLUDEPATH += . CONFIG += debug_and_release - # # VERSION # @@ -63,10 +62,14 @@ win32 { LIBS += -ltinyxml DEFINES += TIXML_USE_STL 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 INCLUDEPATH += ../CSXCAD - LIBS += -L../CSXCAD -lCSXCAD + LIBS += -L../CSXCAD -lCSXCAD ### vtk ### INCLUDEPATH += /usr/include/vtk-5.2 \ /usr/include/vtk-5.4 \