CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[] ThirdParty Build errors

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2020, 05:54
Unhappy ThirdParty Build errors
New Member
Pham Tran Quang Huy
Join Date: May 2020
Location: Viet Nam
Posts: 1
Rep Power: 0
ptqhuy is on a distinguished road
Hello there,
Yesterday I finished compiling OpenFOAM+ v2006, and I'm sure I did successfully as the "post-compilation steps" went smoothly, follow this instructions
But when I moved to ThirdParty according to, it went complex:
_ first,
 ./makeFFTW -help
 Error (makeFFTW) : not located in $WM_THIRD_PARTY_DIR
      Check your OpenFOAM environment and installation
 which mpicc
lead to
 /usr/bin/which: no mpicc in (/home/username/simFlow/simFlow-4.0:
I have no clue why this happened because I installed openmpi peacefully. (This alert was a straight line, I splitted them to rows for easy to see)

_ for "Adjust the etc/bashrc, etc/", I tried to look at them but seeing nothing to adjust.
_these commands "./makeGcc" "./makeLLVM" "./makeCMake" all lead to
 Error (command_name) : not located in $WM_THIRD_PARTY_DIR
     Check your OpenFOAM environment and installation
_finally "./Allmake" command also has the same result.
So I think the problem is something in "not located in $WM_THIRD_PARTY_DIR
Check your OpenFOAM environment and installation"

but I don't have a clue to solve it, I tried to find $WM_THIRD_PARTY_DIR in /OpenFOAM/OpenFOAM-v2006/etc/bashrc and some files recommended as above but seeing no where to change the value.
Before asking there, I have re-compiled the whole program because I thought the problem is changing directory (I compiled OF in a dir, then moved them to another dir, it still run "post-compilation steps" smoothly so that's not the reason). Now the problem is stand still, I have to change some values, I guess.
//ehh, by the way, I find the ThirdParty guide is not as explicit as the Main guide.
I use Fedora 32 if that helps.

Last edited by ptqhuy; August 7, 2020 at 05:55. Reason: insert using OS
ptqhuy is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[solidMechanics] Support thread for "Solid Mechanics Solvers added to OpenFOAM Extend" bigphil OpenFOAM CC Toolkits for Fluid-Structure Interaction 567 Today 13:28
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 13:58
AMI interDyMFoam for mixer nu problem danny123 OpenFOAM Programming & Development 8 September 6, 2013 02:34
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 22:40
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 14:09

All times are GMT -4. The time now is 13:32.