[lammps-users] Max number of atoms for read_data command

Hi - is there a limit on the number of atoms that can be read in using the read_data command? I get a seg fault on a configuration between the 2.3 millionth and 2.4 millionth atoms.

It is not atom/configuration dependent, as I have swapped the order of the first and second half and get the same seg fault going past that number.

I tried spliting the configuration and doing multiple read_data, but that is not permitted either.

I will try a read_restart but that would be at best a workaround. It's also possible that I could convert the data file into create_atom commands, but that is also not optimum.

  Any ideas? Thanks as ever, Anthony

There is no limit. Something else must be wrong
with your data file.

Steve

There is no limit. Something else must be wrong
with your data file.

or a limitation for how much heap or stack memory can be used
on the machine the job is running on, or an address space
overflow (e.g. on a 32-bit node).

axel

You might hit these kinds of limits with 2.3 billion
atoms, but you shouldn't for 2.3 million.

Steve