Skip to content

Commit

Permalink
Merge pull request #503 from timcallow/lammps_warning
Browse files Browse the repository at this point in the history
Add warning for lammps pre-processing
  • Loading branch information
RandomDefaultUser authored Feb 20, 2024
2 parents f1ba8d2 + 975c791 commit 1836e41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mala/descriptors/descriptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,9 @@ def _setup_lammps(self, nx, ny, nz, outdir, lammps_dict,
"""
from lammps import lammps

parallel_warn("Do not initialize more than one pre-processing calculation\
in the same directory at the same time. Data may be over-written.")

if self.parameters._configuration["mpi"] and \
self.parameters._configuration["gpu"]:
raise Exception("LAMMPS can currently only work with multiple "
Expand Down

0 comments on commit 1836e41

Please sign in to comment.