|
[Sponsors] |
July 4, 2018, 10:05 |
cmake: command not found
|
#1 |
New Member
Join Date: Jul 2018
Posts: 3
Rep Power: 7 |
Hello Everyone,
I'm trying to install OpenFoam-5.0 and ThirdParty-5.0 on Centos 7.5 x86_64. I'm trying to follow this guide -> https://openfoamwiki.net/index.php/I...CentOS_SL_RHEL 2.2 CentOS 7.4 (1708), after step 8 when I try to do step 9 it gives error about cmake; ./makeCGAL: line 274: cmake: command not found when I try to do step 8 again it gives this output; $ ./makeCmake --------------- Already built: cmake-3.9.0 how to break this paradox? |
|
July 4, 2018, 16:20 |
|
#2 |
Member
Fatih Ertinaz
Join Date: Feb 2011
Location: Istanbul
Posts: 64
Rep Power: 15 |
Did you refresh your bash environment by
Code:
wmRefresh |
|
July 5, 2018, 01:15 |
|
#3 |
New Member
Join Date: Jul 2018
Posts: 3
Rep Power: 7 |
that does not change anything
|
|
July 5, 2018, 03:28 |
|
#4 |
Member
Fatih Ertinaz
Join Date: Feb 2011
Location: Istanbul
Posts: 64
Rep Power: 15 |
Try appending cmake/bin folder to your $PATH manually then. But this is weird.
|
|
July 5, 2018, 07:59 |
|
#5 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40 |
Quote:
See what "makeCGAL -help" tells you, perhaps it has a -cmake option too. In the 1712, 1806 versions (maybe earlier too) this will also examine the platforms/ directories when trying to resolve a particular cmake version. /mark |
||
July 5, 2018, 09:43 |
|
#6 | |
New Member
Join Date: Jul 2018
Posts: 3
Rep Power: 7 |
Quote:
Code:
== Detect external libraries == -- External libraries supported: GMP;GMPXX;MPFR;ZLIB;OpenGL;LEDA;MPFI;RS;RS3;OpenNL;Eigen3;BLAS;LAPACK;QGLViewer;ESBTL;Coin3D;NTL;IPE -- Preconfiguring library: GMP ... -- Could NOT find GMP (missing: GMP_LIBRARIES GMP_INCLUDE_DIR) CMake Error at cmake/modules/CGAL_SetupDependencies.cmake:66 (message): CGAL requires GMP to be found Call Stack (most recent call first): CMakeLists.txt:681 (include) -- Configuring incomplete, errors occurred! See also "/home/aero/OpenFOAM/ThirdParty-5.0/build/linux64Gcc/CGAL-4.10/CMakeFiles/CMakeOutput.log". + exit 1 makeCGAL -help does not help because it doesn't exist and I think makeCGAL step is missing in Centos 7.4 guide |
||
August 17, 2018, 16:02 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
I'm late to this, but the problem with CMake is that OpenFOAM 5.0 had a bug in the file "etc/config.sh/paraview", which was reported here: https://bugs.openfoam.org/view.php?id=2648 This is also why I wrote the instructions at openfoamwiki to use 5.x instead of 5.0 If this is still a problem, then download this file https://github.com/OpenFOAM/OpenFOAM...ig.sh/paraview and replace the one at ... bah, here is the commands that do this for you: Code:
mv $WM_PROJECT_DIR/etc/config.sh/paraview $WM_PROJECT_DIR/etc/config.sh/paraview.50 wget https://raw.githubusercontent.com/OpenFOAM/OpenFOAM-5.x/master/etc/config.sh/paraview -O $WM_PROJECT_DIR/etc/config.sh/paraview wmRefresh As for the problem with CGAL, my guess is that it could be because the packages "mpfr-devel gmp-devel" were not installed or because the wrong CMake version was being used... @ali_kerem: If you still have this issue and want to fix it, please let us know. Best regards, Bruno
__________________
|
|
January 8, 2019, 12:55 |
|
#8 | |
Member
Vivek
Join Date: Mar 2018
Location: India
Posts: 54
Rep Power: 8 |
Hi
Quote:
when making ./makeCGAL PHP Code:
|
||
January 8, 2019, 16:56 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Quick questions:
__________________
|
|
January 8, 2019, 19:27 |
|
#10 |
Member
Vivek
Join Date: Mar 2018
Location: India
Posts: 54
Rep Power: 8 |
Thanks Bruno for reply
I am trying to install OpenFOAM-5.0 in my hpc account. I am using Red Hat Enterprise Linux ---- Sorry for the typo *hpc account Last edited by wyldckat; January 9, 2019 at 17:24. Reason: merged posts a few minutes apart |
|
January 10, 2019, 03:28 |
|
#12 | |
Member
Vivek
Join Date: Mar 2018
Location: India
Posts: 54
Rep Power: 8 |
Quote:
Finally installed OpenFoam 5.0 Error was due to Cmake compilation After compiling Cmake , I executed ./makeCGAL it's done without any error |
||
September 3, 2019, 15:27 |
|
#13 | |
New Member
Rahul
Join Date: Aug 2019
Posts: 3
Rep Power: 6 |
Quote:
How did you compile cmake? I've used ./makeCmake command to build the cmake3.9.0. After the it is showing that cmake is build, if I use commands like make, then it says that cmake-3.9.0 is already built. But when I use ./makeCGAL then it says that cmake command not found. What should I do to compile cmake successfully? And I am installing openfoam5.0 on my lab cluster. Any help regarding this? Last edited by Monrah; September 9, 2019 at 09:44. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[RapidCFD] Discussion thread on how to install and use RapidCFD | newoscar | OpenFOAM Community Contributions | 84 | September 2, 2022 01:04 |
[Gmsh] Insatlling gmsh from the source code-issue? | CFD-Lover | OpenFOAM Meshing & Mesh Conversion | 20 | June 12, 2018 06:39 |
[OpenFOAM] Problem with paraFoam on a linux-64 bit | bunni | ParaView | 4 | April 14, 2010 20:55 |
OpenFOAM15 installables are incomplete problem with paraFoam | tryingof | OpenFOAM Bugs | 17 | December 7, 2008 04:41 |
Problem of compilation OF 14Allwmake command not found | erik_d | OpenFOAM Bugs | 13 | September 13, 2008 21:45 |