|
[Sponsors] |
[OpenFOAM.org] Problems installing OF2.2.2 along side OF2.3.1 (Ubunut 12.04) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 27, 2016, 04:23 |
Problems installing OF2.2.2 along side OF2.3.1 (Ubunut 12.04)
|
#1 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
Last week I cleaned my computer and installed a clean copy of openFoam 2.3.1 using these instruction.
Next I tried to compile swak4Foam but did not succeed. Since it earlier worked nicely with OF2.2, I decided to install OF2.2.2 side-by-side with OF2.3.1 following these instructions. I have made more than a dozen attempts but simply can non install OF2.2.2. Here is the list of problems I encounter:
I am now stuck here. Any help or comment is welcome. Edit: OpenFoam 2.3.1 is working fine. Last edited by vasava; April 27, 2016 at 04:23. Reason: More info |
|
May 1, 2016, 19:02 |
|
#3 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: Many thanks for reporting the solution that you've found!
The reason why it worked with OpenFOAM 2.3.1 but not 2.2.2 is because the optional step #5 was missing from the wiki page for 2.2.2, namely this step: Quote:
__________________
|
||
May 2, 2016, 04:15 |
still struggling to install swak4Foam
|
#4 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
I am glad that this helps the openFoam community. Now both OF2.2.2 and 2.3.1 are working fine.
But, I am still struggling to install swak4Foam. Here are the error messages: Code:
~/MySolvers/swak4Foam$ ./Allwmake Previously compiled for OpenFOAM /home/paritosh/MySolvers/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison) Reading variables from 'swakConfiguration' swakConfiguration: line 13: [: : integer expression expected Checking swak4Foam-version and generating file abort: no repository found in '/home/paritosh/MySolvers/swak4Foam' (.hg not found)! Swak version is 0.3.2 ./Allwmake: line 61: Allwmake: command not found Requirements for Library not satisfied. I see no sense in going on Check the README before you go on to ask. And search: Most likely your problem occured to 5 other people before and has been solved on the MessageBoard |
|
May 8, 2016, 15:22 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: From the looks of the error messages, my guess is that you did not unpack the source code from a legitimate origin. In other words, it looks like you unpacked the original package on Windows or Mac OS X and then copied the folder to Linux, which resulted in files having the incorrect settings.
All of this to say: if you still have this problem, then please state the complete steps you've taken for installing swak4Foam, to get to the error message that you've gotten. |
|
May 10, 2016, 06:20 |
|
#6 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
Thanks for the reply Bruno.
Here is what I did to install openFoam 2.2.2 (I followed instructions from this page.).
|
|
May 18, 2016, 05:36 |
Steps to install swak4Foam
|
#7 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
I followed following steps to install swak4foam:
But I get the following error: Code:
~/MySolvers/swak4Foam$ ./Allwmake This is a clean install No file 'swakConfiguration'. Python etc won't work. See README for details Try 'ln -s swakConfiguration.automatic swakConfiguration' for automatic configuration. BEWARE: this does not work on some systems Checking swak4Foam-version and generating file abort: no repository found in '/home/paritosh/MySolvers/swak4Foam' (.hg not found)! Swak version is 0.3.2 ./Allwmake: line 61: wmake: command not found Could you please guide me through this? |
|
May 20, 2016, 04:30 |
|
#8 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
Following is set of solutions that I have tried (since I am still stuck with same errors, I assume none of them worked):
Overall summary: Whats I learned is that the 'line 61: wmake: command not found' error is common when openFoam shell is not installed properly. In my case since I unpacked the installation folders somewhere else and then copies it back to openFoam installation directory, this is causing problems for me. |
|
May 20, 2016, 06:45 |
At last some success!!
|
#9 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
Here is what I did:
Next, I ran couple of example cases from my old simulations and they worked without any problems. Next question is: Are these dependency warnings going to bother me in future? |
|
September 11, 2016, 13:01 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: If swak4Foam was built without problems, then second time you ran "Allwmake" should have told you that everything is "up to date". Therefore, those warnings can be ignored.
__________________
|
|
Tags |
gcc, openfoam 2.2.2, openfoam 2.3.1, ubuntu 12.04 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Errors while installing openfoam on ubuntu 12.04 AND 11.10 | fshak92 | OpenFOAM Installation | 27 | May 1, 2021 13:10 |
[ICEM] Problems with coedge curves and surfaces | tommymoose | ANSYS Meshing & Geometry | 6 | December 1, 2020 12:12 |
Problems installing OpenFOAM 1.6-ext on Ubuntu 12.04 | arashfluid | OpenFOAM Installation | 3 | July 21, 2013 07:36 |
problems with installing OpenFOAM 1.6 | su_junwei | OpenFOAM Installation | 8 | September 10, 2009 13:54 |
Problems installing CFX on Sun Unix Platform | Haley | CFX | 2 | November 9, 2001 10:52 |