I have an issue where a dump custom command determines whether or not LAMMPS segfaults before taking a single timestep. The problem only seems to happen when I initialize with a "read_restart" binary restart file. I haven't been able to reproduce the problem starting from an ascii restart file.
init.dat (ascii file with initial data)
input1 (LAMMPS input file which takes a single timestep and writes a binary restart file: "restart.1")
inputSegfault (LAMMPS input file which reads restart.1 which should be generated using the input1 commands)
inputWorking (same as inputSegfault with the dump custom line commented out)
Steps to reproduce error:
1) unpack tar file
2) "lmp_serial < input1"
3) "lmp_serial < inputSegfault"
The bug was produced with a pristine build of lmp_serial from the 10Nov05 distribution. I was hoping someone could reproduce this error.
stuff.tar.gz (6.92 KB)