I hope this message finds you well. I have a couple of questions regarding the use of the restart command:
Are force field parameters (such as Lennard-Jones parameters and bond coefficients) stored in the restart file?
When running simulations on a supercomputer using the restart command, do additional configurations need to be set? I have successfully run my restart file on my personal computer, but encountered errors on the supercomputer related to unset pair coefficients, despite having already defined them.
I appreciate any insights or guidance you can provide on these matters.
Yes, I used the same version of LAMMPS both to create and read the restart file. I also reviewed the documentation detailing the information included (and not included) in the restart file, confirming that force field styles and coefficients are supposed to be included. However, upon running the simulation again, I encountered the following error:
ERROR: All pair coeffs are not set (…/pair.cpp:231)
Here is the hybrid pair style configuration I used:
What you see is documented behavior. You have to improve your skills in reading the documentation and paying more attention to details.
Also, after so many posts and seeing how often we complain about people not properly quoting text, you should have learned how to do it and know that you will be singled out for not following the guidelines.
This is not correct. Please see the read_restart and pair style hybrid documentation. For the latter, I already provided the link to the doc section with restart info where it explicitly says that the pair_style command line is stored but the pair_coeff commands not.
The read_restart docs say:
force field coefficients (pair, bond, angle, etc) in some cases (see below)
and
Note that some force field styles (pair, bond, angle, etc) do not store their coefficient info in restart files. Typically these are many-body or tabulated potentials which read their parameters from separate files. In these cases you will need to re-specify the pair_coeff, bond_coeff, etc commands in your restart input script. The doc pages for individual force field styles mention if this is the case. This is also true of pair_style hybrid (bond hybrid, angle hybrid, etc) commands; they do not store coefficient info.