View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002370 | OpenFOAM | Bug | public | 2016-12-03 12:56 | 2016-12-03 19:31 |
Reporter | sjoshi | Assigned To | henry | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | Ubuntu | OS Version | 14.04 |
Summary | 0002370: Incorrect return value in metisDecomp::decompose() function | ||||
Description | In file: src/parallel/decompose/metisDecomp/metisDecomp.C In function (line 258): Foam::labelList Foam::metisDecomp::decompose ( const polyMesh& mesh, const labelList& agglom, const pointField& agglomPoints, const scalarField& agglomWeights ) The return statement returns "finalDecomp" instead of "fineDistribution" Fix: replace return finalDecomp; with return fineDistribution; | ||||
Tags | metisDecomp | ||||
|
Can you provide the steps to reproduce the crash? |
|
This requires compilation of OpenFOAM with metis. 1. Clone the repository https://github.com/tgvoskuilen/meshBalancing into src/dynamicFvMesh and recompile OpenFOAM 2. In any one of the testCases, in system/balanceParDict, change the method to "metis" 3. Run the testCase The crash occurs when dynamic load-balancing is attempted. |
|
Thanks for reporting Resolved in OpenFOAM-4.x by commit 7209ceb3068beae119f5630d4b657db802535e49 Resolved in OpenFOAM-dev by commit 6b161934c9ce3c44ac1956b22ab00a1bd2017707 |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-12-03 12:56 | sjoshi | New Issue | |
2016-12-03 12:56 | sjoshi | Tag Attached: metisDecomp | |
2016-12-03 13:12 | henry | Note Added: 0007385 | |
2016-12-03 16:33 | sjoshi | Note Added: 0007386 | |
2016-12-03 19:31 | henry | Assigned To | => henry |
2016-12-03 19:31 | henry | Status | new => resolved |
2016-12-03 19:31 | henry | Resolution | open => fixed |
2016-12-03 19:31 | henry | Fixed in Version | => 4.x |
2016-12-03 19:31 | henry | Note Added: 0007387 |