CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   decomposePar segfault (http://www.cfd-online.com/Forums/openfoam-pre-processing/108030-decomposepar-segfault.html)

jutta October 12, 2012 12:08

decomposePar segfault
 
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

kev4573 October 17, 2012 11:50

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


All times are GMT -4. The time now is 07:17.