Binary file compatibility not working with collated file format
Summary
The binary file compatibility that handles the reading of different precision or label sizes does not work when using the collated file format.
Steps to reproduce
-Create a mesh in DP with the collated file format.
-Run a solver in SP.
What is the current bug behaviour?
A FOAM FATAL IO ERROR
occurs when trying to read the mesh and the binary crashes. Note that the same case with the uncollated file format works.
What is the expected correct behavior?
The binary in SP should be able to read the DP mesh.
Relevant logs and/or images
Create mesh for time = 0
[9]
[9]
[9] --> FOAM FATAL IO ERROR:
[9] Expected a ')' while reading binaryBlock, found on line 2: word 'ʩ���
[9]
[9] file: /path_to_case/processors128/constant/polyMesh/points at line 2.
[9]
[9] From function bool Foam::Istream::readEnd(const char*)
[9] in file db/IOstreams/IOstreams/Istream.C at line 134.
[9]
FOAM parallel run exiting
[9]
Environment information
- OpenFOAM version : v1912
- Operating system : CentOS Linux 7
- Hardware info :
- Compiler : Gcc 4.8.5