[gmx-users] FAQ: File too big
Erik Lindahl
lindahl at stanford.edu
Wed May 21 22:52:01 CEST 2003
> man open
>
> O_LARGEFILE
> On 32-bit systems that support the Large Files
> System,
> allow
> files whose sizes cannot be represented in 31 bits to be
> opened.
>
>
> Maybe we should try implementing this.
> I don't know whether it is portable though.
>
Hi,
I just checked on 2-3 boxes, and it seems to be available on those.
Since I'm anyway checking for it in the configure script we can use the
HAVE_FSEEKO define to determine if large files area available/working.
(i.e. keep the old O_RDONLY for 32-bits).
Cheers,
Erik
More information about the gromacs.org_gmx-users
mailing list