|
[Sponsors] |
[OpenFOAM.org] OpenFOAM with MPICH fatal error: mpi.h: No such file or directory |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 9, 2020, 07:23 |
OpenFOAM with MPICH fatal error: mpi.h: No such file or directory
|
#1 |
New Member
Ariful Islam Pranto
Join Date: Jul 2020
Posts: 12
Rep Power: 5 |
I am trying to build OpenFOAM from source with MPICH-3.3.2 but got
Code:
g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I -IlnInclude -I. -I/home/pranto/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/pranto/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude -fPIC -c PstreamGlobals.C -o /home/pranto/OpenFOAM-dev/platforms/linux64GccDPInt32OptSYSTEMMPI/src/Pstream/mpi/PstreamGlobals.o UPstream.C:30:17: fatal error: mpi.h: No such file or directory compilation terminated. /home/pranto/OpenFOAM-dev/wmake/rules/General/transform:25: recipe for target '/home/pranto/OpenFOAM-dev/platforms/linux64GccDPInt32OptSYSTEMMPI/src/Pstream/mpi/UPstream.o' failed make[4]: *** [/home/pranto/OpenFOAM-dev/platforms/linux64GccDPInt32OptSYSTEMMPI/src/Pstream/mpi/UPstream.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from PstreamGlobals.C:26:0: PstreamGlobals.H:41:17: fatal error: mpi.h: No such file or directory compilation terminated. In file included from UIPread.C:30:0: PstreamGlobals.H:41:17: fatal error: mpi.h: No such file or directory compilation terminated. Code:
export WM_MPLIB=SYSTEMMPI What are the additional settings I have to consider to build OpenFOAM with MPICH-3.3.2? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using PengRobinsonGas EoS with sprayFoam | Jabo | OpenFOAM Running, Solving & CFD | 35 | April 29, 2022 15:35 |
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 | towanda | OpenFOAM Community Contributions | 6 | September 5, 2015 21:03 |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 17:18 |
critical error during installation of openfoam | Fabio88 | OpenFOAM Installation | 21 | June 2, 2010 03:01 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 15:16 |