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

[OpenFOAM.com] erros in Allwmake

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes
  • 4 Post By hxaxtma
  • 3 Post By giack

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2009, 22:47
Default erros in Allwmake
  #1
New Member
 
Jiwon Kang
Join Date: Jul 2009
Posts: 5
Rep Power: 17
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 23:17.
jiwon is offline   Reply With Quote

Old   July 15, 2009, 05:21
Default
  #2
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18
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, 18:18
Default
  #3
Member
 
Join Date: Jun 2009
Posts: 36
Rep Power: 17
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: 98
Rep Power: 13
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: 203
Rep Power: 18
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
Senior Member
 
Join Date: Jan 2014
Posts: 179
Rep Power: 12
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, htk110, Cagatayemre and 1 others like this.
hxaxtma is offline   Reply With Quote

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

Old   December 30, 2015, 13:34
Default
  #8
New Member
 
Hossein
Join Date: Dec 2015
Posts: 1
Rep Power: 0
htk110 is on a distinguished road
Quote:
Originally Posted by wouter View Post
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
Do it in Terminal

1) chmod +x -R *
2) address the file that you want to compile it...... cd Desktop/Swak4Foam
./Allwmake
htk110 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
[OpenFOAM.org] Errors during ThirdParty Allwmake while installing OF-2.4.0 redbullah OpenFOAM Installation 1 September 1, 2018 18:49
[OpenFOAM.org] Something wrong with Allwmake pmjzhai OpenFOAM Installation 12 April 4, 2017 21:20
[OpenFOAM.org] git pull and then what? Allwmake? pruthvi1991 OpenFOAM Installation 1 March 11, 2015 16:41
allwmake > How to use to install this solvers? steven123 OpenFOAM Programming & Development 1 July 7, 2014 18:25
Error while running Allwmake Indrajit OpenFOAM Installation 3 April 9, 2012 09:14


All times are GMT -4. The time now is 14:06.