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

Install problem in linux

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2006, 09:58
Default debian:/media/lin1/move/OpenFO
  #1
New Member
 
Navaladi ( navaladi@gmail.com)
Join Date: Mar 2009
Location: INDIA
Posts: 21
Rep Power: 17
navaladi is on a distinguished road
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#
navaladi is offline   Reply With Quote

Old   March 27, 2006, 10:02
Default 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
navaladi is on a distinguished road
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#
navaladi is offline   Reply With Quote

Old   March 27, 2006, 10:03
Default I love these games, guess my q
  #3
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
I love these games, guess my question?

ls
ls: Command not found.
niklas is offline   Reply With Quote

Old   March 27, 2006, 10:20
Default yes..wmake command should be i
  #4
New Member
 
Navaladi ( navaladi@gmail.com)
Join Date: Mar 2009
Location: INDIA
Posts: 21
Rep Power: 17
navaladi is on a distinguished road
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.
navaladi is offline   Reply With Quote

Old   March 27, 2006, 10:29
Default You're missing the machine inf
  #5
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
hjasak will become famous soon enough
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
hjasak is offline   Reply With Quote

Old   March 27, 2006, 10:36
Default navaladi@debian:~/openflower-v
  #6
New Member
 
Navaladi ( navaladi@gmail.com)
Join Date: Mar 2009
Location: INDIA
Posts: 21
Rep Power: 17
navaladi is on a distinguished road
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$
navaladi is offline   Reply With Quote

Old   March 27, 2006, 10:50
Default Yes, but I have asked for unam
  #7
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
hjasak will become famous soon enough
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
hjasak is offline   Reply With Quote

Old   March 27, 2006, 11:00
Default sure, debian:/media/lin1/mo
  #8
New Member
 
Navaladi ( navaladi@gmail.com)
Join Date: Mar 2009
Location: INDIA
Posts: 21
Rep Power: 17
navaladi is on a distinguished road
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#
navaladi is offline   Reply With Quote

Old   March 27, 2006, 13:58
Default Did you 'source' the ~/OpenFOA
  #9
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
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)
mattijs is offline   Reply With Quote

Old   February 21, 2008, 11:48
Default I am having similar problems a
  #10
New Member
 
Craig Johansen
Join Date: Mar 2009
Location: Kingston, Ontario, Canada
Posts: 4
Rep Power: 17
craiger is on a distinguished road
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.
craiger is offline   Reply With Quote

Old   April 16, 2008, 09:58
Default Ay, I had the same problem...
  #11
New Member
 
Benoit Legrand
Join Date: Mar 2009
Location: Dorking, Surrey, UK
Posts: 12
Rep Power: 17
zoune is on a distinguished road
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)
zoune is offline   Reply With Quote

Old   July 17, 2008, 02:24
Default I am getting the following err
  #12
Senior Member
 
mayank gupta
Join Date: Mar 2009
Posts: 110
Rep Power: 17
mgz1985 is on a distinguished road
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
mgz1985 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
How to install CFX in Ubuntu-Linux OS ???? Student CFX 5 January 17, 2011 08:20
[Gmsh] Problem to install gmsh dante OpenFOAM Meshing & Mesh Conversion 3 February 25, 2008 19:56
How to install binary pack in Debian 31 Linux navaladi OpenFOAM Installation 4 February 8, 2007 08:18
CFX problem in LINUX 9 Alan CFX 14 August 9, 2005 09:24
Install problem of X-windows for Tascflow Alex Deng CFX 2 November 1, 2001 11:33


All times are GMT -4. The time now is 05:41.