[lammps-users] problem after pbs submission

Dear all:
   Errors are got after PBS submission. The input script looks like
----------------processors 1 2 1
   and the PBS submission contains
----------------#PBS -l nodes=2:ppn=1
   However I got err msgs as following:

LAMMPS (5 Oct 2007)
Reading data file ...
  orthogonal box = (0 0 -10) to (300 1065 10)
ERROR: Bad grid of processors
LAMMPS (5 Oct 2007)
mpiexec: Warning: task 0 exited with status 1.
mpiexec: Warning: task 1 exited before completing MPI startup.

    Could any one give some suggestion?

Best,
Zhiping

Are you sure that you should use:
#PBS -l nodes=2:ppn=1
while not:
#PBS -l nodes=1:ppn=2 ?
How many processors do you have on each node?

Do you have a "processors" command in your
input script? If so, you have to match
it to the number of procs you run on.

Steve