Fix PyLammps regression after output.cpp change
This commit is contained in:
@ -556,9 +556,10 @@ def get_thermo_data(output):
|
|||||||
runs = []
|
runs = []
|
||||||
columns = []
|
columns = []
|
||||||
in_run = False
|
in_run = False
|
||||||
|
current_run = {}
|
||||||
|
|
||||||
for line in lines:
|
for line in lines:
|
||||||
if line.startswith("Memory usage per processor"):
|
if line.startswith("Per MPI rank memory allocation"):
|
||||||
in_run = True
|
in_run = True
|
||||||
elif in_run and len(columns) == 0:
|
elif in_run and len(columns) == 0:
|
||||||
# first line after memory usage are column names
|
# first line after memory usage are column names
|
||||||
|
|||||||
Reference in New Issue
Block a user