a) please properly quote any cut-n-paste text with triple backquotes (```) as it otherwise becomes very difficult to read since the forum software otherwise will interpret the special characters as markup.
b) please provide all relevant details (LAMMPS version, compiler version, input files that produce the error, command lines etc.).
If you have not done so, please check out the forum guidelines where this is explained in details and the motivation for it and some more, related things (Please Read This First: Guidelines and Suggestions for posting LAMMPS questions)