I have observed frequent I/O errors when writing large files with BBT. Upon reading the saved file, I will see errors like:
bin.seed_mp.bf does not match size given by its information file. Size: 25862192416 vs 12977290528 bytes.
It looks like it some kind of bug with the C++ library implementation on our HPC cluster (CentOS 5 cluster using GPFS).
I have observed that changing the C++ I/O calls to equivalent C I/O calls solved the problem. Unfortunately github does not allow you to attach files with the .patch or .diff extensions. Instead, here is the patch pasted inline:
I have observed frequent I/O errors when writing large files with BBT. Upon reading the saved file, I will see errors like:
It looks like it some kind of bug with the C++ library implementation on our HPC cluster (CentOS 5 cluster using GPFS).
I have observed that changing the C++ I/O calls to equivalent C I/O calls solved the problem. Unfortunately github does not allow you to attach files with the
.patch
or.diff
extensions. Instead, here is the patch pasted inline:You may copy the above text to a file called
io.patch
and then apply it in the root BBT directory with:Or I can just push the commit to
develop
if you like. (I have been using this change for quite a while without any problems.)