CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Wmake problem (http://www.cfd-online.com/Forums/openfoam-installation/57277-wmake-problem.html)

thumthae March 16, 2005 22:55

Hello I have problem about
 
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

hjasak March 17, 2005 04:16

It says that make is not insta
 
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

mattijs April 19, 2007 13:21

Not directly related to the cu
 
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

marhamat August 7, 2007 07:32

Hi everybody When i want to
 
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

hjasak August 7, 2007 07:41

You've got garbage in file /ro
 
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

marhamat August 7, 2007 08:57

Thanks alot Ok,i will change
 
Thanks alot
Ok,i will change it .

Best Regards
Marhamat

hyunchang September 19, 2007 11:19

Hi everybody~ I have some pr
 
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

mbeaudoin September 19, 2007 12:12

Hello, Your workstation is
 
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

hyunchang September 20, 2007 04:25

Thank you, Martin. I'll try
 
Thank you, Martin.

I'll try to verify my workstation.

Hyunchang

hyunchang September 20, 2007 05:57

Martin, It works now. many tha
 
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

xdanielx December 2, 2008 02:03

Hello! I have a similar pro
 
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

mbeaudoin December 2, 2008 17:11

Hello Daniel, Make sure you
 
Hello Daniel,

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

Martin

xdanielx December 3, 2008 10:30

Hello Martin, Thank you ve
 
Hello Martin,

Thank you very much...that helped;)

All the best, daniel


All times are GMT -4. The time now is 07:46.