require version newer than 2 Aug 2023 for LAMMPS GUI 1.5.9

This commit is contained in:
Axel Kohlmeyer
2023-10-19 23:21:18 -04:00
parent 1de15c38bf
commit 0f11a9dd70

View File

@ -1432,12 +1432,12 @@ void LammpsGui::start_lammps()
lammps.open(narg, args);
lammpsstatus->show();
// must have at least 2 August 2023 version of LAMMPS
// must have a version newer than the 2 August 2023 release of LAMMPS
// TODO: must update this check before next feature release
if (lammps.version() < 20230802) {
if (lammps.version() <= 20230802) {
QMessageBox::critical(this, "Incompatible LAMMPS Version",
"LAMMPS-GUI version " LAMMPS_GUI_VERSION " requires\n"
"LAMMPS version 2 August 2023 or later");
"a LAMMPS version more recent than 2 August 2023");
exit(1);
}