|
[Sponsors] |
March 27, 2006, 10:58 |
debian:/media/lin1/move/OpenFO
|
#1 |
New Member
Navaladi ( navaladi@gmail.com)
Join Date: Mar 2009
Location: INDIA
Posts: 21
Rep Power: 17 |
debian:/media/lin1/move/OpenFOAM-1.2# ./Allwmake
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. ./Allwmake: line 3: wmake: command not found ./Allwmake: line 4: wmake: command not found ./Allwmake: line 82: cd: /OpenFOAM: No such file or directory ./Allwmake: line 82: wmakeLnInclude: command not found ./Allwmake: line 84: cd: /utilities/miscellaneous: No such file or directory ./Allwmake: line 85: wmake: command not found cp: cannot stat `foamFlex/FlexLexer.h': No such file or directory ./Allwmake: line 89: cd: Pstream: No such file or directory ./Allwmake: line 89: ./Allwmake: No such file or directory ./Allwmake: line 90: wmake: command not found ./Allwmake: line 92: wmake: command not found ./Allwmake: line 94: wmakeLnInclude: command not found ./Allwmake: line 95: wmake: command not found ./Allwmake: line 96: wmake: command not found ./Allwmake: line 98: wmake: command not found ./Allwmake: line 99: wmake: command not found ./Allwmake: line 100: wmake: command not found ./Allwmake: line 102: cd: finiteElement: No such file or directory ./Allwmake: line 102: ./Allwmake: No such file or directory ./Allwmake: line 103: wmake: command not found ./Allwmake: line 104: wmake: command not found ./Allwmake: line 105: wmake: command not found ./Allwmake: line 106: wmake: command not found ./Allwmake: line 108: wmake: command not found ./Allwmake: line 109: wmake: command not found ./Allwmake: line 111: cd: thermophysicalModels: No such file or directory ./Allwmake: line 111: ./Allwmake: No such file or directory debian:/media/lin1/move/OpenFOAM-1.2# |
|
March 27, 2006, 11:02 |
I have tried in debian as well
|
#2 |
New Member
Navaladi ( navaladi@gmail.com)
Join Date: Mar 2009
Location: INDIA
Posts: 21
Rep Power: 17 |
I have tried in debian as well as in FC4.
Also i do n't understand the WM_DIR path.. debian:/media/lin1/move/OpenFOAM-1.2# echo $WM_DIR debian:/media/lin1/move/OpenFOAM-1.2# |
|
March 27, 2006, 11:03 |
I love these games, guess my q
|
#3 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
I love these games, guess my question?
ls ls: Command not found. |
|
March 27, 2006, 11:20 |
yes..wmake command should be i
|
#4 |
New Member
Navaladi ( navaladi@gmail.com)
Join Date: Mar 2009
Location: INDIA
Posts: 21
Rep Power: 17 |
yes..wmake command should be installed by giving ./Allmake...Have to noticed the weird thing..
debian:/media/lin1/move/OpenFOAM-1.2# ./Allwmake 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. |
|
March 27, 2006, 11:29 |
You're missing the machine inf
|
#5 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
You're missing the machine info bit: do uname -s and tell me whet you get.
Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
March 27, 2006, 11:36 |
navaladi@debian:~/openflower-v
|
#6 |
New Member
Navaladi ( navaladi@gmail.com)
Join Date: Mar 2009
Location: INDIA
Posts: 21
Rep Power: 17 |
navaladi@debian:~/openflower-v1.0$ uname -a
Linux debian 2.6.8-2-386 #1 Thu May 19 17:40:50 JST 2005 i686 GNU/Linux navaladi@debian:~/openflower-v1.0$ |
|
March 27, 2006, 11:50 |
Yes, but I have asked for unam
|
#7 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Yes, but I have asked for uname -s. Have a look at .OpenFOAM/cshrc (whichever one you are using) and the bit that sets your arch:
# Detect system type and set environment variables # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ set machineTest=`uname -s` # Linux workstation # ~~~~~~~~~~~~~~~~~ if ($machineTest == Linux) then #setenv WM_COMPILER blah blah # Detect system type and set environment variables # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ set machineTest=`uname -s` # Linux workstation # ~~~~~~~~~~~~~~~~~ if ($machineTest == Linux) then #setenv WM_COMPILER setenv WM_COMPILER Gcc4 #setenv WM_COMPILER I32 set processor = `uname -m` if ($processor == i686) then setenv WM_ARCH linux #setenv WM_COMPILER I32 else if ($processor == x86_64) then if ( $?WM_64 ) then setenv WM_ARCH linuxAMD64 setenv WM_COMPILER_LIB_ARCH 64 setenv CC 'gcc' setenv CXX 'g++' setenv CFLAGS '-m64' setenv CXXFLAGS '-m64' setenv LDFLAGS '-m64' else setenv WM_ARCH linux #setenv WM_COMPILER I32 setenv WM_COMPILER_ARCH '-64' setenv CC 'gcc' setenv CXX 'g++' setenv CFLAGS '-m32' blah blah Now find out what your WM_ARCH is set to and why (I suspect it's blank). Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
March 27, 2006, 12:00 |
sure,
debian:/media/lin1/mo
|
#8 |
New Member
Navaladi ( navaladi@gmail.com)
Join Date: Mar 2009
Location: INDIA
Posts: 21
Rep Power: 17 |
sure,
debian:/media/lin1/move/OpenFOAM-1.2# uname -s Linux debian:/media/lin1/move/OpenFOAM-1.2# echo $WM_ARCH debian:/media/lin1/move/OpenFOAM-1.2# echo $SHELL /bin/bash debian:/media/lin1/move/OpenFOAM-1.2# |
|
March 27, 2006, 14:58 |
Did you 'source' the ~/OpenFOA
|
#9 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Did you 'source' the ~/OpenFOAM/OpenFOAM/.OpenFOAM-1.2/.bashrc as explained in the README file?
Any particular reason why you are compiling? The binary packs on the download site should cover your architecture (i686) |
|
February 21, 2008, 12:48 |
I am having similar problems a
|
#10 |
New Member
Craig Johansen
Join Date: Mar 2009
Location: Kingston, Ontario, Canada
Posts: 4
Rep Power: 17 |
I am having similar problems as navaladi A. As far as updating the environment variables. This is what I did.
I added . $HOME/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc to $HOME/.bashrc and I typed . $HOME/.bashrc in the terminal Here is some info that you had asked navaladi craig@craig-desktop:~/OpenFOAM/OpenFOAM-1.4.1$ uname -s Linux craig@craig-desktop:~/OpenFOAM/OpenFOAM-1.4.1$ echo $WM_ARCH craig@craig-desktop:~/OpenFOAM/OpenFOAM-1.4.1$ echo $SHELL /bin/bash Here is the results of the foam installation test: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: craig-desktop OS: Linux version 2.6.22-14-generic User: craig User_config: /home/craig/.bashrc Foam_config: /home/craig/.OpenFOAM-1.4.1/bashrc sourced correctly. FATAL ERROR Foam install directory not set. Set correct path to installation 'WM_PROJECT_INST_DIR' in /home/craig/.foam2.3/bashrc ------------------------------------------------------------------------------- Checking main FOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR --------- env variable not set --------- yes $WM_PROJECT_USER_DIR --------- env variable not set --------- no $FOAM_JOB_DIR --------- env variable not set --------- yes ------------------------------------------------------------------------------- Checking the FOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR --------- env variable not set --------- yes $FOAM_USER_APPBIN --------- env variable not set --------- no $FOAM_APPBIN --------- env variable not set --------- yes $WM_DIR --------- env variable not set --------- yes $FOAMX_PATH --------- env variable not set --------- yes $CEI_HOME --------- env variable not set --------- no $JAVA_PATH --------- env variable not set --------- no $MICO_ARCH_PATH --------- env variable not set --------- yes $LAM_ARCH_PATH --------- env variable not set --------- yes $MPICH_ARCH_PATH --------- env variable not set --------- no ------------------------------------------------------------------------------- Checking the FOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN --------- env variable not set --------- yes $FOAM_USER_LIBBIN --------- env variable not set --------- no $LAM_ARCH_PATH --------- env variable not set --------- yes ------------------------------------------------------------------------------- Software versions ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- gcc 4.1.3 WARNING: Conflicting installations: foam settings: /bin/gcc current path : /usr/bin/gcc CRITICAL ERROR java *** not installed *** gzip 1.3.12 /bin/gzip tar 1.3.12 /bin/tar icoFoam *** not installed *** CRITICAL ERROR ------------------------------------------------------------------------------- Checking file/directory permissions... ------------------------------------------------------------------------------- File/directory Set Reqd Crit ------------------------------------------------------------------------------- Checking networking... ------------------------------------------------------------------------------- Action Result Crit ------------------------------------------------------------------------------- Pinging_craig-desktop Successful yes Pinging_localHost Successful yes Test_rsh: Unsuccessful_connection_refused* yes Test_ssh: Unsuccessful_connection_refused* yes FATAL ERROR: No remote shell available. Foam1.4.1 enviroment requires either ssh and/or rsh. Contact your system administrator. ------------------------------------------------------------------------------- The system test has evoked 1 fatal error(s). The foam installation contains 2 critical error(s). Review the output for warning messages and consult the installation guide for trouble shooting. |
|
April 16, 2008, 10:58 |
Ay,
I had the same problem...
|
#11 |
New Member
Benoit Legrand
Join Date: Mar 2009
Location: Dorking, Surrey, UK
Posts: 12
Rep Power: 17 |
Ay,
I had the same problem... $ export WM_DIR=$WM_PROJECT_DIR allowed the software to compile and myself to take a nice cup of coffee ;o) ( I mean until now, the compilation is going smoothly, I just have to wait for and see before confirming) |
|
July 17, 2008, 03:24 |
I am getting the following err
|
#12 |
Senior Member
mayank gupta
Join Date: Mar 2009
Posts: 110
Rep Power: 17 |
I am getting the following error when i run blockMesh . cavity
frpelikan@Techn-028:~/OpenFOAM/mayank/run/tutorials/icoFoam$ blockMesh . cavity bash: /home/frpelikan/OpenFOAM/OpenFOAM-1.4/applications/bin/linuxGcc4DPOpt/blockMesh: No such file or directory |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to install CFX in Ubuntu-Linux OS ???? | Student | CFX | 5 | January 17, 2011 09:20 |
[Gmsh] Problem to install gmsh | dante | OpenFOAM Meshing & Mesh Conversion | 3 | February 25, 2008 20:56 |
How to install binary pack in Debian 31 Linux | navaladi | OpenFOAM Installation | 4 | February 8, 2007 09:18 |
CFX problem in LINUX 9 | Alan | CFX | 14 | August 9, 2005 10:24 |
Install problem of X-windows for Tascflow | Alex Deng | CFX | 2 | November 1, 2001 12:33 |