|
[Sponsors] |
August 7, 2020, 06:54 |
ThirdParty Build errors
|
#1 |
New Member
Pham Tran Quang Huy
Join Date: May 2020
Location: Viet Nam
Posts: 1
Rep Power: 0 |
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 Code:
Error (makeFFTW) : not located in $WM_THIRD_PARTY_DIR Check your OpenFOAM environment and installation Code:
which mpicc 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) _ 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 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 06:55. Reason: insert using OS |
|
|
|
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 | 686 | December 22, 2022 10:10 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |
AMI interDyMFoam for mixer nu problem | danny123 | OpenFOAM Programming & Development | 8 | September 6, 2013 03:34 |
same geometry,structured and unstructured mesh,different behaviour. | sharonyue | OpenFOAM Running, Solving & CFD | 13 | January 2, 2013 23:40 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 15:09 |