From 4de7694bbe4e3e0c2076c4b98ac6edf79dc90fd3 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Sun, 20 Aug 2023 22:03:34 -0400 Subject: [PATCH] add removed MPIIO dump styles to deprecated dump styles --- src/dump_deprecated.cpp | 3 +++ src/dump_deprecated.h | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/src/dump_deprecated.cpp b/src/dump_deprecated.cpp index 64d50fff6a..d4e68bc8cb 100644 --- a/src/dump_deprecated.cpp +++ b/src/dump_deprecated.cpp @@ -27,6 +27,9 @@ DumpDeprecated::DumpDeprecated(LAMMPS *lmp, int narg, char **arg) : Dump(lmp, na if (my_style == "DEPRECATED") { if (lmp->comm->me == 0) utils::logmesg(lmp, "\nDump style 'DEPRECATED' is a dummy style\n\n"); return; + } else if (utils::strmatch(my_style, "/mpiio$")) { + utils::logmesg(lmp, "\nThe MPIIO and thus dump style {} have been removed from LAMMPS.\n\n", + my_style); } error->all(FLERR, "This dump style is no longer available"); } diff --git a/src/dump_deprecated.h b/src/dump_deprecated.h index 4a081e8854..dbe8f81f2b 100644 --- a/src/dump_deprecated.h +++ b/src/dump_deprecated.h @@ -15,6 +15,10 @@ // clang-format off // list all deprecated and removed dump styles here DumpStyle(DEPRECATED,DumpDeprecated); +DumpStyle(atom/mpiio,DumpDeprecated); +DumpStyle(cfg/mpiio,DumpDeprecated); +DumpStyle(custom/mpiio,DumpDeprecated); +DumpStyle(xyz/mpiio,DumpDeprecated); // clang-format on #else