collated fileHandler hangs when using #include clause in decomposeParDict
Summary
When running the case with collated output, for any given solver, if there is an #include clause into the decomposeParDict, introducing for example an external dictionary with variables but also EVEN if it is a empty dictionary, the run will hang forever. Just the fact that there is an #include clause into the decomposeParDict causes the run to hang indefinitely.
Steps to reproduce
For ANY OpenFOAM tutorial (or at least/tested on sineWaveDamping(rhoPimpleFoam) and damBreak(interFoam)):
- Just add an #include clause into your decomposeParDict (#include myDict)
- RUN: blockMesh -fileHandler collated decomposePar -fileHandler collated mpirun -np $CORES $SOLVER -parallel -fileHandler collated HANGS INDEFINITELY ...
- Remove the #include clause and try again.
- RUNS SMOOTHLY.
Example case
ANY OPENFOAM TUTORIAL
Environment information
- OpenFOAM version : v5. , v6. , v1912
- Operating system : SUSE Linux Enterprise, Arch Linux
- Hardware info :
- Compiler : icc, gcc
Edited by Miguel Castellano