Hi, Matt,

My speculation that the error you observed was due to an incorrect I/O
library was not accurate.  In fact, most I/O libraries will not write
more than 2^31 bytes in one shot.  Therefore, FastBit has to
accommodate this limitation.  We will implement a wrapper to standard
write function shortly.  This should be in the next SVN check in.

John


On 8/6/12 8:28 AM, K. John Wu wrote:
> Hi, Matt,
> 
> Thanks for your interest in FastBit software.
> 
> The messages from write64 both indicated that 2147479552 bytes are to
> be written, the number of bytes corresponds to 374,471,226 doubles
> (8-bytes per entry).  However, the I/O function write somehow did not
> want to write that many bytes.  In both cases, only 2147479552 bytes
> are written - because this number is less than 2**31, I guess the I/O
> function actually wrote that many bytes and the return value is not a
> negative number indicating errors.  You are likely using an I/O
> library without large file support.  To fix this problem, please link
> with the 64-bit version of your I/O library.  You should be able to
> search on "large file support" and your OS name to find such information.
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to