CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Wmake problem

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By mbeaudoin

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 16, 2005, 22:55
Default Hello I have problem about
  #1
New Member
 
Chalothon Thumthae
Join Date: Mar 2009
Posts: 13
Rep Power: 17
thumthae is on a distinguished road
Hello

I have problem about "wmake" ,
at folder --> /OpenFOAM/OpenFOAM-1.1/applications/solvers/incompressiblee/turbFoam

I type > wmake
and it not pass, it show

/home/nonyon/OpenFOAM/OpenFOAM-1.1/applications/wmake/wmake: line 140: make: command not found

/home/nonyon/OpenFOAM/OpenFOAM-1.1/applications/wmake/wmake: cannot make, file Make/linuxOpt/objectFiles was not created successfully

after that I test open shell scrib wmake, the command at the line 140 is .....

make -f $WM_DIR/MakefileFiles allFiles

what happen to wmake and/or make command?
please help me to correct this problem

Torn
thumthae is offline   Reply With Quote

Old   March 17, 2005, 04:16
Default It says that make is not insta
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
It says that make is not installed on your system or not visible in your path.

Try typing:

which make

and if not found, you will need to have it installed at your system. You can get a free version from Gnu and compile it yourself.

http://www.gnu.org/software/make/

Enjoy,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   April 19, 2007, 14:21
Default Not directly related to the cu
  #3
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Not directly related to the current thread but I've put a few tips about wmake on the Wiki
at http://openfoamwiki.net/index.php?title=Wmake&rcid=2824
mattijs is offline   Reply With Quote

Old   August 7, 2007, 08:32
Default Hi everybody When i want to
  #4
Senior Member
 
Marhamat Zeinali
Join Date: Mar 2009
Location: Tehran, Tehran, iran
Posts: 107
Rep Power: 17
marhamat is on a distinguished road
Hi everybody
When i want to update the solvers by using ./Allwmake i recieve the below messages(i.e):
...
SOURCE_DIR=.
SOURCE=simpleFoam.C ; g++ -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/root/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude -I/root/OpenFOAM/OpenFOAM-1.3/src/turbulenceModels -I/root/OpenFOAM/OpenFOAM-1.3/src/transportModels -I/root/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread -c $SOURCE -o Make/linuxGcc4DPOpt/simpleFoam.o
/root/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/zeroGradientFvPatchField. C:141: error: expected constructor, destructor, or type conversion before 'is'
/root/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/zeroGradientFvPatchField. C:141: error: 'you' does not name a type
/root/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/zeroGradientFvPatchField. C:143: error: 'either' does not name a type
/root/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/zeroGradientFvPatchField. C:147: error: 'without' does not name a type
make: *** [Make/linuxGcc4DPOpt/simpleFoam.o] Error 1
+ wmake turbFoam
make: Nothing to be done for `allFiles'.
make: `Make/linuxGcc4DPOpt/dependencies' is up to date.

SOURCE_DIR=.
SOURCE=turbFoam.C ; g++ -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/root/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude -I/root/OpenFOAM/OpenFOAM-1.3/src/turbulenceModels -I/root/OpenFOAM/OpenFOAM-1.3/src/transportModels -I/root/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread -c $SOURCE -o Make/linuxGcc4DPOpt/turbFoam.o
/root/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/zeroGradientFvPatchField. C:141: error: expected constructor, destructor, or type conversion before 'is'
/root/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/zeroGradientFvPatchField. C:141: error: 'you' does not name a type
/root/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/zeroGradientFvPatchField. C:143: error: 'either' does not name a type
/root/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/zeroGradientFvPatchField. C:147: error: 'without' does not name a type
make: *** [Make/linuxGcc4DPOpt/turbFoam.o] Error 1
+ wmake boundaryFoam
make: Nothing to be done for `allFiles'.

SOURCE_DIR=.
SOURCE=boundaryFoam.C ; g++ -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/root/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude -I/root/OpenFOAM/OpenFOAM-1.3/src/turbulenceModels -I/root/OpenFOAM/OpenFOAM-1.3/src/
...
Best regards
Marhamat
marhamat is offline   Reply With Quote

Old   August 7, 2007, 08:41
Default You've got garbage in file /ro
  #5
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
You've got garbage in file /root/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/zeroGradientFvPatchField. C on line 141. get rid of it.

BTW, why are you running as root?

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   August 7, 2007, 09:57
Default Thanks alot Ok,i will change
  #6
Senior Member
 
Marhamat Zeinali
Join Date: Mar 2009
Location: Tehran, Tehran, iran
Posts: 107
Rep Power: 17
marhamat is on a distinguished road
Thanks alot
Ok,i will change it .

Best Regards
Marhamat
marhamat is offline   Reply With Quote

Old   September 19, 2007, 12:19
Default Hi everybody~ I have some pr
  #7
New Member
 
Hyunchang Lee
Join Date: Mar 2009
Posts: 5
Rep Power: 17
hyunchang is on a distinguished road
Hi everybody~
I have some problem in wmake.
whenever I run it in every source code,
an error like below happen.

lee@pcblue:~/OpenFOAM/lee-1.4.1/applications/parabolicVelocity> wmake
SOURCE=parabolicVelocityFvPatchVectorField.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/nfs/home/lee/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -IlnInclude -I. -I/nfs/home/lee/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/parabolicVelocityFvPatchVectorField.o
In file included from /nfs/home/lee/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/.. /../../../include/c++/4.2.1/i686-pc-linux-gnu/bits/c++config.h:41,
from /nfs/home/lee/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/.. /../../../include/c++/4.2.1/string:45,
from /nfs/home/lee/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/string.H:47,
from /nfs/home/lee/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/word.H:43,
from /nfs/home/lee/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/patchIdentifier.H:3 8,
from /nfs/home/lee/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/polyPatch.H:50,
from /nfs/home/lee/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude/fvPatch.H:39,
from /nfs/home/lee/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude/fvPatchField.H: 45,
from /nfs/home/lee/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude/fvPatchFields.H :30,
from parabolicVelocityFvPatchVectorField.H:44,
from parabolicVelocityFvPatchVectorField.C:27:
/nfs/home/lee/OpenFOAM/linux/gcc-4.2.1/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1/.. /../../../include/c++/4.2.1/i686-pc-linux-gnu/bits/os_defines.h:44:22: error: features.h: No such file or directory

The error message is much more long and they look all similar to me.
so, I'll appreciate any hint from you.
thank you in advance.

Hyunchang
hyunchang is offline   Reply With Quote

Old   September 19, 2007, 13:12
Default Hello, Your workstation is
  #8
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22
mbeaudoin will become famous soon enough
Hello,

Your workstation is missing a few RPMs for software development.

On my Centos 4.4 systems, the file features.h is located in /usr/include.

This file was provided by a RPM called glibc-headers-2.3.4-2.25.

If you are using SuSE or some other Unix flavor, the name of the RPM might vary a bit, but do you get the point.

So verify your workstation installation first in order to get a valid software development platform.

Martin
mbeaudoin is offline   Reply With Quote

Old   September 20, 2007, 05:25
Default Thank you, Martin. I'll try
  #9
New Member
 
Hyunchang Lee
Join Date: Mar 2009
Posts: 5
Rep Power: 17
hyunchang is on a distinguished road
Thank you, Martin.

I'll try to verify my workstation.

Hyunchang
hyunchang is offline   Reply With Quote

Old   September 20, 2007, 06:57
Default Martin, It works now. many tha
  #10
New Member
 
Hyunchang Lee
Join Date: Mar 2009
Posts: 5
Rep Power: 17
hyunchang is on a distinguished road
Martin, It works now. many thanks~
I'm using SUSE 10.2 and search the RPM glibc in SUSE homepage and installed 2 RPMs.

Hyunchang
hyunchang is offline   Reply With Quote

Old   December 2, 2008, 02:03
Default Hello! I have a similar pro
  #11
New Member
 
Daniel Langmayr
Join Date: Mar 2009
Posts: 15
Rep Power: 17
xdanielx is on a distinguished road
Hello!

I have a similar problem like Chalothon:
at folder -->

"/home/dani/OpenFOAM/OpenFOAM-1.5/tutorials/MRFSimpleFoam/MRFSimpleFoam"

I write wmake and get the following error message:
"/home/dani/OpenFOAM/OpenFOAM-1.5/wmake/wmake: line 202: make: command not found"

However, when i use "which wmake" it finds the file in
"/home/dani/OpenFOAM/OpenFOAM-1.5/wmake/wmake"

I have no idea how to proceed. Any help is appreciated.

Thanks in advance,
Daniel
xdanielx is offline   Reply With Quote

Old   December 2, 2008, 17:11
Default Hello Daniel, Make sure you
  #12
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22
mbeaudoin will become famous soon enough
Hello Daniel,

Make sure you have the "make" RPM package installed on your system.

Martin
andrejssab likes this.
mbeaudoin is offline   Reply With Quote

Old   December 3, 2008, 10:30
Default Hello Martin, Thank you ve
  #13
New Member
 
Daniel Langmayr
Join Date: Mar 2009
Posts: 15
Rep Power: 17
xdanielx is on a distinguished road
Hello Martin,

Thank you very much...that helped;)

All the best, daniel
xdanielx is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wmake ccm26ToFoam compilation problem under Ubuntu x64 810 kprzysowagmailcom OpenFOAM Installation 7 November 6, 2009 05:33
Wmake problem interFoam solver feijooos OpenFOAM Running, Solving & CFD 4 December 8, 2008 12:01
Problem about wmake turbFoam williamscn OpenFOAM Running, Solving & CFD 3 September 19, 2007 12:55
Minor wmake problem for x86_64 when compiling everything using existing gcc WM_COMPILER%3dbb hoogland OpenFOAM Installation 0 August 13, 2007 09:58
Wmake clock skew detectedis this causing a problem york OpenFOAM Running, Solving & CFD 2 July 11, 2007 00:43


All times are GMT -4. The time now is 18:29.