CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] exceeds capacity of label fatal error, how to recompile with a larger data type?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 4, 2017, 02:52
Default exceeds capacity of label fatal error, how to recompile with a larger data type?
  #1
KTG
Senior Member
 
Abe
Join Date: May 2016
Posts: 119
Rep Power: 10
KTG is on a distinguished road
Hello Foamers,

I am trying to make a fairly large mesh, and I am getting the error:

exceeds capability of label (2147483647). Please recompile with larger datatype for label.
[40]
[40] From function Foam::globalIndex::globalIndex(Foam::label)
[40] in file meshes/polyMesh/globalMeshData/globalIndex.C at line 86.
[40]
FOAM parallel run exiting

I am guessing that 2147483647 is the largest value of int 32 on the 64 bit cluster I am using, and that the cell index is beyond that (please correct if that is wrong). So my question is, how do I fix this? 160 cores of old hardware overloaded the label in less than 3 hours, so maybe I am interpreting this wrong? On a related note, I am also beyond the largest value for maxGlobalCells in snappyHexMeshDict - if I try to increase it, snappy gives an error that it expected int 32. Int 32 just seems too small - or more likely, I am doing something wrong.

Help!

Thanks
KTG 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
activeBaffleVelocity boundary condition ? om3ro OpenFOAM Programming & Development 10 November 17, 2020 00:26
multiphaseEulerFoam/tank discharge ves OpenFOAM Running, Solving & CFD 8 December 31, 2017 15:59
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 03:50
[swak4Foam] Air Conditioned room groovyBC Sebaj OpenFOAM Community Contributions 7 October 31, 2012 15:16
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50


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