|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 26 ![]() ![]() |
Hi all,
I have been working recently on updating the OpenFOAM installation framework to something much more advanced and user friendly. As everyone on here I'm sure knows, the "wmake" OpenFOAM installation method is clunky, error prone, and not at all user friendly. In order to make OF easier for newbies to install, I have created a branch where the entire project is installed using cmake, an excellent product from Kitware (from Paraview fame!) that automates all the bash script nonsense that used to be needed. (Some of) The advantages of using this installation method are:
There are heaps of other benefits, but those are the main ones I can think of right now. Currently I have written instructions for installing dependencies for dnf based systems (Fedora), but that can also easily be done for deb (Ubuntu) based systems as well. I would really appreciate it if someone would contribute the instructions for installing on Ubuntu please! The package is located here: https://github.com/stuart23/cmake-Op...eases/tag/v0.1 Feel free to raise any bugs on github and/or here, and if you have any recommendations/fixes I would also appreciate patches! Look forward to hearing any feedback, hopefully if this is successful we can convert the whole OF project to cmake. Stu |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Rafael Cerqueira
Join Date: Mar 2012
Posts: 13
Rep Power: 15 ![]() |
Dear Stuart,
First, thank you for the excellent initiative. We had trouble compiling OpenFOAM in our computational cluster with the original wmake scripts. Finally, with your CMake version, we managed to build the code. However, we have no clue how to start using the compiled OpenFOAM code. Could you explain how to use this CMake version? Usually, we source the /etc/bashrc OpenFOAM file, set some environment variables and run our cases. I tried to point the installation /bin folder to the $PATH variable, but we are getting the following error: "--> FOAM FATAL ERROR in Foam::findEtcFiles() : could not find mandatory file 'controlDict " Is there an additional step? Can you help us? Best regards, |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] A smooth installation of foam-3.0-extend on OpenSUSE 13.1 64-bits | cookcaptain | OpenFOAM Installation | 7 | May 26, 2015 12:22 |
OpenFoam 2.0.0 installation | Jan_Peters | OpenFOAM Installation | 86 | April 27, 2012 06:32 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |
Installation problems | shellbell1999 | OpenFOAM Installation | 9 | April 6, 2006 14:29 |