|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Join Date: Feb 2012
Posts: 59
Rep Power: 15 ![]() |
I am trying to create a reactingFoam solver with mpi. Even the head file, <mpi.h>, is included, the error takes place as follows,
reactingFoam.C:46:17: fatal error: mpi.h: No such file or directory compilation terminated. Any suggestion for this problem? |
|
|
|
|
|
|
|
|
#2 | |
|
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 52 ![]() ![]() |
Quote:
Anyway: the compiler doesn't find the mpi.h. So: check the -I-options that are there BTW: the only reason why one would want to "parallelize" reactingFoam is that you want to use it as one task in a bigger parallel-program. In that case you'll have a lot of fun as OF already calls MPI_Init and the call of the "overprogram" will lead to confusion. Correctly including headers will then be the least of your worries. |
||
|
|
|
||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A New Solver for Supersonic Combustion | nakul | OpenFOAM Announcements from Other Sources | 19 | February 27, 2024 10:44 |
| [Other] A New Solver for Supersonic Combustion | nakul | OpenFOAM Community Contributions | 20 | February 22, 2019 10:08 |
| Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
| why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 15:08 |
| parallelized equation solver | suan | Main CFD Forum | 1 | August 16, 2002 05:51 |