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

"Segmentation fault" when using reconstructPar and renumberMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By reza2031

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 24, 2019, 18:06
Default "Segmentation fault" when using reconstructPar and renumberMesh
  #1
New Member
 
Reza Nouri
Join Date: Oct 2012
Location: Tennessee
Posts: 26
Rep Power: 14
reza2031 is on a distinguished road
Send a message via Skype™ to reza2031
Here is the issue:

I have installed OF 2.40 on a Centos 7 system (as a user not administrator). I followed the instruction on wiki:
https://openfoamwiki.net/index.php/I...CentOS_SL_RHEL
Everything compile fine and it seems everything works, but when it comes to using reconstructPar or renumberMesh, I get "segmentation fault" error:

I ran the cavity case (incompressible laminar flow) using 2 processors. It ran successfully, but when I type reconstructPar, I get this error:

Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.4.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.4.0-dcea1e13ff76
Exec   : reconstructPar
Date   : Apr 24 2019
Time   : 15:48:31
Host   : "gpunode001"
PID    : 147305
Case   : /home/tntech.edu/rnouri42/OpenFOAM/OpenFOAM-2.4.0/tutorials/incompressible/icoFoam/cavity
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

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



Reconstructing fields for mesh region0

Time = 0.1

Reconstructing FV fields

    Reconstructing volScalarFields

        p
#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigSegv::sigHandler(int) at ??:?
#2  ? in "/lib64/libc.so.6"
#3  Foam::fvPatchField<double>::addpatchMapperConstructorToTable<Foam::zeroGradientFvPatchField<double> >::New(Foam::fvPatchField<double> const&, Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::fvPatchFieldMapper const&) at ??:?
#4  ? at ??:?
#5  ? at ??:?
#6  ? at ??:?
#7  ? at ??:?
#8  ? at ??:?
#9  __libc_start_main in "/lib64/libc.so.6"
#10  ? at ??:?
Segmentation fault

And for renumberMesh, I get:

Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.4.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.4.0-dcea1e13ff76
Exec   : renumberMesh
Date   : Apr 24 2019
Time   : 15:52:53
Host   : "gpunode001"
PID    : 149066
Case   : /home/tntech.edu/rnouri42/OpenFOAM/OpenFOAM-2.4.0/tutorials/incompressible/icoFoam/cavity
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 0

Mesh size: 400
Before renumbering :
    band           : 20
    profile        : 7619

Using default renumberMethod.

Selecting renumberMethod CuthillMcKee

Reading volScalarField p
Reading volVectorField U

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigSegv::sigHandler(int) at ??:?
#2  ? in "/lib64/libc.so.6"
#3  Foam::polyMesh::resetPrimitives(Foam::Xfer<Foam::Field<Foam::Vector<double> > > const&, Foam::Xfer<Foam::List<Foam::face> > const&, Foam::Xfer<Foam::List<int> > const&, Foam::Xfer<Foam::List<int> > const&, Foam::List<int> const&, Foam::List<int> const&, bool) at ??:?
#4  ? at ??:?
#5  ? at ??:?
#6  __libc_start_main in "/lib64/libc.so.6"
#7  ? at ??:?
Segmentation fault
On my laptop with the same OF version and case, it works fine. But on HPC something is not correct and I am struggling to find the answer.
Any idea?

Thank you.
Reza
reza2031 is offline   Reply With Quote

Old   April 25, 2019, 22:40
Default
  #2
New Member
 
Reza Nouri
Join Date: Oct 2012
Location: Tennessee
Posts: 26
Rep Power: 14
reza2031 is on a distinguished road
Send a message via Skype™ to reza2031
Just for the record,

I solved the issue by installing another version of OpenFOAM (2.3.1 instead of 2.4.0).

Reza
nishant.kumar likes this.
reza2031 is offline   Reply With Quote

Reply


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
[mesh manipulation] Some questions on blockMesh, decomposePar and renumberMesh Leech OpenFOAM Meshing & Mesh Conversion 19 April 5, 2019 20:21
renumberMesh pere OpenFOAM 4 May 9, 2012 09:52


All times are GMT -4. The time now is 10:13.