CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   erros in Allwmake (http://www.cfd-online.com/Forums/openfoam-installation/66335-erros-allwmake.html)

jiwon July 12, 2009 21:47

erros in Allwmake
 
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

henrik July 15, 2009 04:21

Dear jiwon,

Quote:

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

Henrik

dipling July 15, 2009 17:18

sudo ./Allwmake should solce your problems ;)

giack February 6, 2014 12:26

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

wouter February 11, 2014 15:53

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

hxaxtma February 12, 2014 04:49

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"

giack February 15, 2014 07:36

thank you for your help. I solved with chmod +x :)


All times are GMT -4. The time now is 10:36.