CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   Please Help (

rockyrocks23june July 23, 2009 13:53

Please Help
I am trying to install OpenFOAM-1.5 on my desktop on Ubuntu 9.04.

I followed the installation instructions but I keep getting hung up on the last step.
I try to source the bashrc file first, but it gives me this output.

rockey@ubuntu:~$ source $HOME/OpenFOAM/OpenFOAM-1.5/etc/bashrc
Warning in /home/sumontro/OpenFOAM/OpenFOAM-1.5/etc/
Cannot find /home/sumontro/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux installation.

Please install this compiler version or if you wish to use the system compiler,
change the WM_COMPILER_INST setting to 'System' in this file

bash: ./home/sumontro/OpenFOAM/OpenFOAM-1.5/etc/bashrc: No such file or directory

then I change the compiler to system and this is what I get
rockey@ubuntu:~$ source $HOME/OpenFOAM/OpenFOAM-1.5/etc/bashrc
bash: ./home/sumontro/OpenFOAM/OpenFOAM-1.5/etc/bashrc
No such file or directory
I am a new user to Linux and I have very little programming experience.
However, I need to get OpenFOAM working. I would really appreciate the help.

PattiMichelle July 24, 2009 10:29

There are a couple of details that you run into setting up OpenFOAM - check out the instructions here:

...and let me know if it works. The installation comes with everything you need (including openmpi), but changing the lines in your /home/<yourname>/.bashrc file to reference it all is a little tricky.

And you have to remove the lines if you want to compile other software besides OpenFOAM.


All times are GMT -4. The time now is 07:31.