From 71553cf7328eabcf7936d8e0de94e7175f56545d Mon Sep 17 00:00:00 2001
From: Richard Berger <richard.berger@temple.edu>
Date: Mon, 31 Jul 2017 13:53:41 -0600
Subject: [PATCH] Fix PyLammps regression after output.cpp change

---
 python/lammps.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/python/lammps.py b/python/lammps.py
index d428a097a8..a512efdcda 100644
--- a/python/lammps.py
+++ b/python/lammps.py
@@ -556,9 +556,10 @@ def get_thermo_data(output):
     runs = []
     columns = []
     in_run = False
+    current_run = {}
 
     for line in lines:
-        if line.startswith("Memory usage per processor"):
+        if line.startswith("Per MPI rank memory allocation"):
             in_run = True
         elif in_run and len(columns) == 0:
             # first line after memory usage are column names
-- 
GitLab