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

Please Help

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 23, 2009, 13:53
Default Please Help
  #1
New Member
 
Rocky Rajput
Join Date: Jul 2009
Posts: 2
Rep Power: 0
rockyrocks23june is on a distinguished road
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/settings.sh
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.
rockyrocks23june is offline   Reply With Quote

Old   July 24, 2009, 10:29
Default
  #2
Member
 
Join Date: Apr 2009
Posts: 37
Rep Power: 8
PattiMichelle is on a distinguished road
There are a couple of details that you run into setting up OpenFOAM - check out the instructions here:

Running Tutorial

...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.

Patti
PattiMichelle is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 21:34.