CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OpenFOAM updates (https://www.cfd-online.com/Forums/openfoam-installation/75478-openfoam-updates.html)

wyldckat April 30, 2010 07:50

Hello again,

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

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.

Quote:

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,
Bruno

vaina74 May 4, 2010 07:38

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
Code:

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:
Code:

$ chmod +x installOF.sh
$ ./installOF.sh

I suggest to use OpenFOAM compiler to avoid possible gcc conflicts.

5. Edit $HOME/.bashrc and add
Code:

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:
Code:

cd $WM_PROJECT_DIR
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.

pkr January 20, 2011 23:16

Hi,

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


All times are GMT -4. The time now is 23:39.