|
[Sponsors] |
January 5, 2005, 13:07 |
First of all, thank you peopl
|
#1 |
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 |
|
January 7, 2005, 10:50 |
Hi Lars,
looks like you ad
|
#2 |
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) |
|
January 10, 2005, 03:26 |
Amazing, thats all that was t
|
#3 |
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 |
|
|
|
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 |