During a longish lammps run I get an error, "File size limit exceeded"
and the run stops. The file being written out was 2147483647 bytes. I
searched the lammps user-archives and did not get any reference to
this. Obviously it is more of an OS related issue and further search
lead me to the following work-around:
The way to create files with size > 2147483647 bytes using GNU
Compiler Collection (gcc) is as follows:
1) You should have a linuc kernel version > 2.4 (Only these support
LFS - Large File System).
2) You should use the following compilation flag -D_FILE_OFFSET_BITS=64
Some GNU utilities are created using the above compilation flags (tar
for example) and some are created not using it.
My question is, what are the issues in making the compilation flag
"-D_FILE_OFFSET_BITS=64" as a default flag in Makefiles? Probably this
question must be asked in the gcc discussion list ..