![]() |
First of all, thank you peopl
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 |
Hi Lars,
looks like you ad
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) |
Amazing, thats all that was t
Amazing, thats all that was to it. I just went through the first tutorial, and all run smoothly.
Regards Lars Edvardsen |
| All times are GMT -4. The time now is 05:08. |