CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Installation

OpenFOAM updates

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

LinkBack Thread Tools Display Modes
Old   April 30, 2010, 07:50
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,020
Blog Entries: 39
Rep Power: 109
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Hello again,

I'm glad it finally works You might have experienced an Heisenbug

I don't remember right now, but probably there is something missing from the "test/parallel" application in OpenFOAM 1.6... probably misses an include to the PStream library, or something like that.

Later I'll post a summary for OpenFOAM-1.6.x installation, coexisting with OF-1.6.
And I'll check up on it just to make sure there isn't something missing

Best regards,
wyldckat is offline   Reply With Quote

Old   May 4, 2010, 07:38
Senior Member
Join Date: Feb 2010
Posts: 213
Rep Power: 10
vaina74 is on a distinguished road
Tired of OpenFOAM-1.6? Do you want to experience new sensations with OF.1.6.x on Ubuntu? Here is the procedure. And do not forget to check this useful thread.

1. Backup!

2. Disable OpenFOAM-1.6 environment: edit $HOME/.bashrc and delete the line
source $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc
or something similar.

3. Download the wonderful script in openfoam-ubuntu.

4. Make the script executable and launch it:
$ chmod +x
$ ./
I suggest to use OpenFOAM compiler to avoid possible gcc conflicts.

5. Edit $HOME/.bashrc and add
alias startFoam16=". $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc"
alias startFoam16x=". $HOME/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc"
You can choose any alias, such as startFoam16 or of16.

6. Periodically update OpenFOAM-1.6.x to the latest git version:
git pull
./Allwmake >make.log 2>&1
7. And don't forget to run startFoam16 or startFoam16x whenever you start a new terminal/console/shell.

8. Enjoy.

Last edited by vaina74; May 17, 2010 at 07:50.
vaina74 is offline   Reply With Quote

Old   January 21, 2011, 00:16
Join Date: Nov 2010
Posts: 33
Rep Power: 7
pkr is an unknown quantity at this point

I am working on interFoam/laminar/damBreak case. The number of cells in the generated mesh is 955000. To run in parallel, the mesh decomposition is done using metis decomposition.

When decomposed and running for 4 cores (quad-core Xeon E5620 ), it works perfectly fine.

On changing the decomposed case to 2-cores, After some time of running, the systems hangs and displays the following error: "mpirun noticed that process rank 0 with PID 3758 on node exited on signal 11 (Segmentation fault)."

Both of the cases (2-core and 4-cores) work fine for lower number of cells (< 600000 cells).

Please suggest. Thanks
pkr is offline   Reply With Quote


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50

All times are GMT -4. The time now is 05:15.