|
[Sponsors] |
July 13, 2014, 08:29 |
From where do I get wmake?
|
#1 |
New Member
Tafazal Chaudhry
Join Date: Jul 2014
Posts: 4
Rep Power: 12 |
I am getting following error when I try to compile fireFoam:
wmake: not foundBelow is start of the output from the Terminal. tc@tc-pc:~/fireFoam$ ./AllwmakeI have the following system installed in an effort to get fireFoam running:
as per the instructions at: http://www.openfoam.org/download/ubuntu.php
Being downloaded and installed as per instructions at I searched for wmake in my Home directory but did not find it there. I checked the version of GCC which is 4.6.3 tc@tc-pc:~/fireFoam$ gcc --versionI would like to find out where/how to get wmake? Or solve this issue some other way? And may be guide me to a document or repository of errors and their solutions, like a troubleshooting guide. Thanks in advance. |
|
July 13, 2014, 22:24 |
wmake found with root permissions
|
#2 |
New Member
Tafazal Chaudhry
Join Date: Jul 2014
Posts: 4
Rep Power: 12 |
I searched again and have found wmake file in /opt/openfoam230/wmake directory, which is outside the Home directory. This means that when I installed Openfoam, it got installed with Access permissions of the Root only.
I am compiling fireFoam in my Home directory as myself (administrator), but not as Root owner, which I think is the problem. I would welcome any ideas how I should be accessing and executing wmake I feel I am close to success, please help. |
|
July 14, 2014, 07:29 |
|
#3 |
Senior Member
|
Hi,
to get wmake in your PATH, you need Code:
$ source /opt/openfoam230/etc/bashrc |
|
July 14, 2014, 09:32 |
Able to make OpenFoam - Now FireFoam's turn
|
#4 |
New Member
Tafazal Chaudhry
Join Date: Jul 2014
Posts: 4
Rep Power: 12 |
Thanks alexeym.
You are correct my environment variables were not set as per instructions on: http://www.openfoam.org/download/ubuntu.php And now, after correctly setting them, at least, I am able to compile OpenFOAM. However, I am still not able to compile fireFoam which has many compiler errors. Unfortunately the text scrolls out of the Terminal window when I compile fireFoam so I can't capture all errors. But they look similar and I have pasted below the last errors as examples: + ./decomposeParPyr/AllwmakeNote that the location of FaceCellWave.H which the compiler can't find is: /opt/openfoam230/src/meshTools/algorithms/MeshWave My question is, where should I place the fireFoam code and how? The instructions at https://code.google.com/p/firefoam-dev/ are very simple but obviously not good enough for me:
tc@tc-pc:/$ cd home/tc/fireFoamIs this the correct location? Do I need to change the environment variables to compile fireFoam? |
|
July 14, 2014, 09:50 |
|
#5 |
Senior Member
|
Well,
1. This version - https://code.google.com/p/firefoam-dev/ - is for OpenFOAM 1.7.x (It's the first line of installation guide: "First download and install OpenFOAM-1.7.x"). You've installed 2.3.0, obviously source layout in 2.3.0 is quite different that in 1.7.x, so you've got all the compilation errors. 2. What's wrong with fireFoam that comes with OpenFOAM 2.3.0? |
|
July 14, 2014, 10:16 |
This is embarrassing...
|
#6 |
New Member
Tafazal Chaudhry
Join Date: Jul 2014
Posts: 4
Rep Power: 12 |
Thanks again alexeym.
I did not know fireFoam comes with openfoam. I lost so many days because of my ignorance. I will try it next, but I have a few more silly questions: How will I be able to change the source code of openfoam if it resides in the root area? Why is openfoam code located with root user privileges? Would it not be easier if it were located in the user area? |
|
July 14, 2014, 11:12 |
|
#7 | ||
Senior Member
|
Quote:
Quote:
|
|||
Tags |
firefoam;installation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 | flakid | OpenFOAM Installation | 16 | December 28, 2010 09:48 |
Problems Installing OF 1.6 32 bit | bucksfan | OpenFOAM Installation | 19 | August 4, 2009 02:36 |
OpenFOAM15 installables are incomplete problem with paraFoam | tryingof | OpenFOAM Bugs | 17 | December 7, 2008 05:41 |
Problem of compilation OF 14Allwmake command not found | erik_d | OpenFOAM Bugs | 13 | September 13, 2008 22:45 |
[OpenFOAM] ParaFoam error message | joey | ParaView | 1 | October 2, 2006 14:28 |