[lammps-users] Size

Hello, Dear Developers!

There is a very strange problem. I'm using fftw-2.1.5, mpich2-1.0.8
and lammps-6Dec08 release.
All with standard installation and system is
Linux 2.6.9-67.0.4.ELsmp #1 SMP Thu Jan 31 16:30:09 CST 2008 i686 i686
i386 GNU/Linux

Starting LAMMPS all is OK and no error, but the dump file can be less
or equal 2Gbyte i.e. starting model which should give large dump
(about 40GBytes) it start and begin write a dump file. But dump file
achieve only 2GB size dump.

It is always strange, because on the system Linux 2.6.18-92.1.18.el5
#1 SMP Wed Nov 12 06:45:11 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
with all same soft all is OK.

What can it be? Some error in linking\libraries\input file or some unknown bug?

Hello, Dear Developers!

alexey,

There is a very strange problem. I'm using fftw-2.1.5, mpich2-1.0.8
and lammps-6Dec08 release.

no! it is not at all strange.

All with standard installation and system is
Linux 2.6.9-67.0.4.ELsmp #1 SMP Thu Jan 31 16:30:09 CST 2008 i686 i686
i386 GNU/Linux

please note, this is a 32-bit machine.

Starting LAMMPS all is OK and no error, but the dump file can be less
or equal 2Gbyte i.e. starting model which should give large dump
(about 40GBytes) it start and begin write a dump file. But dump file
achieve only 2GB size dump.

and 2GB is the file size limit when using the regular c/c++ standard i/o
library. in general files larger than 2GB are tricky to process and
nasty to correct in case of file corruption, so it is highly recommended
that you split the output into multiple files.

on most modern linux systems, this can in principle be overcome
by compiling with -D_FILE_OFFSET_BITS=64, but that can lead to
subtle problems if you don't know what you are doing. the 2GB
limit will apply to all software that hase not been compiled with
large file support, so if your linux installation has not been
compiled with that, you may not even be able to copy files >2GB
or transfer them to a different machine.

It is always strange, because on the system Linux 2.6.18-92.1.18.el5
#1 SMP Wed Nov 12 06:45:11 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
with all same soft all is OK.

yes. because it is a 64-bit machine and there the 2GB file size
limit does not apply.

What can it be? Some error in linking\libraries\input file or some unknown bug?

neither.

cheers,
   axel.

Some (older) file systems don't support files
over 2 Gb in size. You should be able to
get around this in LAMMPS by using the
"%" and/or "*" wildcard characters in your
dump file name, to dump out numerous
smaller files. See the dump doc page
for details.

Steve