LAMMPS crashes for me if I provide more than 4 variables on the command
line. For example, using the trivial input script "test.in"
print a is $a
print b is $b
print c is $c
print d is $d
print e is $e
and calling LAMMPS via
lmp -var a 1 -var b 2 -var c 3 -var d 4 -var e 5 -in test.in
the program either hangs or crashes, depending on the machine I'm using.
Calling LAMMPS with only four variables, everything works as expected. Can
anyone reproduce this behavior?