Use "Contact the LAMMPS developers" consistently and add an errorurl() to such errors

This commit is contained in:
Axel Kohlmeyer
2025-03-27 19:04:32 -04:00
parent c3309bc0b3
commit 8949a6262d
6 changed files with 43 additions and 11 deletions

View File

@ -308,7 +308,8 @@ void Comm::modify_params(int narg, char **arg)
} else if (strcmp(arg[iarg+1],"multi/old") == 0) {
if (me == 0)
error->warning(FLERR, "Comm mode 'multi/old' is deprecated and will be removed soon.\n"
"Contact the LAMMPS developers if that creates problems for you.");
"Please contact the LAMMPS developers if you cannot use mode 'multi'."
+ utils::errorurl(35));
if (neighbor->style == Neighbor::MULTI)
error->all(FLERR, iarg+1,
"Cannot use comm mode 'multi/old' with 'multi' style neighbor lists");
@ -372,7 +373,8 @@ void Comm::modify_params(int narg, char **arg)
double cut;
if (me == 0)
error->warning(FLERR, "Comm mode 'multi/old' is deprecated and will be removed soon.\n"
"Contact the LAMMPS developers if that creates problems for you.");
"Please contact the LAMMPS developers if you cannot use mode 'multi'."
+ utils::errorurl(35));
if (mode == Comm::SINGLE)
error->all(FLERR, iarg, "Use cutoff keyword to set cutoff in single mode");
if (mode == Comm::MULTI)