CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [OpenFOAM.com] v1612+ cmake-VERSION error during install (https://www.cfd-online.com/Forums/openfoam-installation/188205-v1612-cmake-version-error-during-install.html)

bbrown57 May 25, 2017 08:19

v1612+ cmake-VERSION error during install
 
I am attempting to install OpenFOAM v1612+ by following the instructions found here: https://openfoamwiki.net/index.php/I...CentOS_SL_RHEL.
I am running into an error during step 9, specifically this part "./makeCmake > log.makeCM 2>&1". It finishes almost instantly and the log file simply contains:

# cat log.makeCM

Error: see 'makeCmake -help' for usage
The cmake-VERSION was not specified

I'm at a loss as I've installed OpenFOAM 4.1 with the instructions without issues several times.

Edit: I am installing on Scientific Linux 6.8.

Edit 2: I just tried on our new SL7.2 cluster with the same results.

wyldckat May 27, 2017 07:44

Greetings Brian,

My apologies, I have now revised the instructions on the wiki: https://openfoamwiki.net/index.php/I...HEL#CentOS_6.8

The problem was that I assumed that OpenFOAM+ v1612+ was using the same "makeCmake" script as OpenFOAM 4... but it isn't and back when I wrote the instructions, I somehow missed that detail when testing the instructions.

The missing detail is that we need to run makeCmake like this:
Code:

./makeCmake cmake-3.2.1 > log.makeCM 2>&1
Best regards,
Bruno

bbrown57 June 5, 2017 10:10

This fixed the issue. Thank you.


All times are GMT -4. The time now is 03:26.