v6: Problems installing paraFoam
Hi
I have to install OpenFoam on Centos 7.5 (no don't ask!) and following issues with the graphics I have moved to building from source. I'm using openfoam-6 The actual openfoam is okay but issues with installing openFoam I have a work around at the bottom but was wondering if anyone has the same issue. Installing paraView /paraFoam As per notes https://openfoam.org/download/source...arty-software/ Code:
[paulj@pjux3 ThirdParty-6]$ ./makeParaView Code:
... Code:
[paulj@pjux3 ThirdParty-6]$ ./makeParaView -qmake $(which qmake-qt4) > log.makePV 2>&1 Code:
-------------- As a consequence Code:
[paulj@pjux3 cavity]$ paraFoam Code:
[paulj@pjux3 PVReaders]$ ./Allwmake Code:
[paulj@pjux3 ~]$ ls /home/paulj/OpenFOAM/ThirdParty-6/platforms/ I copied the paraFoam from my Ubuntu box and initially got: Code:
[paulj@pjux3 cavity]$ ~/paraFoam & Code:
[paulj@pjux3 cavity]$ ~/paraFoam -builtin |
Quote:
With "paraFoam -builtin" you are really only doing this: Code:
touch case.foam |
Quick request @paulj: Any chance you can attach the complete log file (zipped, so it can be attached) to your next post?
I ask this because I have built OpenFOAM 6 and ParaView 5.4 on CentOS 7.5 without problems, as detailed here: https://openfoamwiki.net/index.php/I...7.5_.281804.29 |
Attachment as requested
1 Attachment(s)
Here it is
|
Quick answer: I knew this was really strange, given that I had managed to build without problems on CentOS 7.5...
So what I found from the log file you've shared is that CMake 3.11 or newer is being used, instead of CMake 2.8.12. Allow me to explain:
My guess is that you've somehow installed CMake 3.12 from EPEL and then enforced /usr/bin/cmake to be the same as /usr/bin/cmake3, either through a symbolic link or something else. Perhaps it's the RPM itself that did this. But unfortunately, this is what broke the build. There are two possible workarounds:
|
Version of cmake
Hi
I did this because initially I got Code:
[paulj@pjux3 ThirdParty-6]$ ./makeParaView |
Quick answer: My apologies, I should have read my own instructions on the wiki more carefully :(
I had left in the system's "cmake" in the instructions, but after that, there are steps on how to compile CMake 3.9.0 from source code. Please try the following commands, after activating the OpenFOAM shell environment: Code:
cd $WM_THIRD_PARTY_DIR |
Result
Working fine now!:)
|
All times are GMT -4. The time now is 11:22. |