Testing some plots with TurboPlotter 0.9.1+ indicates end of plot file is invalid when NOT using direct io. Used TP9K on both windows and mac with same result.
Tracked it down to this code that calls writestatus after the plot is written.
A possible fix would be to increase the file size to hold the resume id and write it as much as needed.
Once the plot is complete, truncate to remove the unnecessary resume data at end of file.
Testing some plots with TurboPlotter 0.9.1+ indicates end of plot file is invalid when NOT using direct io. Used TP9K on both windows and mac with same result.
Tracked it down to this code that calls writestatus after the plot is written.
Example cmd:
./plot64 -v -d ./plots -s 1200000 -n 1000 -t 8 -k 888888801 -X 0
A possible fix would be to increase the file size to hold the resume id and write it as much as needed. Once the plot is complete, truncate to remove the unnecessary resume data at end of file.