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

[OpenFOAM.com] ThirdParty Build errors

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 7, 2020, 05:54
Unhappy ThirdParty Build errors
  #1
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 https://develop.openfoam.com/Develop...p/doc/Build.md
But when I moved to ThirdParty according to https://develop.openfoam.com/Develop...velop/BUILD.md, it went complex:
_ first,
Code:
 ./makeFFTW -help
showed
Code:
 Error (makeFFTW) : not located in $WM_THIRD_PARTY_DIR
      Check your OpenFOAM environment and installation
_then,
Code:
 which mpicc
lead to
Code:
 /usr/bin/which: no mpicc in (/home/username/simFlow/simFlow-4.0:
/home/username/simFlow/simFlow-4.0:
/home/username/anaconda3/bin:
/home/username/anaconda3/condabin:
/home/username/.local/bin:
/home/username/bin:
/usr/lib64/ccache:
/usr/local/bin:
/usr/bin:
/bin:
/usr/local/sbin:
/usr/sbin:
/usr/lib64/mpi/gcc/openmpi/bin:
/home/username/basilisk/src:
/usr/lib64/mpi/gcc/openmpi/bin:
/home/username/basilisk/src)
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/config.sh/...", I tried to look at them but seeing nothing to adjust.
_these commands "./makeGcc" "./makeLLVM" "./makeCMake" all lead to
Code:
 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

Reply

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.