CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

decomposePar segfault

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 12, 2012, 13:08
Default decomposePar segfault
  #1
New Member
 
Jutta Adelsberger
Join Date: Mar 2009
Posts: 4
Rep Power: 17
jutta is on a distinguished road
Hello,

I got a segmentation fault using decomposePar. Usually, decomposePar works fine but in this case I receive

Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.1.0-bd7367f93311
Exec   : decomposePar
Date   : Oct 12 2012
Time   : 17:56:02
Host   : ""
PID    : 20264
Case   : /...
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Time = 0
Create mesh

Calculating distribution of cells
Selecting decompositionMethod simple

Finished decomposition in 0.21 s

Calculating original mesh data

Distributing cells to processors

Distributing faces to processors

Distributing points to processors

Constructing processor meshes
#0  Foam::error::printStack(Foam::Ostream&) in "/opt64/packages/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigSegv::sigHandler(int) in "/opt64/packages/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2   in "/lib/libc.so.6"
#3  
 in "/opt64/packages/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/decomposePar"
#4  
 in "/opt64/packages/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/decomposePar"
#5  
 in "/opt64/packages/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/decomposePar"
#6  __libc_start_main in "/lib/libc.so.6"
#7  
 in "/opt64/packages/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/decomposePar"
Segmentation fault
I tried to get some more information using gdb:

Code:
Starting program: /mnt.auto/opt64/packages/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/decomposePar 
[Thread debugging using libthread_db enabled]
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.1.0-bd7367f93311
Exec   : /mnt.auto/opt64/packages/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/decomposePar
Date   : Oct 12 2012
Time   : 17:56:31
Host   : ""
PID    : 20304
Case   : /...
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Time = 0
Create mesh

Calculating distribution of cells
Selecting decompositionMethod simple

Finished decomposition in 0.22 s

Calculating original mesh data

Distributing cells to processors

Distributing faces to processors

Distributing points to processors

Constructing processor meshes

Program received signal SIGSEGV, Segmentation fault.
0x0000000000531882 in Foam::domainDecomposition::mark(Foam::List<int> const&, int, Foam::List<int>&) ()
(gdb) bt
#0  0x0000000000531882 in Foam::domainDecomposition::mark(Foam::List<int> const&, int, Foam::List<int>&) ()
#1  0x000000000053348b in Foam::domainDecomposition::writeDecomposition() ()
#2  0x000000000045da0e in main ()
(gdb)
Can anyone help? Thanks!
Jutta
jutta is offline   Reply With Quote

Old   October 17, 2012, 12:50
Default
  #2
Senior Member
 
Kevin Smith
Join Date: Mar 2009
Posts: 104
Rep Power: 17
kev4573 is on a distinguished road
Hi Jutta,

You might try using the latest 2.1.x version to see if any bug has been fixed since your 2.1.0 build. If that still fails, you could post your mesh here, and/or submit a bug report to opencfd.

Kevin
kev4573 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
decomposePar gives errors of_user_ OpenFOAM 1 July 4, 2011 06:27
checkMesh and decomposePar crashes with salome IDEAS mesh pajofego OpenFOAM 0 June 23, 2011 09:43
decomposePar: can use this decomposition method only for the whole mesh aloeven OpenFOAM Bugs 0 March 16, 2011 11:15
Strange behaviour 1.6 decomposePar vs 1.7 decomposePar BlueyTheDog OpenFOAM 7 January 16, 2011 19:12
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 08:30.