I am encountering a problem:
It is in the log file:
And the data file is like this:
The wield part of this thing is I can run it on my own computer which is in version 23Jun-2022, but I cannot run it on the cloud of the computing center where I install lammps in version 22Dec2022 by Cmake.
I am confused why it cannot run the command read_data.
It’ll be highly appreciated if anyone can help me figure out.
Nobody can debug pictures. You need to provide the real files.
But it seems that newuser cannot attach files to reply. So is there another way for me to send the file to you?
LAMMPS data file via write_data, version 4 May 2022, timestep = 4504000
8505 atoms
45 atom types
8442 bonds
1 bond types
0 100 xlo xhi
0 100 ylo yhi
0 440 zlo zhi
Masses
1 131.2
2 57.05
3 128.2
4 101.1
5 156.2
6 71.08
7 115.1
8 129.1
9 163.2
10 99.06999999999999
11 113.2
12 128.1
13 186.2
14 147.2
15 87.08
16 137.1
17 114.1
18 97.12
19 103.1
20 113.2
21 131.2
22 57.05
23 128.2
24 101.1
25 156.2
26 71.08
27 115.1
28 129.1
29 163.2
30 99.06999999999999
31 113.2
32 128.1
33 186.2
34 147.2
35 87.08
36 137.1
37 114.1
38 97.12
39 103.1
40 113.2
Atoms # full
553 23 15 0 13.40157108055935 11.132695224281415 132.81872804278086 -1 1 0
510 23 12 0 10.694022676871567 16.026618746390806 134.862270654719 -1 1 0
554 23 15 0 14.254341811797012 14.841783979035302 133.69284389499478 -1 1 0
344 23 6 0 16.507595181432983 6.939135566293475 138.1303561204558 -1 1 0
329 23 15 0 15.029195695363455 8.208952671684777 134.30814898145127 -1 1 0
511 23 5 0.75 9.952061697041481 17.984318114997713 137.81163946812052 -1 1 0
568 23 15 0 19.303029627175583 5.697290686962759 135.97071082079026 -1 1 0
4360 23 6 0 19.14839421549409 5.864558197682976 132.36116573915865 -1 1 0
4359 23 1 0 21.014449331642172 9.255761393037014 131.7497440168174 -1 1 0
4248 10 5 0.75 13.779996420195424 38.38142915381347 133.47912899663172 0 2 0
These codes are part of my sturcture.data file. And I found if I delete the Masses part of the structure file, the read_data command works well
This data file is broken and should not work. Its header says there are 45 atom types, but the Masses section has only 40 entries. That is wrong. That also means, that you are giving us incorrect information and the two data files you are using on the two different machines cannot be the same.
No surprise.
Thank you,akohlmey. I has solved that problem. It is truly because of what you said.