CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] Error installing OpenFoam2406 : fatal error: mpi.h: No such file or directory

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 3, 2024, 13:54
Default 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
feacluster is on a distinguished road
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
feacluster is offline   Reply With Quote

Old   September 5, 2024, 14:52
Default
  #2
New Member
 
Faraz
Join Date: Mar 2018
Posts: 25
Rep Power: 8
feacluster is on a distinguished road
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
feacluster is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 09:07
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16


All times are GMT -4. The time now is 15:26.