Dear Axel,
I tried running a serial version of LAMMPS, that went fine, no
problems.
But the parallel version (open mpi) does gives an error
ERROR: Label wasn't found in input script (input.cpp:160)Below is a simple script that reproduces the error with
mpirun -np 1 lmp_openmpi < in.myInput
You cannot expect to be able to rewind the standard input (which is
what using SELF depends in). Use the -in flag and it will work. That
is good practice in any case. Redirecting input from stdin is a relict
from the fortran day when there was no portable way to detect a
programs arguments.
Axel