Error: MPI Abort on rank 0

Dear Sir,

I am working on USER SMD of LAMMPS. My simulation box has about 75000 particles of 20μm cell size in 1mmX1mmX1mm with 87MB per processor in MPI run. This currently works fine with 4 processors. I have been trying to reduce the cell size of the particles in the simulation box (from 20μm). However as I run the code it shows :

cutoff for pair smd/smd/tri_surface = 0.016283

Step Dt Time PotEng vz_ind fz_ind
0 1e-16 2e-16 0 0 0

"ERROR on proc 0: Substitution for illegal variable (…/input.cpp:529)

Dear Sir,

I am working on USER SMD of LAMMPS. My simulation box has about 75000
particles of 20μm cell size in 1mmX1mmX1mm with 87MB per processor in MPI
run. This currently works fine with 4 processors. I have been trying to
reduce the cell size of the particles in the simulation box (from 20μm).
However as I run the code it shows :

cutoff for pair smd/smd/tri_surface = 0.016283

Step Dt Time PotEng vz_ind fz_ind
       0 1e-16 2e-16 0 0 0

"ERROR on proc 0: Substitution for illegal variable (../input.cpp:529)
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 1.
NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them."

To keep the number of particles constant I try to reduce the size of the
simulation box region accordingly. However the problem still persists with
small size particles.
Does changing the balance command threshold help in adjusting the number of
particles to be balanced?

Or should I work larger number of processors in a cluster?

neither of that has any relation to the error you are seeing. please
look at the error message:

ERROR on proc 0: Substitution for illegal variable (../input.cpp:529)

this means you have an error somewhere when using a variable
expansion, possibly a typo.

axel.