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

Installing OpenFOAM on SuSE Linux 91

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 5, 2005, 13:07
Default First of all, thank you peopl
  #1
Lars Edvardsen (Edvardsen)
Guest
 
Posts: n/a
First of all, thank you people for making OpenFOAM open source software. I have been looking for something like this to boost both my knowledge in CFD and general programming (.

I have run into som installation problems, but as a beginner in Linux I hope my stupid questions can be forgiven:

1. I run SuSE Linux 9,1 and since I read somewhere that you also use suselinux, I guessed the binary version of OpenFoam alone (without the source file) would work. It seemed however somthing was missing after decompresseing, i.a. no file of folder of " $HOME/OpenFOAM/OpenFOAM-1.0/.OpenFOAM-1.0/bashrc " could be found. It would be helpfull to know what a successful binary installation would look like, and what the command for starting up the program would be (guessing on "openfoam").

2. I got the idea to decompress both source- and binary file into the same HOME/OpenFOAM folder, now " $HOME/OpenFOAM/OpenFOAM-1.0/.OpenFOAM-1.0/bashrc " was present. I then sourced the .OpenFOAM-1.0/bashrc file by adding the following line to the end of my $HOME/.bashrc file:
$HOME/OpenFOAM/OpenFOAM-1.0/.OpenFOAM-1.0/bashrc and updatet the environment variables as described in the installation README file. When executing the foamInstallationTest, I get the error message:
FATAL ERROR: /lars/.OpenFOAM-1.0/bashrc does not appear to be sourced from:
/lars/.bashrc
You need the following at the end of your /lars/.bashrc file:
\. ${HOME}/.foam1.0/bashrc
in addition to a number of other error messages.

3. I went on to try to build it all from the source file. I allready have gcc-3.3.? installed
via rpm-packages but have not been able to locate gcc-3.4? as rpm-package for suse 9,1. I would not
try to install gcc-3.4? via tarball since I allready had gcc-3.3? installed via rpm (recall I'm a Linux-beginner). After decompressing the sourcefile in its
right folder and typing /.Allwmake ,I get the following error messages:
./OpenFOAM/OpenFOAM-1.0/Allwmake: line 3: cd: wmake: No such file or directory
./OpenFOAM/OpenFOAM-1.0/Allwmake: line 3: makeWmake: command not found
./OpenFOAM/OpenFOAM-1.0/Allwmake: line 5: cd: src: No such file or directory
./OpenFOAM/OpenFOAM-1.0/Allwmake: line 5: Allwmake: command not found
./OpenFOAM/OpenFOAM-1.0/Allwmake: line 7: cd: applications: No such file or directory
./OpenFOAM/OpenFOAM-1.0/Allwmake: line 7: Allwmake: command not found
even though " HOME/Lars/OpenFOAM/OpenFOAM-1.0/wmake " and its files is present.

I realize that my problems may be due to my system setup and to my very slight knowledge of Linux, still I would be very thankful for some help.

Best regards
Lars Edvardsen
  Reply With Quote

Old   January 7, 2005, 10:50
Default Hi Lars, looks like you ad
  #2
Mattijs Janssens (Mattijs)
Guest
 
Posts: n/a
Hi Lars,

looks like you add to your .bashrc

$HOME/OpenFOAM/OpenFOAM-1.0/.OpenFOAM-1.0/bashrc

instead of

. $HOME/OpenFOAM/OpenFOAM-1.0/.OpenFOAM-1.0/bashrc

(so you missed out the '.' in front which makes all the difference)
  Reply With Quote

Old   January 10, 2005, 03:26
Default Amazing, thats all that was t
  #3
Lars Edvardsen (Edvardsen)
Guest
 
Posts: n/a
Amazing, thats all that was to it. I just went through the first tutorial, and all run smoothly.

Regards
Lars Edvardsen
  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
Problem in Paraview While installing OpenFOAM 15 in Suse 103 altranindia OpenFOAM Installation 1 February 20, 2009 10:20
OpenFOAM on SuSE Linux 100 musahossein OpenFOAM Installation 4 June 20, 2008 17:47
Starcd 4.2 on Suse Linux 10.2 Abdalla Siemens 3 April 12, 2007 17:47
Installing OpenFOAM in Ubuntu LINUX 510 Breeze derjames OpenFOAM Installation 0 April 7, 2006 09:22
CFX and SUSE linux Paul CFX 5 December 23, 2004 22:53


All times are GMT -4. The time now is 09:35.