Regarding the data file

Hello
Iam trying to read a data file but it shows the following error
“Unknown identifier in data file 1 1 0 0 0 (…/read_data cpp:710)”
The following is my input script

---------- Initialize Simulation ---------------------

processors 1 1 1
clear
units metal
dimension 3
boundary p p p
atom_style atomic
atom_modify map array

---------- Create Atoms ---------------------

read_data 32000structure.dat

---------- Define Interatomic Potential ---------------------

pair_style eam/alloy
pair_coeff * * CoFeNiPd.set Co Fe Ni Pd
neighbor 2.0 bin

The following is my data file
32000 atoms
4 atom types

0.0 20 xlo xhi
0.0 20 ylo yhi
0.0 20 zlo zhi

Masses

1 58.93
2 55.89
3 58.69
4 106.42

Atoms

1 1 0 0 0
2 3 0.025 0.025 0
3 1 0.025 0 0.025
4 1 0 0.025 0.025
5 3 0.05 0 0
8 1 0.05 0.025 0.025
81 4 0 0.05 0
83 4 0.025 0.05 0.025
85 2 0.05 0.05 0
1601 2 0 0 0.05
1602 2 0.025 0.025 0.05

Note :I
have attached only few atoms values for conveinence i have the values for 32000 atoms in my data file anyways
Sincerely

You seem to be missing that the first line in a data file is ignored. That would make it so that LAMMPS doesn’t know that you have 32000 atoms and it will assume 0 atoms instead, and hence the error that it didn’t expect any data in the Atoms section and thus errors out.

Axel.