|
[Sponsors] |
[OpenFOAM.com] Error installing OpenFoam2406 : fatal error: mpi.h: No such file or directory |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 3, 2024, 14:54 |
Error installing OpenFoam2406 : fatal error: mpi.h: No such file or directory
|
#1 |
New Member
Faraz
Join Date: Mar 2018
Posts: 25
Rep Power: 8 |
I am following the instructions here:
https://develop.openfoam.com/Develop...r/doc/Build.md I copied the ThirdParty-v2406 folder to the OpenFOAM-v2406 directory and renamed it "ThirdParty". I then run "./Allwmake -j -s -q -l". It seems to run the ThirdParty installations, but after some minutes dies with: fatal error: mpi.h: No such file or directory I also tried running "makeOPENMPI" from the ThirdParty directory. That completed ok. But still I got the same error when running " ./Allwmake -j -s -q -l " . Not sure if there are additional steps to tell Openfoam to use it? OS is RedHat 8.6 . If i try and install from yum I get: root@mymachine:~# sudo yum install openmpi-devel No match for argument: openmpi-devel Error: Unable to find a match: openmpi-devel |
|
September 5, 2024, 15:52 |
|
#2 |
New Member
Faraz
Join Date: Mar 2018
Posts: 25
Rep Power: 8 |
Think I figured it out. I first intstalled openmpi from the third party folder by running "makeOPENMPI". Next I changed the line from systenopenmpi to openmpi in this file:
https://develop.openfoam.com/Develop...406/etc/bashrc Then I resourced the etc/bashrc |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 10:07 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |