Skip to content

Commit

Permalink
Merge 1fc47da into 524ff98
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Jul 14, 2019
2 parents 524ff98 + 1fc47da commit 6a768b3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyiron/lammps/interactive.py
Expand Up @@ -32,6 +32,7 @@ def __init__(self, project, job_name):
self._interactive_prism = None
self._interactive_run_command = None
self._interactive_grand_canonical = True
self._disable_lmp_output = False
self.interactive_cache = {'cells': [],
'energy_pot': [],
'energy_tot': [],
Expand Down Expand Up @@ -180,7 +181,10 @@ def _reset_interactive_run_command(self):
def interactive_initialize_interface(self):
if self.server.run_mode.interactive and self.server.cores == 1:
lammps = getattr(importlib.import_module('lammps'), 'lammps')
self._interactive_library = lammps()
if self._disable_lmp_output:
self._interactive_library = lammps(cmdargs=['-screen', 'lmpscreen.log'])
else:
self._interactive_library = lammps()
else:
self._create_working_directory()
self._interactive_library = LammpsLibrary(cores=self.server.cores, working_directory=self.working_directory)
Expand Down

0 comments on commit 6a768b3

Please sign in to comment.