CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

how to solve error "Assertion `0' failed" raised from parallel run on redhat7

Register Blogs Community New Posts Updated Threads Search

Rate this Entry

how to solve error "Assertion `0' failed" raised from parallel run on redhat7

Posted March 4, 2016 at 03:56 by donQi

After building OF2.4.0 on redhat 7, when launching the motorBike tutorial in parallel I was facing the following error:
Code:
snappyHexMesh: route/tc.c:973: rtnl_tc_register: Assertion `0' failed.
snappyHexMesh:22793 terminated with signal 6 at PC=7f24c66715f7 SP=7fff5c4d65f8.  Backtrace:
snappyHexMesh: route/tc.c:973: rtnl_tc_register: Assertion `0' failed.
SOLUTION : as explained here https://www.open-mpi.org/community/l...5/08/17812.php it was due to a conflict between libnl and libnl3.
Therefore as root I removed the libnl3 with the command
Code:
rpm -e --nodeps "libnl3"
and the parallel run becomes possible:
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   : snappyHexMesh -parallel -overwrite
Date   : Mar 04 2016
Time   : 16:34:08
Host   : "rhel7ald"
PID    : 45629
Case   : /home/al/OpenFOAM/OpenFOAM-2.4.0/tutorials/incompressible/simpleFoam/motorBike
nProcs : 6
Slaves :
5
(
"rhel7ald.45630"
"rhel7ald.45631"
"rhel7ald.45632"
"rhel7ald.45633"
"rhel7ald.45634"
)

Pstream initialized with:
    floatTransfer      : 0
    nProcsSimpleSum    : 0
    commsType          : nonBlocking
    polling iterations : 0
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

Read mesh in = 0.01 s

Overall mesh bounding box  : (-5 -4 0) (15 4 8)
Relative tolerance         : 1e-06
Absolute matching distance : 2.29783e-05

Reading refinement surfaces.
Read refinement surfaces in = 1.75 s

Reading refinement shells.
Refinement level 4 for all cells inside refinementBox
Read refinement shells in = 0 s

Setting refinement level of surface to be consistent with shells.
Checked shell refinement in = 1.18 s

Reading features.
Read edgeMesh motorBike.eMesh
    points      : 20665
    edges       : 20867
    boundingBox : (-0.241214 -0.337971 -4.232e-05) (1.75115 0.329368 1.21979)

Refinement level according to distance to "motorBike.eMesh" (20665 points, 20867 edges).
Posted in Uncategorized
Views 2965 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0

Comments

 

All times are GMT -4. The time now is 03:58.