diff --git a/python/examples/gui.py b/python/examples/gui.py index ac96448b43..f1090b20d7 100755 --- a/python/examples/gui.py +++ b/python/examples/gui.py @@ -7,8 +7,7 @@ # in.lammps = LAMMPS input script # Nfreq = query GUI every this many steps -# IMPORTANT: this script cannot yet be run in parallel via Pypar, -# because I can't seem to do a MPI-style broadcast in Pypar +# IMPORTANT: this script cannot yet be run in parallel from __future__ import print_function import sys,time @@ -39,10 +38,6 @@ infile = sys.argv[1] nfreq = int(sys.argv[2]) me = 0 -# uncomment if running in parallel via Pypar -#import pypar -#me = pypar.rank() -#nprocs = pypar.size() from lammps import lammps lmp = lammps() @@ -110,7 +105,3 @@ while 1: if runflag: running = 1 else: running = 0 time.sleep(0.01) - -# uncomment if running in parallel via Pypar -#print("Proc %d out of %d procs has" % (me,nprocs), lmp) -#pypar.finalize()