CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Segmentation Fault w/ compiled OF 2.2.0 - motorBike example

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 15, 2013, 12:39
Unhappy Solved: Segmentation Fault w/ compiled OF 2.2.0 - motorBike example
  #1
New Member
 
Join Date: Feb 2013
Posts: 24
Rep Power: 13
sudo is on a distinguished road
So, as suggested by another member here I was trying to run the motorBike example found in
Quote:
$FOAM_TUTORIALS/incompressible/simpleFoam/motorBike
I executed from a Linux (Ubuntu 12.10 64bit) terminal
Quote:
$ ./Allrun -v
and I have got the following

Code:
Running surfaceFeatureExtract on /home/OF_user/OpenFOAM/OF_user-2.2.0/run/tutorials/incompressible/simpleFoam/motorBike
Running blockMesh on /home/OF_user/OpenFOAM/OF_user-2.2.0/run/tutorials/incompressible/simpleFoam/motorBike
Running decomposePar on /home/OF_user/OpenFOAM/OF_user-2.2.0/run/tutorials/incompressible/simpleFoam/motorBike
Running snappyHexMesh in parallel on /home/OF_user/OpenFOAM/OF_user-2.2.0/run/tutorials/incompressible/simpleFoam/motorBike using 6 processes
Segmentation fault (core dumped)
`0.org' -> `./processor0/0'
`0.org/nut' -> `./processor0/0/nut'
`0.org/include' -> `./processor0/0/include'
`0.org/include/initialConditions' -> `./processor0/0/include/initialConditions'
`0.org/include/frontBackUpperPatches' -> `./processor0/0/include/frontBackUpperPatches'
`0.org/include/fixedInlet' -> `./processor0/0/include/fixedInlet'
`0.org/omega' -> `./processor0/0/omega'
`0.org/k' -> `./processor0/0/k'
`0.org/p' -> `./processor0/0/p'
`0.org/U' -> `./processor0/0/U'
`0.org' -> `./processor1/0'
`0.org/nut' -> `./processor1/0/nut'
`0.org/include' -> `./processor1/0/include'
`0.org/include/initialConditions' -> `./processor1/0/include/initialConditions'
`0.org/include/frontBackUpperPatches' -> `./processor1/0/include/frontBackUpperPatches'
`0.org/include/fixedInlet' -> `./processor1/0/include/fixedInlet'
`0.org/omega' -> `./processor1/0/omega'
`0.org/k' -> `./processor1/0/k'
`0.org/p' -> `./processor1/0/p'
`0.org/U' -> `./processor1/0/U'
`0.org' -> `./processor2/0'
`0.org/nut' -> `./processor2/0/nut'
`0.org/include' -> `./processor2/0/include'
`0.org/include/initialConditions' -> `./processor2/0/include/initialConditions'
`0.org/include/frontBackUpperPatches' -> `./processor2/0/include/frontBackUpperPatches'
`0.org/include/fixedInlet' -> `./processor2/0/include/fixedInlet'
`0.org/omega' -> `./processor2/0/omega'
`0.org/k' -> `./processor2/0/k'
`0.org/p' -> `./processor2/0/p'
`0.org/U' -> `./processor2/0/U'
`0.org' -> `./processor3/0'
`0.org/nut' -> `./processor3/0/nut'
`0.org/include' -> `./processor3/0/include'
`0.org/include/initialConditions' -> `./processor3/0/include/initialConditions'
`0.org/include/frontBackUpperPatches' -> `./processor3/0/include/frontBackUpperPatches'
`0.org/include/fixedInlet' -> `./processor3/0/include/fixedInlet'
`0.org/omega' -> `./processor3/0/omega'
`0.org/k' -> `./processor3/0/k'
`0.org/p' -> `./processor3/0/p'
`0.org/U' -> `./processor3/0/U'
`0.org' -> `./processor4/0'
`0.org/nut' -> `./processor4/0/nut'
`0.org/include' -> `./processor4/0/include'
`0.org/include/initialConditions' -> `./processor4/0/include/initialConditions'
`0.org/include/frontBackUpperPatches' -> `./processor4/0/include/frontBackUpperPatches'
`0.org/include/fixedInlet' -> `./processor4/0/include/fixedInlet'
`0.org/omega' -> `./processor4/0/omega'
`0.org/k' -> `./processor4/0/k'
`0.org/p' -> `./processor4/0/p'
`0.org/U' -> `./processor4/0/U'
`0.org' -> `./processor5/0'
`0.org/nut' -> `./processor5/0/nut'
`0.org/include' -> `./processor5/0/include'
`0.org/include/initialConditions' -> `./processor5/0/include/initialConditions'
`0.org/include/frontBackUpperPatches' -> `./processor5/0/include/frontBackUpperPatches'
`0.org/include/fixedInlet' -> `./processor5/0/include/fixedInlet'
`0.org/omega' -> `./processor5/0/omega'
`0.org/k' -> `./processor5/0/k'
`0.org/p' -> `./processor5/0/p'
`0.org/U' -> `./processor5/0/U'
Running patchSummary in parallel on /home/OF_user/OpenFOAM/OF_user-2.2.0/run/tutorials/incompressible/simpleFoam/motorBike using 6 processes
Segmentation fault (core dumped)
Running potentialFoam in parallel on /home/OF_user/OpenFOAM/OF_user-2.2.0/run/tutorials/incompressible/simpleFoam/motorBike using 6 processes
Segmentation fault (core dumped)
Running simpleFoam in parallel on /home/OF_user/OpenFOAM/OF_user-2.2.0/run/tutorials/incompressible/simpleFoam/motorBike using 6 processes
Segmentation fault (core dumped)
Running reconstructParMesh on /home/OF_user/OpenFOAM/OF_user-2.2.0/run/tutorials/incompressible/simpleFoam/motorBike
Running reconstructPar on /home/OF_user/OpenFOAM/OF_user-2.2.0/run/tutorials/incompressible/simpleFoam/motorBike
On my Ubuntu 12.10 64 bit virtualbox on my windows machine, where OpenFoam 2.2.0 was installed from the repository (as a binary, not compiled), the tutorial worked without a hitch.

Any idea what's the cause of this? Thanks.

EDIT: Just wanted to say that the introductory "Cavity" tutorial worked just fine with the compiled OF, so my "newbie" guess is that it has to do with SnappyHexMesh.

Last edited by sudo; April 2, 2013 at 18:28. Reason: Issue has been solved
sudo is offline   Reply With Quote

Old   March 25, 2013, 12:41
Default
  #2
New Member
 
Join Date: Feb 2013
Posts: 24
Rep Power: 13
sudo is on a distinguished road
I saw there is a similar earlier thread, here:
http://www.cfd-online.com/Forums/ope...tml#post416285

So I posted my problem there.
sudo is offline   Reply With Quote

Old   March 26, 2013, 23:48
Default
  #3
Senior Member
 
starter
Join Date: Sep 2012
Posts: 125
Rep Power: 15
sihaqqi is on a distinguished road
I have the same problem. When I type in simpleFoam, it does 50 calculations and say Segmentation fault (core dumped). If you can perhaps advise, I shall be grateful

Regards
sihaqqi is offline   Reply With Quote

Old   April 2, 2013, 18:27
Default
  #4
New Member
 
Join Date: Feb 2013
Posts: 24
Rep Power: 13
sudo is on a distinguished road
SOLVED!!!! Thanks to Bruno, look here:
http://www.cfd-online.com/Forums/ope...r-upgrade.html
sudo is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Segmentation fault when running dieselFoam or dieselEngineFoam in parallel francesco OpenFOAM Bugs 4 May 2, 2017 22:59
segmentation fault when installing OF-2.1.1 on a cluster Rebecca513 OpenFOAM Installation 9 July 31, 2012 16:06
Segmentation fault in interFoam run through openMPI voingiappone OpenFOAM 16 November 2, 2011 07:49
Segmentation Fault Shawn_A OpenFOAM Running, Solving & CFD 6 October 31, 2011 15:38
ParaView segmentation fault only for multiphase gwierink OpenFOAM 9 March 25, 2010 08:23


All times are GMT -4. The time now is 18:11.