Unknown comman

Dears
Am new in lammps and I try to input randomly input script like the below

input.script

dimention 3
units metal
boundarty p p p
atom_style atomic

pair_style none
bond_style none

timestep 0.001
dump 1 all atom 5 f.dump id atom
run 100

but I got error ERROR: Unknown command: unit metal (src/input.cpp:274)
Last command: unit metal

So please can any body help me

I see a few spelling mistakes in the input script you have posted here.
For example, “dimention”, “boundarty”.
However the error you have posted shows that your input script has “unit” instead of “units”.

1 Like

many thanks yash it was helpful