View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003847 | OpenFOAM | Bug | public | 2022-06-07 15:06 | 2022-06-07 16:46 |
Reporter | AliShaha | Assigned To | henry | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | 20.04 |
Product Version | dev | ||||
Fixed in Version | dev | ||||
Summary | 0003847: Crash in running counterFlowFlame2D_GRI tutorial in parallel | ||||
Description | OpenFoam crashes when running Allrun-parallel script in: /OpenFOAM-dev/tutorials/combustion/reactingFoam/laminar/counterFlowFlame2D_GRI Reason: inconsistency between the decompositionMethod and loadBalancer when multiConstraint is set to true. OpenFOAM-dev/src/fvMeshDistributors/loadBalancer/fvMeshDistributorsLoadBalancer.C, lines 148 and 150: const int nWeights = cpuLoads.size() + 1; weights.setSize(nWeights*mesh.nCells()); OpenFOAM-dev/blob/c1acd88a37fe7b74ec5cfc759c2d6ee32d5194b2/src/parallel/decompose/decompositionMethods/decompositionMethod/decompositionMethod.C, lines 691-697 if (nWeights > 0 && cellWeights.size() != mesh.nCells()) { FatalErrorInFunction << "Number of weights " << cellWeights.size() << " differs from number of cells " << mesh.nCells() << exit(FatalError); } Balancer sets the cellWeights size to: (nWeights*nCells) however decompositionMethod throws error when (cellWeights.size() != mesh.nCells()). | ||||
Steps To Reproduce | ~ cd /OpenFOAM-dev/tutorials/combustion/reactingFoam/laminar/counterFlowFlame2D_GRI ~ ./Allrun-parallel | ||||
Tags | No tags attached. | ||||