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

erros in Allwmake

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By hxaxtma
  • 1 Post By giack

Reply
 
LinkBack Thread Tools Display Modes
Old   July 12, 2009, 21:47
Default erros in Allwmake
  #1
New Member
 
Jiwon Kang
Join Date: Jul 2009
Posts: 5
Rep Power: 7
jiwon is on a distinguished road
Hello, there

I had a problem with Allwmake.

This is what I had done.

Redhat linux version 2.4.18-14
gcc version 3.2.0

I downloaded OpenFOAM-1.5 in
/home/jwjiwon/OpenFOAM/OpenFOAM-1.5/

I followed the step as README said
until ./bashrc error occured.
(in file settings.sh : gcc compiler is not installed in /OpenFOAM/ThirdParty/gcc-3.4.1/platforms/linux )
so I changed the file settings.sh using vi
from OpenFOAM to System
(which means using System gcc compiler , the program said )


and then typed
./Allwmake

Error occurs :

+ cd .
+ cd wmake/src
+ make
Makefile:61: /rules//general: No such file or directory
Makefile:62: /rules: No such file or directory
make: *** No rule to make target `/rules'. Stop.
+ cd
+ ./Allwmake
./Allwmake: line 10: ./Allwmake: No such file or directory
+ cd src
+ ./Allwmake
+ cd OpenFOAM
+ wmakeLnInclude .
./Allwmake: line 4: wmakeLnInclude: command not found
+ cd Pstream
+ ./Allwmake
./Allwmake: line 5: ./Allwmake: Permission denied
+ wmake libo OSspecific/
./Allwmake: line 6: wmake: command not found
+ wmake libso OpenFOAM
./Allwmake: line 7: wmake: command not found
+ wmake libso lagrangian/basic
./Allwmake: line 9: wmake: command not found
+ wmake libso triSurface
./Allwmake: line 11: wmake: command not found
+ wmake libso edgeMesh
./Allwmake: line 12: wmake: command not found
+ wmake libso meshTools
./Allwmake: line 13: wmake: command not found
+ wmake libso finiteVolume
./Allwmake: line 14: wmake: command not found
+ cd decompositionAgglomeration
+ ./Allwmake
./Allwmake: line 16: ./Allwmake: Permission denied
+ wmake libso sampling
./Allwmake: line 18: wmake: command not found
+ wmake libso dynamicMesh
./Allwmake: line 20: wmake: command not found
+ wmake libso dynamicFvMesh
./Allwmake: line 21: wmake: command not found
+ wmake libso topoChangerFvMesh
./Allwmake: line 22: wmake: command not found
+ wmake libso fvMotionSolver
./Allwmake: line 23: wmake: command not found
+ wmake libso engine
./Allwmake: line 24: wmake: command not found
+ wmake libso ODE
./Allwmake: line 26: wmake: command not found
+ wmake libso randomProcesses
./Allwmake: line 27: wmake: command not found
+ cd thermophysicalModels
+ ./Allwmake
./Allwmake: line 29: ./Allwmake: Permission denied
+ cd transportModels
+ ./Allwmake
./Allwmake: line 30: ./Allwmake: Permission denied
+ cd turbulenceModels
+ ./Allwmake
./Allwmake: line 31: ./Allwmake: Permission denied
+ cd lagrangian
+ ./Allwmake
./Allwmake: line 32: ./Allwmake: Permission denied
+ cd postProcessing
+ ./Allwmake
./Allwmake: line 33: ./Allwmake: Permission denied
+ cd conversion
+ ./Allwmake
./Allwmake: line 34: ./Allwmake: Permission denied
+ wmake libso autoMesh
./Allwmake: line 36: wmake: command not found
+ wmake libso errorEstimation
./Allwmake: line 37: wmake: command not found
+ cd applications
+ ./Allwmake
./Allwmake: line 14: ./Allwmake: Permission denied
+ '[' '' = doc ']'


huoa.........
I have a first time using Linux to use OpenFOAM source.
Can you explain me in detail?

please help meT_T

Last edited by jiwon; July 12, 2009 at 22:17.
jiwon is offline   Reply With Quote

Old   July 15, 2009, 04:21
Default
  #2
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Braunschweig, Niedersachsen, Germany
Posts: 275
Rep Power: 9
henrik is on a distinguished road
Dear jiwon,

Quote:
./Allwmake: Permission denied
Check the permissions on your files. You obviously have to right to execut Allwmake!

Henrik
henrik is offline   Reply With Quote

Old   July 15, 2009, 17:18
Default
  #3
Member
 
Join Date: Jun 2009
Posts: 36
Rep Power: 8
dipling is on a distinguished road
sudo ./Allwmake should solce your problems
dipling is offline   Reply With Quote

Old   February 6, 2014, 12:26
Default
  #4
Member
 
Join Date: Mar 2013
Posts: 86
Rep Power: 4
giack is on a distinguished road
Hi,
I have the same problem...I tried also

sudo ./Allwmake

But it say: sudo: ./Allwmake command not found
So I tried to log in as root, with the command sudo -i, and run the command ./Allwmake but it give me this error:

-bash: ./Allwmake permission denied

Have you any ideas about this problem?

Thank to all
giack is offline   Reply With Quote

Old   February 11, 2014, 15:53
Default
  #5
Senior Member
 
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 128
Rep Power: 8
wouter is on a distinguished road
hello giack,
did you check the permission of Allwmake, does it has the execute permission? I do that with nautilus->properties->permissions execute but it can be done with the commandline, but I do not know how.

Hope this helps
Wouter
wouter is offline   Reply With Quote

Old   February 12, 2014, 04:49
Default
  #6
Member
 
Join Date: Jan 2014
Posts: 58
Rep Power: 3
hxaxtma is on a distinguished road
maybe these commands are helpful (with sudo as root User, it depends):

"ls -latr" -> List all files with owners and read/write/exectue permissions
"chown username:groupname filename" to set permissions to your user
"chmod +x filename" to make files executable


and also check if make is installed with "which make"
lth likes this.
hxaxtma is offline   Reply With Quote

Old   February 15, 2014, 07:36
Default
  #7
Member
 
Join Date: Mar 2013
Posts: 86
Rep Power: 4
giack is on a distinguished road
thank you for your help. I solved with chmod +x
lth likes this.
giack is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Erros in Fluent, access Violation sk FLUENT 2 December 10, 2008 06:27
Allwmake without old ParaView kar OpenFOAM Paraview & paraFoam 3 May 20, 2008 12:43
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30
Recursive wmake all doesnbt find Allwmake hannes OpenFOAM Bugs 1 April 18, 2007 08:15
Errors in allwmake kumar2 OpenFOAM Installation 10 April 3, 2006 08:15


All times are GMT -4. The time now is 15:26.