|
[Sponsors] |
September 10, 2015, 08:04 |
IPM Performance Monitoring Problem mpi.h
|
#1 |
Senior Member
Join Date: Jan 2014
Posts: 179
Rep Power: 12 |
Hi guys,
I compiled successfully the integrated performance monitoring tool from http://projekt17.pub.lab.nm.ifi.lmu.de/ipm/home.html. Next step I adapted the solver icoFoamIPM with following extensions: option Code:
sinclude $(GENERAL_RULES)/mplib$(WM_MPLIB) sinclude $(RULES)/mplib$(WM_MPLIB) EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude EXE_LIBS = \ -lfiniteVolume \ -lsampling \ -L$(IPM_LIBPATH) \ -lipm Code:
icoFoamIPM.C EXE = $(FOAM_USER_APPBIN)/icoFoamIPM Code:
#include "mpi.h" #include "fvCFD.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // int main(int argc, char *argv[]) { #include "setRootCase.H" #include "createTime.H" #include "createMesh.H" ...... Code:
icoFoamIPM.C:31:17: fatal error: mpi.h: No such file or directory #include "mpi.h" ^ compilation terminated. I guess this must be some linking issue, any idea? Thanks for help |
|
September 12, 2015, 14:52 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick answer: If you look at the file "src/Pstream/mpi/Make/options", you'll see the following content:
Code:
sinclude $(GENERAL_RULES)/mplib$(WM_MPLIB) sinclude $(RULES)/mplib$(WM_MPLIB) EXE_INC = $(PFLAGS) $(PINC) LIB_LIBS = $(PLIBS) Code:
sinclude $(GENERAL_RULES)/mplib$(WM_MPLIB) sinclude $(RULES)/mplib$(WM_MPLIB) EXE_INC = $(PFLAGS) $(PINC) \ -I$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude EXE_LIBS = $(PLIBS) \ -lfiniteVolume \ -lsampling \ -L$(IPM_LIBPATH) \ -lipm
__________________
|
|
September 14, 2015, 03:05 |
|
#3 |
Senior Member
Join Date: Jan 2014
Posts: 179
Rep Power: 12 |
Thanks, you are the best!
--Thread closed-- |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 06:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 19:13 |
Residual Monitoring for unsteady problem | James | FLUENT | 4 | January 23, 2004 12:36 |
extremely simple problem... can you solve it properly? | Mikhail | Main CFD Forum | 40 | September 9, 1999 09:11 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 14:52 |