I am using Paraview as a middle man to convert data from Ensight .sos files to binary format for further post-processing. In order to do so, I read the required data and save it to a 2D array. However when I try to save it using the following lines, the program crashes with the following error message:
Inconsistency detected by ld.so: dl-close:c: 811: _dl_close: Assertion ‘map->l_init_called’ failed!
f = open(‘Binary_Data’, ‘wb+’)
binary_format = bytearray(Matrix)
The code is run using: pvpython Ensight2Binary.py (name of the program)
Thank you in advance,